caliber 0.19.0 → 0.21.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: d1bb21f221560771bfcaa1caee78775f7e45dfc13de2759360707aa4df43e184
4
- data.tar.gz: 3c3ba3b828e659c3082914e97f7ffefa496d0fa1fac434ce396e02e47ffa0bd8
3
+ metadata.gz: a96168fb4e9397b00a7f6d7ab4ffd6b76f5e6a1e4023c694eff55785f603bb99
4
+ data.tar.gz: e4a585f95ebd3a26bdf75fe891fd0699eb4372ed14d638deba64977f52aeb7a2
5
5
  SHA512:
6
- metadata.gz: 38d2ce17630e8f07c5706544851220da64ee5101804d8acdb090c9d3baae413e31ac1f061d0a6b0da34c1401cd3e0b67acc5c16f2abf22b7ffd9c5e23f6169b2
7
- data.tar.gz: b7b401e9145e05e0d8b30d97e7f75691cc8feea295ef2e03b6a199950e039d379e493e5691f245234fd2d63d90fea29aacd136ec06f58ec94885cf96b89ad261
6
+ metadata.gz: 3c73a527ec48fa5154ab017e2da150e29374d9c23c9d5088f8e65510d408b3557edbe0bac3398f0a50442ebad1460dc49540e544f3aa7d7de1cb2fec44ccbb19
7
+ data.tar.gz: a1fb018371da564ba721cf34df2a8812c902073b51d8c82ce84ef3965abb7b375cb99d19bf0e07a06b0912155157698f790c447b95408996c391cfb2ec93730a
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.19.0"
5
+ spec.version = "0.21.0"
6
6
  spec.authors = ["Brooke Kuhlmann"]
7
7
  spec.email = ["brooke@alchemists.io"]
8
8
  spec.homepage = "https://www.alchemists.io/projects/caliber"
@@ -22,11 +22,11 @@ Gem::Specification.new do |spec|
22
22
  spec.signing_key = Gem.default_key_path
23
23
  spec.cert_chain = [Gem.default_cert_path]
24
24
 
25
- spec.required_ruby_version = "~> 3.1"
26
- spec.add_dependency "rubocop", "~> 1.40"
25
+ spec.required_ruby_version = "~> 3.2"
26
+ spec.add_dependency "rubocop", "~> 1.41"
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.15"
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
@@ -210,6 +210,8 @@ Style/CollectionCompact:
210
210
  Enabled: true
211
211
  Style/CollectionMethods:
212
212
  Enabled: true
213
+ Style/ConcatArrayLiterals:
214
+ Enabled: true
213
215
  Style/Documentation:
214
216
  Enabled: false
215
217
  Style/DocumentDynamicEvalDefinition:
@@ -309,6 +311,8 @@ Style/RedundantArgument:
309
311
  Enabled: true
310
312
  Style/RedundantConstantBase:
311
313
  Enabled: true
314
+ Style/RedundantDoubleSplatHashBraces:
315
+ Enabled: true
312
316
  Style/RedundantEach:
313
317
  Enabled: true
314
318
  Style/RedundantSelfAssignmentBranch:
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.19.0
4
+ version: 0.21.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-12-08 00:00:00.000000000 Z
31
+ date: 2022-12-25 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.40'
39
+ version: '1.41'
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.40'
46
+ version: '1.41'
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.15'
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.15'
88
+ version: '2.16'
89
89
  - !ruby/object:Gem::Dependency
90
90
  name: rubocop-thread_safety
91
91
  requirement: !ruby/object:Gem::Requirement
@@ -138,14 +138,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
138
138
  requirements:
139
139
  - - "~>"
140
140
  - !ruby/object:Gem::Version
141
- version: '3.1'
141
+ version: '3.2'
142
142
  required_rubygems_version: !ruby/object:Gem::Requirement
143
143
  requirements:
144
144
  - - ">="
145
145
  - !ruby/object:Gem::Version
146
146
  version: '0'
147
147
  requirements: []
148
- rubygems_version: 3.3.26
148
+ rubygems_version: 3.4.1
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