caliber 0.18.0 → 0.20.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0c93b2e8194729b6c9d773c250f5877ef43e42ad1533d0e4dee3b29adc6b43fc
4
- data.tar.gz: 0625dfd89b3ac48aa51d52917a4ff8bf4cab2568340469aeb0d98d89b27d827b
3
+ metadata.gz: 6372c5731d5051e31318e5154d305f6dd69579d522fc4f01b2464ec7eefd2a2d
4
+ data.tar.gz: 2d7848e8f3e846197f950ee03ab51628b1acada63dd031ab8ef199ef6e1bc52c
5
5
  SHA512:
6
- metadata.gz: 4e7ae689b1e2e8755282569b5a94b556a43abeb9d339f4be932fb92ee8b3e62ecf7218ed3bd8f2991fac897fbcdd7d4568674864e0b3b79fdf4a590741d4eb63
7
- data.tar.gz: 23a36be5875dfa7139546186853ece23af7baad3f1a2ba976167f8ca5bdac721e1d1f50f481aaddf4553e01d830afdc6b2bbcf73e39f2a713431c303a205f368
6
+ metadata.gz: 98dffd7ace7f5d668c29a5da47acaa45a34befa76a51e04f58708439b453ca4380ba795d3f07feb8411276d96ccdcd1188d45a484d6b8113fd053e7def27b42c
7
+ data.tar.gz: 844612496271514ecced6ec8d3d745acb54e9d9afc3fd54b1fcc1d4bab834d31890338c8f237c85b8a92d8951adc8ef973f0869f77319d309eb9a0e58d6a4b26
checksums.yaml.gz.sig CHANGED
Binary file
data/README.adoc CHANGED
@@ -180,9 +180,20 @@ Lastly, when using this YAML import approach, you'll not benefit from having all
180
180
  * {rubocop_rake_link}
181
181
  * {rubocop_rspec_link}
182
182
 
183
- === Troubleshooting
183
+ === Coexistence
184
184
 
185
- If you are having issues requiring additional RuboCop gems in conjunction with what this gem provides for you, there is a link:https://github.com/rubocop/rubocop/issues/5251#issuecomment-1142638815[known issue and workaround] to this problem. Until the RuboCop team can fix the bug, you'll have to re-require your dependencies until then.
185
+ In situations where you'd like to use Caliber alongside additional RuboCop gems, you only need to add the new gems to your `Gemfile` and then require them within your `.rubocop.yml`. For example, let's say you wanted to use both the Caliber and link:https://github.com/rubocop/rubocop-md[RuboCop Markdown] gems together. Here is how you can use both by updating your `.rubocop.yml` (assuming your `Gemfile` was updated as well):
186
+
187
+ [source,yaml]
188
+ ----
189
+ require:
190
+ - rubocop-md
191
+
192
+ inherit_gem:
193
+ caliber: config/all.yml
194
+ ----
195
+
196
+ Adding additional RuboCop gems only requires adding them to your YAML configuration.
186
197
 
187
198
  == Development
188
199
 
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.18.0"
5
+ spec.version = "0.20.0"
6
6
  spec.authors = ["Brooke Kuhlmann"]
7
7
  spec.email = ["brooke@alchemists.io"]
8
8
  spec.homepage = "https://www.alchemists.io/projects/caliber"
@@ -23,10 +23,10 @@ Gem::Specification.new do |spec|
23
23
  spec.cert_chain = [Gem.default_cert_path]
24
24
 
25
25
  spec.required_ruby_version = "~> 3.1"
26
- spec.add_dependency "rubocop", "~> 1.38"
26
+ spec.add_dependency "rubocop", "~> 1.40"
27
27
  spec.add_dependency "rubocop-performance", "~> 1.15"
28
28
  spec.add_dependency "rubocop-rake", "~> 0.6"
29
- spec.add_dependency "rubocop-rspec", "~> 2.14"
29
+ spec.add_dependency "rubocop-rspec", "~> 2.16"
30
30
  spec.add_dependency "rubocop-thread_safety", "~> 0.4"
31
31
 
32
32
  spec.extra_rdoc_files = Dir["README*", "LICENSE*"]
data/config/rspec.yml CHANGED
@@ -46,6 +46,8 @@ RSpec/Dialect:
46
46
  shared_examples_for: shared_examples
47
47
  specify: it
48
48
  subject!: subject
49
+ RSpec/DuplicatedMetadata:
50
+ Enabled: true
49
51
  RSpec/ExampleLength:
50
52
  Max: 10
51
53
  CountAsOne:
@@ -57,6 +59,8 @@ RSpec/ExcessiveDocstringSpacing:
57
59
  RSpec/FactoryBot/ConsistentParenthesesStyle:
58
60
  Enabled: true
59
61
  EnforcedStyle: omit_parentheses
62
+ RSpec/FactoryBot/FactoryNameStyle:
63
+ Enabled: true
60
64
  RSpec/FactoryBot/SyntaxMethods:
