caliber 0.31.0 → 0.32.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 +26 -3
- data/caliber.gemspec +3 -4
- data/config/all.yml +1 -0
- data/config/factory_bot.yml +9 -0
- data/config/rspec.yml +0 -7
- data.tar.gz.sig +0 -0
- metadata +7 -20
- 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: 3adc1ecb3f73463189f070f1081d78d7750cedabf140f70fc874d984648d982d
|
4
|
+
data.tar.gz: 02f28f1cb6c2e98c11800a6231aa5885cbb76d26125954e3c8aa35b3b3dc6792
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1dd331e1d638c662c1f5f2f1db72c39033377b344896f996d7838f7ac784a1633da773c21693ff5d6efa416fa9e0b21e7df459fa5cb21d41ade15ac0d356dbf1
|
7
|
+
data.tar.gz: 956ffe5ba3e53b3e722d500f11a8a8ca15a249009614fde16f825b7d0922a839fe85a58d4a1e236f4c22bd18b25fe36c40bae1aeea9fdbf0a81cfe9b422928a3
|
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_factory_bot_link: link:https://docs.rubocop.org/rubocop-factory_bot/[RuboCop FactoryBot]
|
7
8
|
:rubocop_performance_link: link:https://docs.rubocop.org/rubocop-performance[RuboCop Performance]
|
8
9
|
:rubocop_thread_safety_link: link:https://github.com/rubocop/rubocop-thread_safety[RuboCop Thread Safety]
|
9
10
|
:rubocop_rake_link: link:https://docs.rubocop.org/rubocop-rspec[RuboCop Rake]
|
@@ -12,9 +13,9 @@
|
|
12
13
|
= Caliber
|
13
14
|
|
14
15
|
This gem provides global link:https://docs.rubocop.org/rubocop[RuboCop] configurations for ensuring
|
15
|
-
high quality
|
16
|
+
high quality _and consistent_ software development practices.
|
16
17
|
|
17
|
-
_Due to the ever changing nature of the RuboCop ecosystem -- and the fact
|
18
|
+
_Due to the ever changing nature of the RuboCop ecosystem -- and the fact you can fall behind quickly -- this gem takes an aggressive approach to staying atop the latest changes. This also means this gem might never reach Version 1.0.0 because new -- often breaking -- changes are being introduced in each minor release. That said, if you always want to keep pace with recent changes -- *because you know how costly technical debt is* -- then this gem has you covered. 🎉_
|
18
19
|
|
19
20
|
toc::[]
|
20
21
|
|
@@ -23,6 +24,7 @@ toc::[]
|
|
23
24
|
* Provides a global configuration for the following code quality gems:
|
24
25
|
** {rubocop_link}
|
25
26
|
** {rubocop_capybara_link}
|
27
|
+
** {rubocop_factory_bot_link}
|
26
28
|
** {rubocop_performance_link}
|
27
29
|
** {rubocop_thread_safety_link}
|
28
30
|
** {rubocop_rake_link}
|
@@ -83,7 +85,7 @@ That's it!
|
|
83
85
|
|
84
86
|
=== Customization
|
85
87
|
|
86
|
-
You can customize the gem by
|
88
|
+
You can customize the gem by specifying what you need:
|
87
89
|
|
88
90
|
[source,yaml]
|
89
91
|
----
|
@@ -91,6 +93,7 @@ inherit_gem:
|
|
91
93
|
caliber:
|
92
94
|
- config/ruby.yml
|
93
95
|
- config/capybara.yml
|
96
|
+
- config/factory_bot.yml
|
94
97
|
- config/performance.yml
|
95
98
|
- config/thread.yml
|
96
99
|
- config/rake.yml
|
@@ -114,6 +117,7 @@ The above will require and load the configurations for following gems:
|
|
114
117
|
|
115
118
|
* {rubocop_link}
|
116
119
|
* {rubocop_capybara_link}
|
120
|
+
* {rubocop_factory_bot_link}
|
117
121
|
* {rubocop_performance_link}
|
118
122
|
* {rubocop_thread_safety_link}
|
119
123
|
* {rubocop_rake_link}
|
@@ -143,6 +147,21 @@ inherit_gem:
|
|
143
147
|
|
144
148
|
The above will only require the {rubocop_capybara_link} gem _and_ load the associated configuration.
|
145
149
|
|
150
|
+
💡 This is a dependency of {rubocop_rspec_link} so doesn't need to be directly required if already requiring {rubocop_rspec_link}.
|
151
|
+
|
152
|
+
*FactoryBot*
|
153
|
+
|
154
|
+
[source,yaml]
|
155
|
+
----
|
156
|
+
inherit_gem:
|
157
|
+
caliber:
|
158
|
+
- config/factory_bot.yml
|
159
|
+
----
|
160
|
+
|
161
|
+
The above will only require the {rubocop_factory_bot_link} gem _and_ load the associated configuration.
|
162
|
+
|
163
|
+
💡 This is a dependency of {rubocop_rspec_link} so doesn't need to be directly required if already requiring {rubocop_rspec_link}.
|
164
|
+
|
146
165
|
*Performance*
|
147
166
|
|
148
167
|
[source,yaml]
|
@@ -206,6 +225,7 @@ If importing all configurations from `all.yml` is too much -- and much like you
|
|
206
225
|
inherit_from:
|
207
226
|
- https://raw.githubusercontent.com/bkuhlmann/caliber/main/config/ruby.yml
|
208
227
|
- https://raw.githubusercontent.com/bkuhlmann/caliber/main/config/capybara.yml
|
228
|
+
- https://raw.githubusercontent.com/bkuhlmann/caliber/main/config/factory_bot.yml
|
209
229
|
- https://raw.githubusercontent.com/bkuhlmann/caliber/main/config/performance.yml
|
210
230
|
- https://raw.githubusercontent.com/bkuhlmann/caliber/main/config/thread.yml
|
211
231
|
- https://raw.githubusercontent.com/bkuhlmann/caliber/main/config/rake.yml
|
@@ -218,6 +238,7 @@ Lastly, when using this YAML import approach, you'll not benefit from having all
|
|
218
238
|
|
219
239
|
* {rubocop_link}
|
220
240
|
* {rubocop_capybara_link}
|
241
|
+
* {rubocop_factory_bot_link}
|
221
242
|
* {rubocop_performance_link}
|
222
243
|
* {rubocop_thread_safety_link}
|
223
244
|
* {rubocop_rake_link}
|
@@ -268,6 +289,7 @@ When both RuboCop and Caliber are in sync, the following will be output:
|
|
268
289
|
....
|
269
290
|
RUBY: ✓
|
270
291
|
CAPYBARA: ✓
|
292
|
+
FACTORY_BOT: ✓
|
271
293
|
PERFORMANCE: ✓
|
272
294
|
THREAD: ✓
|
273
295
|
RAKE: ✓
|
@@ -282,6 +304,7 @@ RUBY:
|
|
282
304
|
* Lint/BinaryOperatorWithIdenticalOperands
|
283
305
|
* Lint/ConstantDefinitionInBlock
|
284
306
|
CAPYBARA: ✓
|
307
|
+
FACTORY_BOT: ✓
|
285
308
|
PERFORMANCE: ✓
|
286
309
|
THREAD: ✓
|
287
310
|
RAKE: ✓
|
data/caliber.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |spec|
|
4
4
|
spec.name = "caliber"
|
5
|
-
spec.version = "0.
|
5
|
+
spec.version = "0.32.0"
|
6
6
|
spec.authors = ["Brooke Kuhlmann"]
|
7
7
|
spec.email = ["brooke@alchemists.io"]
|
8
8
|
spec.homepage = "https://alchemists.io/projects/caliber"
|
9
|
-
spec.summary = "
|
9
|
+
spec.summary = "A global, high quality, and constantly updated RuboCop configuration."
|
10
10
|
spec.license = "Hippocratic-2.1"
|
11
11
|
|
12
12
|
spec.metadata = {
|
@@ -24,10 +24,9 @@ Gem::Specification.new do |spec|
|
|
24
24
|
|
25
25
|
spec.required_ruby_version = "~> 3.2"
|
26
26
|
spec.add_dependency "rubocop", "~> 1.50"
|
27
|
-
spec.add_dependency "rubocop-capybara", "~> 2.17"
|
28
27
|
spec.add_dependency "rubocop-performance", "~> 1.16"
|
29
28
|
spec.add_dependency "rubocop-rake", "~> 0.6"
|
30
|
-
spec.add_dependency "rubocop-rspec", "~> 2.
|
29
|
+
spec.add_dependency "rubocop-rspec", "~> 2.22"
|
31
30
|
spec.add_dependency "rubocop-thread_safety", "~> 0.5"
|
32
31
|
|
33
32
|
spec.extra_rdoc_files = Dir["README*", "LICENSE*"]
|
data/config/all.yml
CHANGED
data/config/rspec.yml
CHANGED
@@ -52,13 +52,6 @@ RSpec/ExampleLength:
|
|
52
52
|
- heredoc
|
53
53
|
RSpec/ExcessiveDocstringSpacing:
|
54
54
|
Enabled: true
|
55
|
-
RSpec/FactoryBot/ConsistentParenthesesStyle:
|
56
|
-
Enabled: true
|
57
|
-
EnforcedStyle: omit_parentheses
|
58
|
-
RSpec/FactoryBot/FactoryNameStyle:
|
59
|
-
Enabled: true
|
60
|
-
RSpec/FactoryBot/SyntaxMethods:
|
61
|
-
Enabled: false
|
62
55
|
RSpec/IdenticalEqualityAssertion:
|
63
56
|
Enabled: true
|
64
57
|
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.
|
4
|
+
version: 0.32.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-05-10 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: rubocop
|
@@ -51,20 +51,6 @@ dependencies:
|
|
51
51
|
- - "~>"
|
52
52
|
- !ruby/object:Gem::Version
|
53
53
|
version: '1.50'
|
54
|
-
- !ruby/object:Gem::Dependency
|
55
|
-
name: rubocop-capybara
|
56
|
-
requirement: !ruby/object:Gem::Requirement
|
57
|
-
requirements:
|
58
|
-
- - "~>"
|
59
|
-
- !ruby/object:Gem::Version
|
60
|
-
version: '2.17'
|
61
|
-
type: :runtime
|
62
|
-
prerelease: false
|
63
|
-
version_requirements: !ruby/object:Gem::Requirement
|
64
|
-
requirements:
|
65
|
-
- - "~>"
|
66
|
-
- !ruby/object:Gem::Version
|
67
|
-
version: '2.17'
|
68
54
|
- !ruby/object:Gem::Dependency
|
69
55
|
name: rubocop-performance
|
70
56
|
requirement: !ruby/object:Gem::Requirement
|
@@ -99,14 +85,14 @@ dependencies:
|
|
99
85
|
requirements:
|
100
86
|
- - "~>"
|
101
87
|
- !ruby/object:Gem::Version
|
102
|
-
version: '2.
|
88
|
+
version: '2.22'
|
103
89
|
type: :runtime
|
104
90
|
prerelease: false
|
105
91
|
version_requirements: !ruby/object:Gem::Requirement
|
106
92
|
requirements:
|
107
93
|
- - "~>"
|
108
94
|
- !ruby/object:Gem::Version
|
109
|
-
version: '2.
|
95
|
+
version: '2.22'
|
110
96
|
- !ruby/object:Gem::Dependency
|
111
97
|
name: rubocop-thread_safety
|
112
98
|
requirement: !ruby/object:Gem::Requirement
|
@@ -135,6 +121,7 @@ files:
|
|
135
121
|
- caliber.gemspec
|
136
122
|
- config/all.yml
|
137
123
|
- config/capybara.yml
|
124
|
+
- config/factory_bot.yml
|
138
125
|
- config/performance.yml
|
139
126
|
- config/rake.yml
|
140
127
|
- config/rspec.yml
|
@@ -167,8 +154,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
167
154
|
- !ruby/object:Gem::Version
|
168
155
|
version: '0'
|
169
156
|
requirements: []
|
170
|
-
rubygems_version: 3.4.
|
157
|
+
rubygems_version: 3.4.13
|
171
158
|
signing_key:
|
172
159
|
specification_version: 4
|
173
|
-
summary:
|
160
|
+
summary: A global, high quality, and constantly updated RuboCop configuration.
|
174
161
|
test_files: []
|
metadata.gz.sig
CHANGED
Binary file
|