caliber 0.39.0 → 0.41.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ae091d883296a5af91f3236063d31eb977490d38ad412f3b796764eedbbb248d
4
- data.tar.gz: d0eebec2f812e84e8e6871650dbbe2c8aaecb2c938e1663178b94da626518d00
3
+ metadata.gz: b4d78ab07fc98ecda18813a160578e43fd864c064e156e61d2bba3db931b1b5b
4
+ data.tar.gz: 0bdde752dc43ea6132f0356d0f83a0132a69eaeea7405420f071303720ea3b40
5
5
  SHA512:
6
- metadata.gz: 007a0eda9a0dd85da51a4c7478d9878fb220acc4d5904eb03dd43146171c2348e43880b0ee452abdf7a268b66b036a7c8f0cb1184c94e67f152d6508d55246fd
7
- data.tar.gz: eabd665d720a916c878565a5333ac6768beead09755d9b979753ecbebdec71f3c5bccc81811934a3e3c1fc60c724430d164170c8ce7fc22fd90ffd3ad49d4975
6
+ metadata.gz: ba896478798a26727c39e37cc3bfe2139cf4c0522ac28e5be89454562ee475a78caaa879164a4521c27405c7244f13f427b77d6ed081ceaad6d185e6e6efd0ac
7
+ data.tar.gz: d3d0019114b20ac35fee6044b93d425647a20ae1cdaa772c30fa515c9167e9a31dd9bd2ca7010eeaae447908d9cdf0a22ac4f15a04f5c953b00773e162bc6cbf
checksums.yaml.gz.sig CHANGED
Binary file
data/README.adoc CHANGED
@@ -4,6 +4,7 @@
4
4
 
5
5
  :rubocop_link: link:https://docs.rubocop.org/rubocop[RuboCop]
6
6
  :rubocop_capybara_link: link:https://docs.rubocop.org/rubocop-capybara[RuboCop Capybara]
7
+ :rubocop_disable_syntax_link: link:https://github.com/fatkodima/rubocop-disable_syntax[RuboCop Disable Syntax]
7
8
  :rubocop_factory_bot_link: link:https://docs.rubocop.org/rubocop-factory_bot/[RuboCop FactoryBot]
8
9
  :rubocop_packaging_link: link:https://docs.rubocop.org/rubocop-packaging[RuboCop Packaging]
9
10
  :rubocop_performance_link: link:https://docs.rubocop.org/rubocop-performance[RuboCop Performance]
@@ -25,6 +26,7 @@ toc::[]
25
26
  * Provides a global configuration for the following code quality gems:
26
27
  ** {rubocop_link}
27
28
  ** {rubocop_capybara_link}
29
+ ** {rubocop_disable_syntax_link}
28
30
  ** {rubocop_factory_bot_link}
29
31
  ** {rubocop_packaging_link}
30
32
  ** {rubocop_performance_link}
@@ -93,6 +95,7 @@ inherit_gem:
93
95
  caliber:
94
96
  - config/ruby.yml
95
97
  - config/capybara.yml
98
+ - config/disable_syntax.yml
96
99
  - config/factory_bot.yml
97
100
  - config/packaging.yml
98
101
  - config/performance.yml
@@ -118,6 +121,7 @@ The above will require and load the configurations for following gems:
118
121
 
119
122
  * {rubocop_link}
120
123
  * {rubocop_capybara_link}
124
+ * {rubocop_disable_syntax_link}
121
125
  * {rubocop_factory_bot_link}
122
126
  * {rubocop_packaging_link}
123
127
  * {rubocop_performance_link}
@@ -151,6 +155,17 @@ The above will only require the {rubocop_capybara_link} gem _and_ load the assoc
151
155
 
152
156
  💡 This is a dependency of {rubocop_rspec_link} so doesn't need to be directly required if already requiring {rubocop_rspec_link}.
153
157
 
158
+ *Disable Syntax*
159
+
160
+ [source,yaml]
161
+ ----
162
+ inherit_gem:
163
+ caliber:
164
+ - config/disable_syntax.yml
165
+ ----
166
+
167
+ The above will only require the {rubocop_disable_syntax_link} gem _and_ load the associated configuration.
168
+
154
169
  *FactoryBot*
155
170
 
156
171
  [source,yaml]
@@ -238,6 +253,7 @@ If importing all configurations from `all.yml` is too much -- and much like you
238
253
  inherit_from:
239
254
  - https://raw.githubusercontent.com/bkuhlmann/caliber/main/config/ruby.yml
240
255
  - https://raw.githubusercontent.com/bkuhlmann/caliber/main/config/capybara.yml
256
+ - https://raw.githubusercontent.com/bkuhlmann/caliber/main/config/disable_syntax.yml
241
257
  - https://raw.githubusercontent.com/bkuhlmann/caliber/main/config/factory_bot.yml
242
258
  - https://raw.githubusercontent.com/bkuhlmann/caliber/main/config/packaging.yml
243
259
  - https://raw.githubusercontent.com/bkuhlmann/caliber/main/config/performance.yml
@@ -252,6 +268,7 @@ Lastly, when using this YAML import approach, you'll not benefit from having all
252
268
 
253
269
  * {rubocop_link}
254
270
  * {rubocop_capybara_link}
271
+ * {rubocop_disable_syntax_link}
255
272
  * {rubocop_factory_bot_link}
256
273
  * {rubocop_packaging_link}
257
274
  * {rubocop_performance_link}
@@ -304,6 +321,7 @@ When both RuboCop and Caliber are in sync, the following will be output:
304
321
  ....
305
322
  RUBY: ✓
306
323
  CAPYBARA: ✓
