caliber 0.40.0 → 0.42.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: 7d4c6b3ee391745b5ba643b482aeaf3d35af811f1f2fcb468125c9bead42bfde
4
- data.tar.gz: c7c20cb4890568e40801219e906fbdfa781dceebdc847f358acc812e99a8961c
3
+ metadata.gz: 01fe7d1183b2055cdf0860450d3878043e9c0d0fc10f9abe1c7c6a66f9044a20
4
+ data.tar.gz: 51800612004184cd9943b5ccd9a3d6ba1478a73f6496973d3fb7dd32fe06660c
5
5
  SHA512:
6
- metadata.gz: ca2a22f98ad6cfd105993a991a18931f108161c2f4e49a62cb9ff523fc466e9cae12b76a42aa6d2a0423cf34ae6364bc572210ccb60993d126553d593438b67d
7
- data.tar.gz: 1195e73d6c28bb3c59040e85876312e870116d70b0ff8c2f7f20f5e12d583d1e2522935082775090c4e1845b0b054b135688fc2ba80f6cb6f904b8bdb20bdc01
6
+ metadata.gz: 6a52800ecb44ff5004c98fb6c85da46cb46b0b8344e112f83d9f012798de46c1fc7c1816b5a0b1042ba0b8777d044916acc9012c854d78135afca7e35c249011
7
+ data.tar.gz: 03eed2dccda5f7126ca435d19bd8e35a218fe799422ec3ec9279a4bd63f9e4d3741caf3fb51d1ae398a02cb91a8014c25dd485bcba14ee42d62496ba558fc724
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.40.0"
5
+ spec.version = "0.42.0"
6
6
  spec.authors = ["Brooke Kuhlmann"]
7
7
  spec.email = ["brooke@alchemists.io"]
8
8
  spec.homepage = "https://alchemists.io/projects/caliber"
@@ -23,7 +23,8 @@ Gem::Specification.new do |spec|
23
23
  spec.cert_chain = [Gem.default_cert_path]
24
24
 
25
25
  spec.required_ruby_version = "~> 3.2"
26
- spec.add_dependency "rubocop", "~> 1.56"
26
+ spec.add_dependency "rubocop", "~> 1.57"
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
@@ -0,0 +1,6 @@
1
+ require: rubocop-disable_syntax
2
+
3
+ Style/DisableSyntax:
4
+ DisableSyntax:
5
+ - safe_navigation
6
+ - numbered_parameters
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/config/ruby.yml CHANGED
@@ -377,6 +377,8 @@ Style/Send:
377
377
  Enabled: true
378
378
  Style/SignalException:
379
379
  EnforcedStyle: semantic
380
+ Style/SingleLineDoEndBlock:
381
+ Enabled: true
380
382
  Style/StabbyLambdaParentheses:
381
383
  EnforcedStyle: require_no_parentheses
382
384
  Style/StaticClass:
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.40.0
4
+ version: 0.42.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-20 00:00:00.000000000 Z
38
+ date: 2023-10-11 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: rubocop
@@ -43,14 +43,28 @@ dependencies:
43
43
  requirements:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
- version: '1.56'
46
+ version: '1.57'
47
47
  type: :runtime
48
48
  prerelease: false
49
49
  version_requirements: !ruby/object:Gem::Requirement
50
50
  requirements:
51
51
  - - "~>"
52
52
  - !ruby/object:Gem::Version
53
- version: '1.56'
53
+ version: '1.57'
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