Skip to content

Commit 20b9845

Browse files
authored
Merge pull request #804 from sbueringer/pr-bump-flect
⚠ Bump github.com/gobuffalo/flect from 0.3.0 to 1.0.2
2 parents 65c0c2c + 4381386 commit 20b9845

File tree

6 files changed

+10
-8
lines changed

6 files changed

+10
-8
lines changed

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ go 1.20
44

55
require (
66
github.com/fatih/color v1.15.0
7-
github.com/gobuffalo/flect v0.3.0
7+
github.com/gobuffalo/flect v1.0.2
88
github.com/google/go-cmp v0.5.9
99
github.com/onsi/ginkgo v1.16.5
1010
github.com/onsi/gomega v1.27.6

go.sum

+4-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ github.com/go-logr/logr v1.2.3 h1:2DntVwHkVopvECVRSlL5PSo9eG+cAkDCuckLubN+rq0=
1313
github.com/go-logr/logr v1.2.3/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A=
1414
github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0/go.mod h1:fyg7847qk6SyHyPtNmDHnmrv/HOrqktSC+C9fM+CJOE=
1515
github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 h1:tfuBGBXKqDEevZMzYi5KSi8KkcZtzBcTgAUUtapy0OI=
16-
github.com/gobuffalo/flect v0.3.0 h1:erfPWM+K1rFNIQeRPdeEXxo8yFr/PO17lhRnS8FUrtk=
17-
github.com/gobuffalo/flect v0.3.0/go.mod h1:5pf3aGnsvqvCj50AVni7mJJF8ICxGZ8HomberC3pXLE=
16+
github.com/gobuffalo/flect v1.0.2 h1:eqjPGSo2WmjgY2XlpGwo2NXgL3RucAKo4k4qQMNA5sA=
17+
github.com/gobuffalo/flect v1.0.2/go.mod h1:A5msMlrHtLqh9umBSnvabjsMrCcCpAyzglnDvkbYKHs=
1818
github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q=
1919
github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q=
2020
github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
@@ -75,11 +75,13 @@ github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=
7575
github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
7676
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
7777
github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw=
78+
github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo=
7879
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
7980
github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA=
8081
github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
8182
github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=
8283
github.com/stretchr/testify v1.8.1 h1:w7B6lhMri9wdJUVmEZPGGhZzrYTPvgJArz7wNPgYKsk=
84+
github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
8385
github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
8486
github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
8587
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=

pkg/crd/gen_integration_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ var _ = Describe("CRD Generation proper defaulting", func() {
112112
expectedFileFoos, err := ioutil.ReadFile(filepath.Join(genDir, "bar.example.com_foos.yaml"))
113113
Expect(err).NotTo(HaveOccurred())
114114
expectedFileFoos = fixAnnotations(expectedFileFoos)
115-
expectedFileZoos, err := ioutil.ReadFile(filepath.Join(genDir, "zoo", "bar.example.com_zooes.yaml"))
115+
expectedFileZoos, err := ioutil.ReadFile(filepath.Join(genDir, "zoo", "bar.example.com_zoos.yaml"))
116116
Expect(err).NotTo(HaveOccurred())
117117
expectedFileZoos = fixAnnotations(expectedFileZoos)
118118

pkg/crd/testdata/gen/zoo/bar.example.com_zooes.v1beta1.yaml renamed to pkg/crd/testdata/gen/zoo/bar.example.com_zoos.v1beta1.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ spec:
1010
names:
1111
kind: Zoo
1212
listKind: ZooList
13-
plural: zooes
13+
plural: zoos
1414
singular: zoo
1515
scope: Namespaced
1616
validation:

pkg/crd/testdata/gen/zoo/bar.example.com_zooes.yaml renamed to pkg/crd/testdata/gen/zoo/bar.example.com_zoos.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ kind: CustomResourceDefinition
44
metadata:
55
annotations:
66
controller-gen.kubebuilder.io/version: (devel)
7-
name: zooes.bar.example.com
7+
name: zoos.bar.example.com
88
spec:
99
group: bar.example.com
1010
names:
1111
kind: Zoo
1212
listKind: ZooList
13-
plural: zooes
13+
plural: zoos
1414
singular: zoo
1515
scope: Namespaced
1616
versions:

pkg/crd/testdata/gen/zoo/zoo_types.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ limitations under the License.
1414
*/
1515

1616
//go:generate ../../../../.run-controller-gen.sh crd:crdVersions=v1beta1 paths=. output:dir=.
17-
//go:generate mv bar.example.com_zooes.yaml bar.example.com_zooes.v1beta1.yaml
17+
//go:generate mv bar.example.com_zoos.yaml bar.example.com_zoos.v1beta1.yaml
1818
//go:generate ../../../../.run-controller-gen.sh crd:crdVersions=v1 paths=. output:dir=.
1919

2020
// +groupName=bar.example.com

0 commit comments

Comments
 (0)