caliber 0.18.0 → 0.20.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/README.adoc +13 -2
- data/caliber.gemspec +3 -3
- data/config/rspec.yml +6 -0
- data/config/ruby.yml +7 -0
- data.tar.gz.sig +2 -2
- metadata +7 -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: 6372c5731d5051e31318e5154d305f6dd69579d522fc4f01b2464ec7eefd2a2d
|
4
|
+
data.tar.gz: 2d7848e8f3e846197f950ee03ab51628b1acada63dd031ab8ef199ef6e1bc52c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
===
|
183
|
+
=== Coexistence
|
184
184
|
|
185
|
-
|
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.
|
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.
|
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.
|
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
|
-
|
2
|
-
|
1
|
+
w��j\��d�Rǎ�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|'Vs�R�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.
|
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-
|
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.
|
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.
|
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.
|
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.
|
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.
|
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
|