caliber 0.35.0 → 0.37.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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/rspec.yml +5 -0
- data/config/ruby.yml +12 -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: 2711fc0eceb82245f8a20f81eca272a768024bd9a2190b0ca155cece081b933c
|
|
4
|
+
data.tar.gz: 6ef9436d0bc9a29f82b9b6164235afb28aea3c60ecc42d7da66a5bc6817fe02b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 73c0cbaee9fdb8102e32f456662071e0414d2f3f639dc1a9266310d795c26611f433febb4c8dee449236946a7f20e43f8a79e720a70502de129a08dcd6f20bdc
|
|
7
|
+
data.tar.gz: e20bb6e475517f6660e3ccd93841015e02f63a8835debf18660cd39abf5a5745f7fd36b69d6189aa28bc084dcc9827e7dc02f49834477c9731483150099e301c
|
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.37.0"
|
|
6
6
|
spec.authors = ["Brooke Kuhlmann"]
|
|
7
7
|
spec.email = ["brooke@alchemists.io"]
|
|
8
8
|
spec.homepage = "https://alchemists.io/projects/caliber"
|
|
@@ -23,10 +23,11 @@ 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.
|
|
26
|
+
spec.add_dependency "rubocop", "~> 1.55"
|
|
27
|
+
spec.add_dependency "rubocop-packaging", "~> 0.5"
|
|
27
28
|
spec.add_dependency "rubocop-performance", "~> 1.18"
|
|
28
29
|
spec.add_dependency "rubocop-rake", "~> 0.6"
|
|
29
|
-
spec.add_dependency "rubocop-rspec", "~> 2.
|
|
30
|
+
spec.add_dependency "rubocop-rspec", "~> 2.23"
|
|
30
31
|
spec.add_dependency "rubocop-thread_safety", "~> 0.5"
|
|
31
32
|
|
|
32
33
|
spec.extra_rdoc_files = Dir["README*", "LICENSE*"]
|
data/config/all.yml
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require: rubocop-packaging
|
data/config/rspec.yml
CHANGED
|
@@ -64,6 +64,8 @@ RSpec/NoExpectationExample:
|
|
|
64
64
|
Enabled: true
|
|
65
65
|
RSpec/PendingWithoutReason:
|
|
66
66
|
Enabled: true
|
|
67
|
+
RSpec/ReceiveMessages:
|
|
68
|
+
Enabled: true
|
|
67
69
|
RSpec/RedundantAround:
|
|
68
70
|
Enabled: true
|
|
69
71
|
RSpec/Rails/AvoidSetupHook:
|
|
@@ -74,6 +76,9 @@ RSpec/Rails/InferredSpecType:
|
|
|
74
76
|
Enabled: true
|
|
75
77
|
RSpec/Rails/MinitestAssertions:
|
|
76
78
|
Enabled: true
|
|
79
|
+
RSpec/Rails/NegationBeValid:
|
|
80
|
+
Enabled: true
|
|
81
|
+
EnforcedStyle: be_invalid
|
|
77
82
|
RSpec/Rails/TravelAround:
|
|
78
83
|
Enabled: true
|
|
79
84
|
RSpec/SkipBlockInsideExample:
|
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:
|
|
@@ -334,6 +338,8 @@ Style/RedundantArrayConstructor:
|
|
|
334
338
|
Enabled: true
|
|
335
339
|
Style/RedundantConstantBase:
|
|
336
340
|
Enabled: true
|
|
341
|
+
Style/RedundantCurrentDirectoryInPath:
|
|
342
|
+
Enabled: true
|
|
337
343
|
Style/RedundantDoubleSplatHashBraces:
|
|
338
344
|
Enabled: true
|
|
339
345
|
Style/RedundantEach:
|
|
@@ -344,6 +350,8 @@ Style/RedundantHeredocDelimiterQuotes:
|
|
|
344
350
|
Enabled: true
|
|
345
351
|
Style/RedundantLineContinuation:
|
|
346
352
|
Enabled: true
|
|
353
|
+
Style/RedundantRegexpArgument:
|
|
354
|
+
Enabled: true
|
|
347
355
|
Style/RedundantRegexpConstructor:
|
|
348
356
|
Enabled: true
|
|
349
357
|
Style/RedundantSelfAssignmentBranch:
|
|
@@ -357,6 +365,8 @@ Style/ExactRegexpMatch:
|
|
|
357
365
|
Enabled: true
|
|
358
366
|
Style/ReturnNil:
|
|
359
367
|
Enabled: true
|
|
368
|
+
Style/ReturnNilInPredicateMethodDefinition:
|
|
369
|
+
Enabled: true
|
|
360
370
|
Style/RequireOrder:
|
|
361
371
|
Enabled: true
|
|
362
372
|
Style/SafeNavigation:
|
|
@@ -385,5 +395,7 @@ Style/SwapValues:
|
|
|
385
395
|
Enabled: true
|
|
386
396
|
Style/TopLevelMethodDefinition:
|
|
387
397
|
Enabled: true
|
|
398
|
+
Style/YAMLFileRead:
|
|
399
|
+
Enabled: true
|
|
388
400
|
Style/YodaExpression:
|
|
389
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.37.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-07-30 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.
|
|
46
|
+
version: '1.55'
|
|
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.55'
|
|
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
|
|
@@ -85,14 +99,14 @@ dependencies:
|
|
|
85
99
|
requirements:
|
|
86
100
|
- - "~>"
|
|
87
101
|
- !ruby/object:Gem::Version
|
|
88
|
-
version: '2.
|
|
102
|
+
version: '2.23'
|
|
89
103
|
type: :runtime
|
|
90
104
|
prerelease: false
|
|
91
105
|
version_requirements: !ruby/object:Gem::Requirement
|
|
92
106
|
requirements:
|
|
93
107
|
- - "~>"
|
|
94
108
|
- !ruby/object:Gem::Version
|
|
95
|
-
version: '2.
|
|
109
|
+
version: '2.23'
|
|
96
110
|
- !ruby/object:Gem::Dependency
|
|
97
111
|
name: rubocop-thread_safety
|
|
98
112
|
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.17
|
|
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
|