caliber 0.34.0 → 0.36.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/README.adoc +19 -2
- data/caliber.gemspec +4 -3
- data/config/all.yml +1 -0
- data/config/packaging.yml +1 -0
- data/config/ruby.yml +18 -0
- data.tar.gz.sig +0 -0
- metadata +22 -7
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7c65b4797bd2d490fb7d40837679bfd24958fda258c3a7334571ad37be8044d7
|
4
|
+
data.tar.gz: 742682e324b018a355fd084cb14ff9e366d414e4cf6a9cf24f88f535cab5ad9e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4e05bac6d20d3236a61466be7c910b6cfba2554f8f48fbd09daa6cdae25f315f1f4f47166b2957e68d1263b8c2dc8c9b2425f627472a0567b62ed1f990568f2e
|
7
|
+
data.tar.gz: 99e17b9d27a5d3b7348efa659d6b1084cd7ba6cf9feb978bb7ae46aa089aeab99aa9456b177002ebdc7c8c995bfe3c376f2c577af9edab8e7a296d341f8da979
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/README.adoc
CHANGED
@@ -5,6 +5,7 @@
|
|
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
7
|
:rubocop_factory_bot_link: link:https://docs.rubocop.org/rubocop-factory_bot/[RuboCop FactoryBot]
|
8
|
+
:rubocop_packaging_link: link:https://docs.rubocop.org/rubocop-packaging[RuboCop Packaging]
|
8
9
|
:rubocop_performance_link: link:https://docs.rubocop.org/rubocop-performance[RuboCop Performance]
|
9
10
|
:rubocop_thread_safety_link: link:https://github.com/rubocop/rubocop-thread_safety[RuboCop Thread Safety]
|
10
11
|
:rubocop_rake_link: link:https://docs.rubocop.org/rubocop-rspec[RuboCop Rake]
|
@@ -25,6 +26,7 @@ toc::[]
|
|
25
26
|
** {rubocop_link}
|
26
27
|
** {rubocop_capybara_link}
|
27
28
|
** {rubocop_factory_bot_link}
|
29
|
+
** {rubocop_packaging_link}
|
28
30
|
** {rubocop_performance_link}
|
29
31
|
** {rubocop_thread_safety_link}
|
30
32
|
** {rubocop_rake_link}
|
@@ -33,8 +35,6 @@ toc::[]
|
|
33
35
|
== Requirements
|
34
36
|
|
35
37
|
* link:https://www.ruby-lang.org[Ruby]
|
36
|
-
* link:https://github.com/ruby/rake[Rake]
|
37
|
-
* link:https://rspec.info[RSpec]
|
38
38
|
|
39
39
|
== Setup
|
40
40
|
|
@@ -94,6 +94,7 @@ inherit_gem:
|
|
94
94
|
- config/ruby.yml
|
95
95
|
- config/capybara.yml
|
96
96
|
- config/factory_bot.yml
|
97
|
+
- config/packaging.yml
|
97
98
|
- config/performance.yml
|
98
99
|
- config/thread.yml
|
99
100
|
- config/rake.yml
|
@@ -118,6 +119,7 @@ The above will require and load the configurations for following gems:
|
|
118
119
|
* {rubocop_link}
|
119
120
|
* {rubocop_capybara_link}
|
120
121
|
* {rubocop_factory_bot_link}
|
122
|
+
* {rubocop_packaging_link}
|
121
123
|
* {rubocop_performance_link}
|
122
124
|
* {rubocop_thread_safety_link}
|
123
125
|
* {rubocop_rake_link}
|
@@ -162,6 +164,17 @@ The above will only require the {rubocop_factory_bot_link} gem _and_ load the as
|
|
162
164
|
|
163
165
|
💡 This is a dependency of {rubocop_rspec_link} so doesn't need to be directly required if already requiring {rubocop_rspec_link}.
|
164
166
|
|
167
|
+
*Packaging*
|
168
|
+
|
169
|
+
[source,yaml]
|
170
|
+
----
|
171
|
+
inherit_gem:
|
172
|
+
caliber:
|
173
|
+
- config/packaging.yml
|
174
|
+
----
|
175
|
+
|
176
|
+
The above will only require the {rubocop_packaging_link} gem _and_ load the associated configuration.
|
177
|
+
|
165
178
|
*Performance*
|
166
179
|
|
167
180
|
[source,yaml]
|
@@ -226,6 +239,7 @@ inherit_from:
|
|
226
239
|
- https://raw.githubusercontent.com/bkuhlmann/caliber/main/config/ruby.yml
|
227
240
|
- https://raw.githubusercontent.com/bkuhlmann/caliber/main/config/capybara.yml
|
228
241
|
- https://raw.githubusercontent.com/bkuhlmann/caliber/main/config/factory_bot.yml
|
242
|
+
- https://raw.githubusercontent.com/bkuhlmann/caliber/main/config/packaging.yml
|
229
243
|
- https://raw.githubusercontent.com/bkuhlmann/caliber/main/config/performance.yml
|
230
244
|
- https://raw.githubusercontent.com/bkuhlmann/caliber/main/config/thread.yml
|
231
245
|
- https://raw.githubusercontent.com/bkuhlmann/caliber/main/config/rake.yml
|
@@ -239,6 +253,7 @@ Lastly, when using this YAML import approach, you'll not benefit from having all
|
|
239
253
|
* {rubocop_link}
|
240
254
|
* {rubocop_capybara_link}
|
241
255
|
* {rubocop_factory_bot_link}
|
256
|
+
* {rubocop_packaging_link}
|
242
257
|
* {rubocop_performance_link}
|
243
258
|
* {rubocop_thread_safety_link}
|
244
259
|
* {rubocop_rake_link}
|
@@ -290,6 +305,7 @@ When both RuboCop and Caliber are in sync, the following will be output:
|
|
290
305
|
RUBY: ✓
|
291
306
|
CAPYBARA: ✓
|
292
307
|
FACTORY_BOT: ✓
|
308
|
+
PACKAGING: ✓
|
293
309
|
PERFORMANCE: ✓
|
294
310
|
THREAD: ✓
|
295
311
|
RAKE: ✓
|
@@ -305,6 +321,7 @@ RUBY:
|
|
305
321
|
* Lint/ConstantDefinitionInBlock
|
306
322
|
CAPYBARA: ✓
|
307
323
|
FACTORY_BOT: ✓
|
324
|
+
PACKAGING: ✓
|
308
325
|
PERFORMANCE: ✓
|
309
326
|
THREAD: ✓
|
310
327
|
RAKE: ✓
|
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.
|
5
|
+
spec.version = "0.36.0"
|
6
6
|
spec.authors = ["Brooke Kuhlmann"]
|
7
7
|
spec.email = ["brooke@alchemists.io"]
|
8
8
|
spec.homepage = "https://alchemists.io/projects/caliber"
|
@@ -23,8 +23,9 @@ 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.
|
27
|
-
spec.add_dependency "rubocop-
|
26
|
+
spec.add_dependency "rubocop", "~> 1.53"
|
27
|
+
spec.add_dependency "rubocop-packaging", "~> 0.5"
|
28
|
+
spec.add_dependency "rubocop-performance", "~> 1.18"
|
28
29
|
spec.add_dependency "rubocop-rake", "~> 0.6"
|
29
30
|
spec.add_dependency "rubocop-rspec", "~> 2.22"
|
30
31
|
spec.add_dependency "rubocop-thread_safety", "~> 0.5"
|
data/config/all.yml
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
require: rubocop-packaging
|
data/config/ruby.yml
CHANGED
@@ -132,6 +132,8 @@ Lint/IncompatibleIoSelectWithFiberScheduler:
|
|
132
132
|
Enabled: true
|
133
133
|
Lint/LambdaWithoutLiteralBlock:
|
134
134
|
Enabled: true
|
135
|
+
Lint/MixedCaseRange:
|
136
|
+
Enabled: true
|
135
137
|
Lint/NonAtomicFileOperation:
|
136
138
|
Enabled: true
|
137
139
|
Lint/NoReturnInBeginEndBlocks:
|
@@ -142,6 +144,8 @@ Lint/OrAssignmentToConstant:
|
|
142
144
|
Enabled: true
|
143
145
|
Lint/RedundantDirGlobSort:
|
144
146
|
Enabled: true
|
147
|
+
Lint/RedundantRegexpQuantifiers:
|
148
|
+
Enabled: true
|
145
149
|
Lint/RefinementImportMethods:
|
146
150
|
Enabled: true
|
147
151
|
Lint/RequireRangeParentheses:
|
@@ -330,16 +334,26 @@ Style/QuotedSymbols:
|
|
330
334
|
Enabled: true
|
331
335
|
Style/RedundantArgument:
|
332
336
|
Enabled: true
|
337
|
+
Style/RedundantArrayConstructor:
|
338
|
+
Enabled: true
|
333
339
|
Style/RedundantConstantBase:
|
334
340
|
Enabled: true
|
341
|
+
Style/RedundantCurrentDirectoryInPath:
|
342
|
+
Enabled: true
|
335
343
|
Style/RedundantDoubleSplatHashBraces:
|
336
344
|
Enabled: true
|
337
345
|
Style/RedundantEach:
|
338
346
|
Enabled: true
|
347
|
+
Style/RedundantFilterChain:
|
348
|
+
Enabled: true
|
339
349
|
Style/RedundantHeredocDelimiterQuotes:
|
340
350
|
Enabled: true
|
341
351
|
Style/RedundantLineContinuation:
|
342
352
|
Enabled: true
|
353
|
+
Style/RedundantRegexpArgument:
|
354
|
+
Enabled: true
|
355
|
+
Style/RedundantRegexpConstructor:
|
356
|
+
Enabled: true
|
343
357
|
Style/RedundantSelfAssignmentBranch:
|
344
358
|
Enabled: true
|
345
359
|
Style/RedundantStringEscape:
|
@@ -351,6 +365,8 @@ Style/ExactRegexpMatch:
|
|
351
365
|
Enabled: true
|
352
366
|
Style/ReturnNil:
|
353
367
|
Enabled: true
|
368
|
+
Style/ReturnNilInPredicateMethodDefinition:
|
369
|
+
Enabled: true
|
354
370
|
Style/RequireOrder:
|
355
371
|
Enabled: true
|
356
372
|
Style/SafeNavigation:
|
@@ -379,5 +395,7 @@ Style/SwapValues:
|
|
379
395
|
Enabled: true
|
380
396
|
Style/TopLevelMethodDefinition:
|
381
397
|
Enabled: true
|
398
|
+
Style/YAMLFileRead:
|
399
|
+
Enabled: true
|
382
400
|
Style/YodaExpression:
|
383
401
|
Enabled: true
|
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.
|
4
|
+
version: 0.36.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-
|
38
|
+
date: 2023-06-23 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: rubocop
|
@@ -43,28 +43,42 @@ dependencies:
|
|
43
43
|
requirements:
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: '1.
|
46
|
+
version: '1.53'
|
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.
|
53
|
+
version: '1.53'
|
54
|
+
- !ruby/object:Gem::Dependency
|
55
|
+
name: rubocop-packaging
|
56
|
+
requirement: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - "~>"
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '0.5'
|
61
|
+
type: :runtime
|
62
|
+
prerelease: false
|
63
|
+
version_requirements: !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
65
|
+
- - "~>"
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: '0.5'
|
54
68
|
- !ruby/object:Gem::Dependency
|
55
69
|
name: rubocop-performance
|
56
70
|
requirement: !ruby/object:Gem::Requirement
|
57
71
|
requirements:
|
58
72
|
- - "~>"
|
59
73
|
- !ruby/object:Gem::Version
|
60
|
-
version: '1.
|
74
|
+
version: '1.18'
|
61
75
|
type: :runtime
|
62
76
|
prerelease: false
|
63
77
|
version_requirements: !ruby/object:Gem::Requirement
|
64
78
|
requirements:
|
65
79
|
- - "~>"
|
66
80
|
- !ruby/object:Gem::Version
|
67
|
-
version: '1.
|
81
|
+
version: '1.18'
|
68
82
|
- !ruby/object:Gem::Dependency
|
69
83
|
name: rubocop-rake
|
70
84
|
requirement: !ruby/object:Gem::Requirement
|
@@ -122,6 +136,7 @@ files:
|
|
122
136
|
- config/all.yml
|
123
137
|
- config/capybara.yml
|
124
138
|
- config/factory_bot.yml
|
139
|
+
- config/packaging.yml
|
125
140
|
- config/performance.yml
|
126
141
|
- config/rake.yml
|
127
142
|
- config/rspec.yml
|
@@ -154,7 +169,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
154
169
|
- !ruby/object:Gem::Version
|
155
170
|
version: '0'
|
156
171
|
requirements: []
|
157
|
-
rubygems_version: 3.4.
|
172
|
+
rubygems_version: 3.4.14
|
158
173
|
signing_key:
|
159
174
|
specification_version: 4
|
160
175
|
summary: A global, high quality, and constantly updated RuboCop configuration.
|
metadata.gz.sig
CHANGED
Binary file
|