324
+ DISABLE_SYNTAX: ✓
307
325
  FACTORY_BOT: ✓
308
326
  PACKAGING: ✓
309
327
  PERFORMANCE: ✓
@@ -320,6 +338,7 @@ RUBY:
320
338
  * Lint/BinaryOperatorWithIdenticalOperands
321
339
  * Lint/ConstantDefinitionInBlock
322
340
  CAPYBARA: ✓
341
+ DISABLE_SYNTAX: ✓
323
342
  FACTORY_BOT: ✓
324
343
  PACKAGING: ✓
325
344
  PERFORMANCE: ✓
data/caliber.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "caliber"
5
- spec.version = "0.39.0"
5
+ spec.version = "0.41.0"
6
6
  spec.authors = ["Brooke Kuhlmann"]
7
7
  spec.email = ["brooke@alchemists.io"]
8
8
  spec.homepage = "https://alchemists.io/projects/caliber"
@@ -24,6 +24,7 @@ Gem::Specification.new do |spec|
24
24
 
25
25
  spec.required_ruby_version = "~> 3.2"
26
26
  spec.add_dependency "rubocop", "~> 1.56"
27
+ spec.add_dependency "rubocop-disable_syntax", "~> 0.1"
27
28
  spec.add_dependency "rubocop-packaging", "~> 0.5"
28
29
  spec.add_dependency "rubocop-performance", "~> 1.19"
29
30
  spec.add_dependency "rubocop-rake", "~> 0.6"
data/config/all.yml CHANGED
@@ -1,6 +1,7 @@
1
1
  inherit_from:
2
2
  - ruby.yml
3
3
  - capybara.yml
4
+ - disable_syntax.yml
4
5
  - factory_bot.yml
5
6
  - packaging.yml
6
7
  - performance.yml
data/config/capybara.yml CHANGED
@@ -1,9 +1,15 @@
1
1
  require: rubocop-capybara
2
2
 
3
+ Capybara/ClickLinkOrButtonStyle:
4
+ Enabled: true
3
5
  Capybara/MatchStyle:
4
6
  Enabled: true
5
7
  Capybara/NegationMatcher:
6
8
  Enabled: true
9
+ Capybara/RSpec/HaveSelector:
10
+ Enabled: true
11
+ Capybara/RSpec/PredicateMatcher:
12
+ Enabled: true
7
13
  Capybara/SpecificActions:
8
14
  Enabled: true
9
15
  Capybara/SpecificFinders:
@@ -0,0 +1,6 @@
1
+ require: rubocop-disable_syntax
2
+
3
+ Style/DisableSyntax:
4
+ DisableSyntax:
5
+ - safe_navigation
6
+ - numbered_parameters
@@ -9,6 +9,8 @@ FactoryBot/FactoryAssociationWithStrategy:
9
9
  Enabled: true
10
10
  FactoryBot/FactoryNameStyle:
11
11
  Enabled: true
12
+ FactoryBot/IdSequence:
13
+ Enabled: true
12
14
  FactoryBot/RedundantFactoryOption:
13
15
  Enabled: true
14
16
  FactoryBot/SyntaxMethods:
data/config/rspec.yml CHANGED
@@ -56,6 +56,8 @@ RSpec/ExcessiveDocstringSpacing:
56
56
  Enabled: true
57
57
  RSpec/Eq:
58
58
  Enabled: true
59
+ RSpec/FilePath:
60
+ Enabled: false
59
61
  RSpec/IdenticalEqualityAssertion:
60
62
  Enabled: true
61
63
  RSpec/IndexedLet:
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: caliber
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.39.0
4
+ version: 0.41.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brooke Kuhlmann
@@ -35,7 +35,7 @@ cert_chain:
35
35
  3n5C8/6Zh9DYTkpcwPSuIfAga6wf4nXc9m6JAw8AuMLaiWN/r/2s4zJsUHYERJEu
36
36
  gZGm4JqtuSg8pYjPeIJxS960owq+SfuC+jxqmRA54BisFCv/0VOJi7tiJVY=
37
37
  -----END CERTIFICATE-----
38
- date: 2023-09-08 00:00:00.000000000 Z
38
+ date: 2023-09-29 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: rubocop
@@ -51,6 +51,20 @@ dependencies:
51
51
  - - "~>"
52
52
  - !ruby/object:Gem::Version
53
53
  version: '1.56'
54
+ - !ruby/object:Gem::Dependency
55
+ name: rubocop-disable_syntax
56
+ requirement: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - "~>"
59
+ - !ruby/object:Gem::Version
60
+ version: '0.1'
61
+ type: :runtime
62
+ prerelease: false
63
+ version_requirements: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - "~>"
66
+ - !ruby/object:Gem::Version
67
+ version: '0.1'
54
68
  - !ruby/object:Gem::Dependency
55
69
  name: rubocop-packaging
56
70
  requirement: !ruby/object:Gem::Requirement
@@ -135,6 +149,7 @@ files:
135
149
  - caliber.gemspec
136
150
  - config/all.yml
137
151
  - config/capybara.yml
152
+ - config/disable_syntax.yml
138
153
  - config/factory_bot.yml
139
154
  - config/packaging.yml
140
155
  - config/performance.yml
@@ -169,7 +184,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
169
184
  - !ruby/object:Gem::Version
170
185
  version: '0'
171
186
  requirements: []
172
- rubygems_version: 3.4.19
187
+ rubygems_version: 3.4.20
173
188
  signing_key:
174
189
  specification_version: 4
175
190
  summary: A global, high quality, and constantly updated RuboCop configuration.
metadata.gz.sig CHANGED
Binary file