61
65
  Enabled: false
62
66
  RSpec/IdenticalEqualityAssertion:
@@ -65,6 +69,8 @@ RSpec/NamedSubject:
65
69
  IgnoreSharedExamples: false
66
70
  RSpec/NoExpectationExample:
67
71
  Enabled: true
72
+ RSpec/PendingWithoutReason:
73
+ Enabled: true
68
74
  RSpec/Rails/AvoidSetupHook:
69
75
  Enabled: true
70
76
  RSpec/Rails/HaveHttpStatus:
data/config/ruby.yml CHANGED
@@ -1,4 +1,5 @@
1
1
  AllCops:
2
+ ActiveSupportExtensionsEnabled: true
2
3
  DisplayCopNames: true
3
4
  Exclude:
4
5
  - "db/schema.rb"
@@ -197,6 +198,8 @@ Style/ArgumentsForwarding:
197
198
  Enabled: false
198
199
  Style/ArrayCoercion:
199
200
  Enabled: true
201
+ Style/ArrayIntersect:
202
+ Enabled: true
200
203
  Style/AndOr:
201
204
  EnforcedStyle: conditionals
202
205
  Style/AutoResourceCleanup:
@@ -304,6 +307,8 @@ Style/QuotedSymbols:
304
307
  Enabled: true
305
308
  Style/RedundantArgument:
306
309
  Enabled: true
310
+ Style/RedundantConstantBase:
311
+ Enabled: true
307
312
  Style/RedundantEach:
308
313
  Enabled: true
309
314
  Style/RedundantSelfAssignmentBranch:
@@ -315,6 +320,8 @@ Style/RedundantInitialize:
315
320
  AllowComments: false
316
321
  Style/ReturnNil:
317
322
  Enabled: true
323
+ Style/RequireOrder:
324
+ Enabled: true
318
325
  Style/SafeNavigation:
319
326
  Enabled: false
320
327
  Style/SelectByRegexp:
data.tar.gz.sig CHANGED
@@ -1,2 +1,2 @@
1
- ���XPm�������B���V�s�8� �)������)Eݛ?��p�"��Q!̼>��C���hVE�(��N��/�2c�$����n��#�3��
2
- 6��x��ItJ}?�D3�ꍱ~h��i-+�5�>�90(NCU߂�|�*�~�z�Ջ~�)7w�6��}aEȀ��>y����ģr�\�
1
+ w��j\��dRǎ�JT��8�=�OdP�|
2
+ B�=�7���͸G��TP��������}�,��34���*6B[5-��F �vC�p��f�� ������L��-Z��ǬPvĬ¬�G�?E4�"�iI2��ae<�w��Ċ���f+5|'VsR�6�ER�\5O+��$\���MM^ߌ�t98Ǵ�-U*hsG:9>���w�b�ۺ���>��'��_�T(�vx����H�uH�Zɰ�e��L2�#�-R��Q9v�
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.18.0
4
+ version: 0.20.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brooke Kuhlmann
@@ -28,7 +28,7 @@ cert_chain:
28
28
  CxDe2+VuChj4I1nvIHdu+E6XoEVlanUPKmSg6nddhkKn2gC45Kyzh6FZqnzH/CRp
29
29
  RFE=
30
30
  -----END CERTIFICATE-----
31
- date: 2022-11-01 00:00:00.000000000 Z
31
+ date: 2022-12-13 00:00:00.000000000 Z
32
32
  dependencies:
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: rubocop
@@ -36,14 +36,14 @@ dependencies:
36
36
  requirements:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: '1.38'
39
+ version: '1.40'
40
40
  type: :runtime
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
- version: '1.38'
46
+ version: '1.40'
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rubocop-performance
49
49
  requirement: !ruby/object:Gem::Requirement
@@ -78,14 +78,14 @@ dependencies:
78
78
  requirements:
79
79
  - - "~>"
80
80
  - !ruby/object:Gem::Version
81
- version: '2.14'
81
+ version: '2.16'
82
82
  type: :runtime
83
83
  prerelease: false
84
84
  version_requirements: !ruby/object:Gem::Requirement
85
85
  requirements:
86
86
  - - "~>"
87
87
  - !ruby/object:Gem::Version
88
- version: '2.14'
88
+ version: '2.16'
89
89
  - !ruby/object:Gem::Dependency
90
90
  name: rubocop-thread_safety
91
91
  requirement: !ruby/object:Gem::Requirement
@@ -145,7 +145,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
145
145
  - !ruby/object:Gem::Version
146
146
  version: '0'
147
147
  requirements: []
148
- rubygems_version: 3.3.24
148
+ rubygems_version: 3.3.26
149
149
  signing_key:
150
150
  specification_version: 4
151
151
  summary: Provides a high quality style guide and configuration for your projects.
metadata.gz.sig CHANGED
Binary file