caliber 0.29.0 → 0.31.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: 829b9b20b06ea5cef4ef23cec9c1e014b945967c325ae162de4eaf1cfed8b8c2
4
- data.tar.gz: 9b64463190c4b8f25b210655c9e0c11e69b578c059c3fdea414b66d89d3a80b6
3
+ metadata.gz: 139da5eae579c7e40b86c29d237486b82cbbaac3556b0076b004d31c9e3a5d8d
4
+ data.tar.gz: 526cad252f01d4fd7989cacd483d5db33bef133f07dd2665e7a395c08670f357
5
5
  SHA512:
6
- metadata.gz: c57610025a2f767b95d9a9446e1d588e6fa8355ef36eae9480b35cdd06be2b7469b8934ef85f31c72249bd4610f14843d574079ef391b595b6fb670c4fc78e29
7
- data.tar.gz: bf5755a756d1bbff360f3c657ce737a9a133848caf225925c18f6e264a03b3f345710e6b97c230892871cccd4209518c991459c525e86906c43c05e2125b0313
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.29.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.49"
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.19"
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: false
342
+ Enabled: true
341
343
  Style/RedundantSelfAssignmentBranch:
342
344
  Enabled: true
343
345
  Style/RedundantStringEscape:
data/config/thread.yml CHANGED
@@ -1 +1,4 @@
1
1
  require: rubocop-thread_safety
2
+
3
+ ThreadSafety/InstanceVariableInClassMethod:
4
+ Enabled: 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.29.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-03 00:00:00.000000000 Z
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.49'
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.49'
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.19'
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.19'
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.10
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