caliber 0.30.0 → 0.32.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: 266dc6c98d90c1318979b0884a886aeaa11e43df5ee301385271ebc831d3412e
4
- data.tar.gz: 3945e0826ef10afb71fadeaef49a1340073b66139d609edaae65bc9465c07106
3
+ metadata.gz: 3adc1ecb3f73463189f070f1081d78d7750cedabf140f70fc874d984648d982d
4
+ data.tar.gz: 02f28f1cb6c2e98c11800a6231aa5885cbb76d26125954e3c8aa35b3b3dc6792
5
5
  SHA512:
6
- metadata.gz: c14cb31978b86a165a663dbf227e1c3d587285b7045120be331a7b80c7e12b8d24682313bc464ba59bcbde0cd50fece2bfb2f14ab350735779cb4117f4d5a606
7
- data.tar.gz: d0655292619e5d39a9111c8e1449dc21023522468fd7263aff1e5102d5c2a2e3de4e3a3875bfff426e6a0212a8fba9b48da5d5cee796224537bfb4efeb1711c8
6
+ metadata.gz: 1dd331e1d638c662c1f5f2f1db72c39033377b344896f996d7838f7ac784a1633da773c21693ff5d6efa416fa9e0b21e7df459fa5cb21d41ade15ac0d356dbf1
7
+ data.tar.gz: 956ffe5ba3e53b3e722d500f11a8a8ca15a249009614fde16f825b7d0922a839fe85a58d4a1e236f4c22bd18b25fe36c40bae1aeea9fdbf0a81cfe9b422928a3
checksums.yaml.gz.sig CHANGED
@@ -1,2 +1,3 @@
1
- ����ܭ�IMQ��%���(�<��4�؛�O�\�\=8xI�X=��.�Ab����:h���|"��h���^�P2�VCN��2Tg���D��+*e|0��7!�I�T޼��u000�.��6+2���X��S+N�(Biq�;�=ܶ9B�|��-���r(���ť�vEcܼ�<�{2}����w
2
- w�� RY]K>M��Y1�~kfC;��>�w^�v"HS���i7��~�Dc�[I�� Z1*�jY�`���b*�1V�b������:" ��|�f�yJ?Dy�@S�e�g�2]�O^9�āg:���D�JϮI ���� ZtF
1
+ {5�ZjT]���(��fɜH�����9MŤzJ Dv(h������V�?��7�At��w+R�R��N�ӝ����x|��tm,ν4`Mmm��D�{d?�r�N�bZzQJp=���m�i����6����R�[��O�ދs&`�o&k ?�k�>�.z���5���'`��c6 ���z���
2
+ /�dH����D��k~�!����UŨ�S��>��׿ؚJ9�)bAX����*>�Bӌe���fr��i|@[�T%���!��S��� -sjME�鐵�����lOo m~��ݹ~C��'
3
+ ���*�� Ŭ
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 _and_ consistent software development practices.
16
+ high quality _and consistent_ software development practices.
16
17
 
17
- _Due to the ever changing nature of the RuboCop ecosystem -- and the fact that it's very easy to fall behind quickly -- this gem takes an aggressive approach to staying up to date with latest changes within the RuboCop community. This also means this gem will probably never reach Version 1.0.0 because new changes are being introduced in each minor release. That said, if you always want to be on top of recent changes -- *because you know how costly technical debt is* -- then this gem has you covered. 🎉_
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 specifiying what you need:
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.30.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 = "Provides a high quality style guide and configuration for your projects."
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.19"
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
@@ -1,6 +1,7 @@
1
1
  inherit_from:
2
2
  - ruby.yml
3
3
  - capybara.yml
4
+ - factory_bot.yml
4
5
  - performance.yml
5
6
  - thread.yml
6
7
  - rake.yml
@@ -0,0 +1,9 @@
1
+ require: rubocop-factory_bot
2
+
3
+ FactoryBot/ConsistentParenthesesStyle:
4
+ Enabled: true
5
+ EnforcedStyle: omit_parentheses
6
+ FactoryBot/FactoryNameStyle:
7
+ Enabled: true
8
+ FactoryBot/SyntaxMethods:
9
+ Enabled: false
data/config/rspec.yml CHANGED
@@ -1,5 +1,7 @@
1
1
  require: rubocop-rspec
2
2
 
3
+ RSpec/BeEmpty:
4
+ Enabled: true
3
5
  RSpec/BeEq:
4
6
  Enabled: true
5
7
  RSpec/BeNil:
@@ -9,6 +11,8 @@ RSpec/ChangeByZero:
9
11
  Enabled: true
10
12
  RSpec/ClassCheck:
11
13
  Enabled: true
14
+ RSpec/ContainExactly:
15
+ Enabled: true
12
16
  RSpec/ContextWording:
13
17
  Prefixes:
14
18
  - when
@@ -48,14 +52,11 @@ RSpec/ExampleLength:
48
52
  - heredoc
49
53
  RSpec/ExcessiveDocstringSpacing:
50
54
  Enabled: true
51
- RSpec/FactoryBot/ConsistentParenthesesStyle:
55
+ RSpec/IdenticalEqualityAssertion:
52
56
  Enabled: true
53
- EnforcedStyle: omit_parentheses
54
- RSpec/FactoryBot/FactoryNameStyle:
57
+ RSpec/IndexedLet:
55
58
  Enabled: true
56
- RSpec/FactoryBot/SyntaxMethods:
57
- Enabled: false
58
- RSpec/IdenticalEqualityAssertion:
59
+ RSpec/MatchArray:
59
60
  Enabled: true
60
61
  RSpec/NamedSubject:
61
62
  IgnoreSharedExamples: false
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.30.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-04-11 00:00:00.000000000 Z
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.19'
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.19'
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.10
157
+ rubygems_version: 3.4.13
171
158
  signing_key:
172
159
  specification_version: 4
173
- summary: Provides a high quality style guide and configuration for your projects.
160
+ summary: A global, high quality, and constantly updated RuboCop configuration.
174
161
  test_files: []
metadata.gz.sig CHANGED
Binary file