gc_ruboconfig 4.4.2 → 5.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/capybara.yml +16 -0
  3. data/rails.yml +4 -0
  4. data/rubocop.yml +1 -14
  5. metadata +40 -11
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d7d9b1cc35875579149b6af6e38baa084ca3b0f00750f8f7b15ce157e09f8f0d
4
- data.tar.gz: fb36e650ba6c23aa825305aae9f5dd95f8c2be78a117a60cb1c89a0b89166921
3
+ metadata.gz: 56fc9b47dd827c11a774f4bd742f613452f971da27885ccf8fd94ef0fc6fe1ae
4
+ data.tar.gz: b1707bcf11a66d13c0f44c0a06f4b751b78236b4b2124214e56c614e47c13b5b
5
5
  SHA512:
6
- metadata.gz: cbc6b5491d7f4b7bebe2f4879351e64140eb0b803ee023b49e85a66acf2937628a8d2ae5164cbede618347882fad86c431176f212b5c64e1f9a4b124a0e84c5d
7
- data.tar.gz: 99785d5c13064d3164c5ce7c2979e9077537e16952ee20f9656677718edd63ba0b12631d45dc45d5d1c9205041011bc40744c2f6ba90f6b64d7301e9e48dd749
6
+ metadata.gz: 90988a5afb17429470f6f9e4b3d47ae0bb224a89ffa56caaee3e6300ab5d55373767c68c104c80103719b122ee7f2e6b4c875e74c3e85a11cba065cfd66f2192
7
+ data.tar.gz: 46f5869760e993db6e1c8754df9e111cfb6646f0acc0ab26129dc30dd941a4c9c898ee9f6a09e77179a2ae696376b627a7901e733064e3ada0193eae89b72d48
data/capybara.yml ADDED
@@ -0,0 +1,16 @@
1
+ require:
2
+ - rubocop-capybara
3
+
4
+ # new in 2.13
5
+ Capybara/SpecificFinders:
6
+ Enabled: true
7
+
8
+ # new in 2.12
9
+ Capybara/SpecificMatcher:
10
+ Enabled: true
11
+
12
+ Capybara/NegationMatcher: # new in 2.14
13
+ Enabled: true
14
+
15
+ Capybara/SpecificActions: # new in 2.14
16
+ Enabled: false
data/rails.yml CHANGED
@@ -1,5 +1,6 @@
1
1
  require:
2
2
  - rubocop-rails
3
+ - rubocop-rspec_rails
3
4
 
4
5
  Rails/AddColumnIndex:
5
6
  Enabled: false
@@ -163,3 +164,6 @@ Rails/IgnoredColumnsAssignment: # new in 2.17
163
164
  # Only relevant for Rails < 6.1
164
165
  Rails/WhereNotWithMultipleConditions: # new in 2.17
165
166
  Enabled: false
167
+
168
+ Rails/WhereRange: # New in 2.25
169
+ Enabled: false
data/rubocop.yml CHANGED
@@ -1,6 +1,7 @@
1
1
  require:
2
2
  - rubocop-rspec
3
3
  - rubocop-performance
4
+ - rubocop-factory_bot
4
5
 
5
6
  AllCops:
6
7
  DisplayCopNames: true
@@ -642,14 +643,6 @@ RSpec/ClassCheck:
642
643
  RSpec/NoExpectationExample:
643
644
  Enabled: false
644
645
 
645
- # new in 2.13
646
- Capybara/SpecificFinders:
647
- Enabled: true
648
-
649
- # new in 2.12
650
- Capybara/SpecificMatcher:
651
- Enabled: true
652
-
653
646
  Lint/DuplicateMagicComment: # new in 1.37
654
647
  Enabled: true
655
648
 
@@ -662,12 +655,6 @@ Style/RedundantStringEscape: # new in 1.37
662
655
  RSpec/SortMetadata: # new in 2.14
663
656
  Enabled: true
664
657
 
665
- Capybara/NegationMatcher: # new in 2.14
666
- Enabled: true
667
-
668
- Capybara/SpecificActions: # new in 2.14
669
- Enabled: false
670
-
671
658
  # Seems to be buggy, causes an infinite loop for `subjects` named `create`
672
659
  FactoryBot/ConsistentParenthesesStyle: # new in 2.14
673
660
  Enabled: false
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gc_ruboconfig
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.4.2
4
+ version: 5.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - GoCardless
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-10 00:00:00.000000000 Z
11
+ date: 2024-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -16,56 +16,84 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 1.50.0
19
+ version: '1.63'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 1.50.0
26
+ version: '1.63'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rubocop-factory_bot
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: 2.26.1
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: 2.26.1
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: rubocop-performance
29
43
  requirement: !ruby/object:Gem::Requirement
30
44
  requirements:
31
45
  - - ">="
32
46
  - !ruby/object:Gem::Version
33
- version: '1.15'
47
+ version: '1.21'
34
48
  type: :runtime
35
49
  prerelease: false
36
50
  version_requirements: !ruby/object:Gem::Requirement
37
51
  requirements:
38
52
  - - ">="
39
53
  - !ruby/object:Gem::Version
40
- version: '1.15'
54
+ version: '1.21'
41
55
  - !ruby/object:Gem::Dependency
42
56
  name: rubocop-rails
43
57
  requirement: !ruby/object:Gem::Requirement
44
58
  requirements:
45
59
  - - ">="
46
60
  - !ruby/object:Gem::Version
47
- version: 2.17.2
61
+ version: 2.25.0
48
62
  type: :runtime
49
63
  prerelease: false
50
64
  version_requirements: !ruby/object:Gem::Requirement
51
65
  requirements:
52
66
  - - ">="
53
67
  - !ruby/object:Gem::Version
54
- version: 2.17.2
68
+ version: 2.25.0
55
69
  - !ruby/object:Gem::Dependency
56
70
  name: rubocop-rspec
57
71
  requirement: !ruby/object:Gem::Requirement
58
72
  requirements:
59
73
  - - ">="
60
74
  - !ruby/object:Gem::Version
61
- version: 2.22.0
75
+ version: 3.0.1
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: 3.0.1
83
+ - !ruby/object:Gem::Dependency
84
+ name: rubocop-rspec_rails
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: 2.30.0
62
90
  type: :runtime
63
91
  prerelease: false
64
92
  version_requirements: !ruby/object:Gem::Requirement
65
93
  requirements:
66
94
  - - ">="
67
95
  - !ruby/object:Gem::Version
68
- version: 2.22.0
96
+ version: 2.30.0
69
97
  description:
70
98
  email:
71
99
  - developers@gocardless.com
@@ -73,6 +101,7 @@ executables: []
73
101
  extensions: []
74
102
  extra_rdoc_files: []
75
103
  files:
104
+ - capybara.yml
76
105
  - rails.yml
77
106
  - rubocop.yml
78
107
  homepage: https://github.com/gocardless/ruboconfig
@@ -94,7 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
94
123
  - !ruby/object:Gem::Version
95
124
  version: '0'
96
125
  requirements: []
97
- rubygems_version: 3.4.10
126
+ rubygems_version: 3.5.9
98
127
  signing_key:
99
128
  specification_version: 4
100
129
  summary: GoCardless's shared Rubocop configuration, conforming to our house style