caliber 0.29.0 → 0.31.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 +17 -1
- data/caliber.gemspec +3 -3
- data/config/rspec.yml +8 -0
- data/config/ruby.yml +3 -1
- data/config/thread.yml +3 -0
- data.tar.gz.sig +0 -0
- 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: 139da5eae579c7e40b86c29d237486b82cbbaac3556b0076b004d31c9e3a5d8d
|
4
|
+
data.tar.gz: 526cad252f01d4fd7989cacd483d5db33bef133f07dd2665e7a395c08670f357
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3e2492e4d5a1cf204259260058713b3928d8aebbf5f7235055558d783653cfdb5b9032bfc20407cfe9842f4000b4ee70e66ab786c5b975c04c1d883ab0821171
|
7
|
+
data.tar.gz: c0b2414490958669496ae84be62b83a669da43cd9f89636cb9b5e8ea102c0a20651b8e8a02ef77edc6a049529cc04d15f1f790c5237b268494f05d85f0f58945
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/README.adoc
CHANGED
@@ -36,13 +36,29 @@ toc::[]
|
|
36
36
|
|
37
37
|
== Setup
|
38
38
|
|
39
|
-
To install, run:
|
39
|
+
To install _with_ security, run:
|
40
|
+
|
41
|
+
[source,bash]
|
42
|
+
----
|
43
|
+
# 💡 Skip this line if you already have the public certificate installed.
|
44
|
+
gem cert --add <(curl --compressed --location https://alchemists.io/gems.pem)
|
45
|
+
gem install caliber --trust-policy HighSecurity
|
46
|
+
----
|
47
|
+
|
48
|
+
To install _without_ security, run:
|
40
49
|
|
41
50
|
[source,bash]
|
42
51
|
----
|
43
52
|
gem install caliber
|
44
53
|
----
|
45
54
|
|
55
|
+
You can also add the gem directly to your project:
|
56
|
+
|
57
|
+
[source,bash]
|
58
|
+
----
|
59
|
+
bundle add caliber
|
60
|
+
----
|
61
|
+
|
46
62
|
== Usage
|
47
63
|
|
48
64
|
This gem is designed to replace all of your RuboCop setup with only a single reference to this gem.
|
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.31.0"
|
6
6
|
spec.authors = ["Brooke Kuhlmann"]
|
7
7
|
spec.email = ["brooke@alchemists.io"]
|
8
8
|
spec.homepage = "https://alchemists.io/projects/caliber"
|
@@ -23,11 +23,11 @@ Gem::Specification.new do |spec|
|
|
23
23
|
spec.cert_chain = [Gem.default_cert_path]
|
24
24
|
|
25
25
|
spec.required_ruby_version = "~> 3.2"
|
26
|
-
spec.add_dependency "rubocop", "~> 1.
|
26
|
+
spec.add_dependency "rubocop", "~> 1.50"
|
27
27
|
spec.add_dependency "rubocop-capybara", "~> 2.17"
|
28
28
|
spec.add_dependency "rubocop-performance", "~> 1.16"
|
29
29
|
spec.add_dependency "rubocop-rake", "~> 0.6"
|
30
|
-
spec.add_dependency "rubocop-rspec", "~> 2.
|
30
|
+
spec.add_dependency "rubocop-rspec", "~> 2.20"
|
31
31
|
spec.add_dependency "rubocop-thread_safety", "~> 0.5"
|
32
32
|
|
33
33
|
spec.extra_rdoc_files = Dir["README*", "LICENSE*"]
|
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
|
@@ -57,6 +61,10 @@ RSpec/FactoryBot/SyntaxMethods:
|
|
57
61
|
Enabled: false
|
58
62
|
RSpec/IdenticalEqualityAssertion:
|
59
63
|
Enabled: true
|
64
|
+
RSpec/IndexedLet:
|
65
|
+
Enabled: true
|
66
|
+
RSpec/MatchArray:
|
67
|
+
Enabled: true
|
60
68
|
RSpec/NamedSubject:
|
61
69
|
IgnoreSharedExamples: false
|
62
70
|
RSpec/NoExpectationExample:
|
data/config/ruby.yml
CHANGED
@@ -108,6 +108,8 @@ Lint/DuplicateBranch:
|
|
108
108
|
Enabled: true
|
109
109
|
Lint/DuplicateMagicComment:
|
110
110
|
Enabled: true
|
111
|
+
Lint/DuplicateMatchPattern:
|
112
|
+
Enabled: true
|
111
113
|
Lint/DuplicateRegexpCharacterClassElement:
|
112
114
|
Enabled: true
|
113
115
|
Lint/ElseLayout:
|
@@ -337,7 +339,7 @@ Style/RedundantEach:
|
|
337
339
|
Style/RedundantHeredocDelimiterQuotes:
|
338
340
|
Enabled: true
|
339
341
|
Style/RedundantLineContinuation:
|
340
|
-
Enabled:
|
342
|
+
Enabled: true
|
341
343
|
Style/RedundantSelfAssignmentBranch:
|
342
344
|
Enabled: true
|
343
345
|
Style/RedundantStringEscape:
|
data/config/thread.yml
CHANGED
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.31.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-
|
38
|
+
date: 2023-04-19 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: rubocop
|
@@ -43,14 +43,14 @@ dependencies:
|
|
43
43
|
requirements:
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: '1.
|
46
|
+
version: '1.50'
|
47
47
|
type: :runtime
|
48
48
|
prerelease: false
|
49
49
|
version_requirements: !ruby/object:Gem::Requirement
|
50
50
|
requirements:
|
51
51
|
- - "~>"
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: '1.
|
53
|
+
version: '1.50'
|
54
54
|
- !ruby/object:Gem::Dependency
|
55
55
|
name: rubocop-capybara
|
56
56
|
requirement: !ruby/object:Gem::Requirement
|
@@ -99,14 +99,14 @@ dependencies:
|
|
99
99
|
requirements:
|
100
100
|
- - "~>"
|
101
101
|
- !ruby/object:Gem::Version
|
102
|
-
version: '2.
|
102
|
+
version: '2.20'
|
103
103
|
type: :runtime
|
104
104
|
prerelease: false
|
105
105
|
version_requirements: !ruby/object:Gem::Requirement
|
106
106
|
requirements:
|
107
107
|
- - "~>"
|
108
108
|
- !ruby/object:Gem::Version
|
109
|
-
version: '2.
|
109
|
+
version: '2.20'
|
110
110
|
- !ruby/object:Gem::Dependency
|
111
111
|
name: rubocop-thread_safety
|
112
112
|
requirement: !ruby/object:Gem::Requirement
|
@@ -167,7 +167,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
167
167
|
- !ruby/object:Gem::Version
|
168
168
|
version: '0'
|
169
169
|
requirements: []
|
170
|
-
rubygems_version: 3.4.
|
170
|
+
rubygems_version: 3.4.12
|
171
171
|
signing_key:
|
172
172
|
specification_version: 4
|
173
173
|
summary: Provides a high quality style guide and configuration for your projects.
|
metadata.gz.sig
CHANGED
Binary file
|