caliber 0.10.0 → 0.11.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: 2931b2a87cd0e05894443ee49bef96ba51c0f73662463f1a8378a48ab1219cd0
4
- data.tar.gz: bfe4c03b3d0fe932ab682722c486ef99c75e1a8366da3d93d056e14bf6e41631
3
+ metadata.gz: abf98012ec71c1f05b56d04e55b88afa167eb66cbb01a397c1c5331b4b754672
4
+ data.tar.gz: 8767f2441b60400a3bbf905f892adafdbc77629a7631a381c8edf00b906a0048
5
5
  SHA512:
6
- metadata.gz: 3ba8f18e896741230d2625cc1d162e75372c2fb5a4f3b09bbbe6b65e0070cd44851de70caa66b81ddfc2a34e4f5bf25179f377d41440acbbf4d6296ea3a8d1c0
7
- data.tar.gz: a8e0a8a8ed2db7b945dabde291e768e5a314067513bc620686f73d77a1a7bb41f9d3b3c19fcfa61c0792c0bd1395b7dbc7ae6c6d3c115920d122e633277c7490
6
+ metadata.gz: aa92ec7cb89bedba40046638e4acf223fd758ca2821e83483a2e38ea9d82912dc4553f8cdd0f2b6a5c6828f25f1a3df8ce4e0b0d5fbb7f19af5ff917685c0a29
7
+ data.tar.gz: 3e0d1dc212b330961de16210050471dae15b62909b1074ca1fde311f617cd2312e592780bdf6fc92643cf3c3a3fb6ca7f49e4bc8292ff346206d8a225d3461e6
checksums.yaml.gz.sig CHANGED
Binary file
data/README.adoc CHANGED
@@ -14,6 +14,7 @@ toc::[]
14
14
  * Provides a global configuration for the following code quality gems:
15
15
  ** link:https://docs.rubocop.org/rubocop[RuboCop]
16
16
  ** link:https://github.com/rubocop/rubocop-performance[RuboCop Performance]
17
+ ** link:https://github.com/rubocop/rubocop-thread_safety[RuboCop Thread Safety]
17
18
  ** link:https://github.com/rubocop/rubocop-rake[RuboCop Rake]
18
19
  ** link:https://github.com/rubocop/rubocop-rspec[RuboCop RSpec]
19
20
 
@@ -65,6 +66,7 @@ inherit_gem:
65
66
  caliber:
66
67
  - config/ruby.yml
67
68
  - config/performance.yml
69
+ - config/thread.yml
68
70
  - config/rake.yml
69
71
  - config/rspec.yml
70
72
  ----
@@ -88,6 +90,7 @@ inherit_gem:
88
90
  The above will auto-require and load the configurations for following gems:
89
91
 
90
92
  * RuboCop Performance
93
+ * RuboCop Thread Safety
91
94
  * RuboCop Rake
92
95
  * RuboCop RSpec
93
96
 
@@ -112,6 +115,15 @@ inherit_gem:
112
115
 
113
116
  The above will only require the RuboCop Performance gem _and_ load the associated configuration.
114
117
 
118
+ [source,yaml]
119
+ ----
120
+ inherit_gem:
121
+ caliber:
122
+ - config/thread.yml
123
+ ----
124
+
125
+ The above will only require the RuboCop Thread Safety gem _and_ load the associated configuration.
126
+
115
127
  [source,yaml]
116
128
  ----
117
129
  inherit_gem:
@@ -155,6 +167,7 @@ configurations you want to use. For example, the following is what `all.yml` exp
155
167
  inherit_from:
156
168
  - https://raw.githubusercontent.com/bkuhlmann/caliber/main/config/ruby.yml
157
169
  - https://raw.githubusercontent.com/bkuhlmann/caliber/main/config/performance.yml
170
+ - https://raw.githubusercontent.com/bkuhlmann/caliber/main/config/thread.yml
158
171
  - https://raw.githubusercontent.com/bkuhlmann/caliber/main/config/rake.yml
159
172
  - https://raw.githubusercontent.com/bkuhlmann/caliber/main/config/rspec.yml
160
173
  ----
@@ -167,6 +180,7 @@ required and installed for you. So you'll need to manually require these gems in
167
180
 
168
181
  * link:https://docs.rubocop.org/rubocop[RuboCop]
169
182
  * link:https://docs.rubocop.org/rubocop-performance[RuboCop Performance]
183
+ * link:https://github.com/rubocop/rubocop-thread_safety[RuboCop Thread Safety]
170
184
  * link:https://docs.rubocop.org/rubocop-rspec[RuboCop Rake]
171
185
  * link:https://docs.rubocop.org/rubocop-rspec[RuboCop RSpec]
172
186
 
@@ -200,6 +214,7 @@ When both RuboCop and Caliber are in sync, the following will be output:
200
214
  ....
201
215
  RUBY: ✓
202
216
  PERFORMANCE: ✓
217
+ THREAD: ✓
203
218
  RAKE: ✓
204
219
  RSPEC: ✓
205
220
  ....
@@ -212,6 +227,7 @@ RUBY:
212
227
  * Lint/BinaryOperatorWithIdenticalOperands
213
228
  * Lint/ConstantDefinitionInBlock
214
229
  PERFORMANCE: ✓
230
+ THREAD: ✓
215
231
  RAKE: ✓
216
232
  RSPEC:
217
233
  * RSpec/StubbedMock
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.10.0"
5
+ spec.version = "0.11.0"
6
6
  spec.authors = ["Brooke Kuhlmann"]
7
7
  spec.email = ["brooke@alchemists.io"]
8
8
  spec.homepage = "https://www.alchemists.io/projects/caliber"
@@ -26,7 +26,8 @@ Gem::Specification.new do |spec|
26
26
  spec.add_dependency "rubocop", "~> 1.31"
27
27
  spec.add_dependency "rubocop-performance", "~> 1.14"
28
28
  spec.add_dependency "rubocop-rake", "~> 0.6"
29
- spec.add_dependency "rubocop-rspec", "~> 2.11"
29
+ spec.add_dependency "rubocop-rspec", "~> 2.12"
30
+ spec.add_dependency "rubocop-thread_safety", "~> 0.4"
30
31
 
31
32
  spec.extra_rdoc_files = Dir["README*", "LICENSE*"]
32
33
  spec.files = Dir["*.gemspec", "config/**/*", "lib/**/*"]
data/config/all.yml CHANGED
@@ -1,5 +1,6 @@
1
1
  inherit_from:
2
2
  - ruby.yml
3
- - rake.yml
4
3
  - performance.yml
4
+ - thread.yml
5
+ - rake.yml
5
6
  - rspec.yml
data/config/rspec.yml CHANGED
@@ -5,6 +5,8 @@ RSpec/BeEq:
5
5
  RSpec/BeNil:
6
6
  Enabled: true
7
7
  EnforcedStyle: be
8
+ RSpec/Capybara/SpecificMatcher:
9
+ Enabled: true
8
10
  RSpec/ChangeByZero:
9
11
  Enabled: true
10
12
  RSpec/ContextWording:
@@ -52,6 +54,8 @@ RSpec/NamedSubject:
52
54
  IgnoreSharedExamples: false
53
55
  RSpec/Rails/AvoidSetupHook:
54
56
  Enabled: true
57
+ RSpec/Rails/HaveHttpStatus:
58
+ Enabled: true
55
59
  RSpec/SubjectDeclaration:
56
60
  Enabled: true
57
61
  RSpec/VerifiedDoubleReference:
data/config/thread.yml ADDED
@@ -0,0 +1 @@
1
+ require: rubocop-thread_safety
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.10.0
4
+ version: 0.11.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-06-27 00:00:00.000000000 Z
31
+ date: 2022-07-02 00:00:00.000000000 Z
32
32
  dependencies:
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: rubocop
@@ -78,14 +78,28 @@ dependencies:
78
78
  requirements:
79
79
  - - "~>"
80
80
  - !ruby/object:Gem::Version
81
- version: '2.11'
81
+ version: '2.12'
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.11'
88
+ version: '2.12'
89
+ - !ruby/object:Gem::Dependency
90
+ name: rubocop-thread_safety
91
+ requirement: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - "~>"
94
+ - !ruby/object:Gem::Version
95
+ version: '0.4'
96
+ type: :runtime
97
+ prerelease: false
98
+ version_requirements: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - "~>"
101
+ - !ruby/object:Gem::Version
102
+ version: '0.4'
89
103
  description:
90
104
  email:
91
105
  - brooke@alchemists.io
@@ -103,6 +117,7 @@ files:
103
117
  - config/rake.yml
104
118
  - config/rspec.yml
105
119
  - config/ruby.yml
120
+ - config/thread.yml
106
121
  - lib/caliber.rb
107
122
  homepage: https://www.alchemists.io/projects/caliber
108
123
  licenses:
@@ -130,7 +145,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
130
145
  - !ruby/object:Gem::Version
131
146
  version: '0'
132
147
  requirements: []
133
- rubygems_version: 3.3.16
148
+ rubygems_version: 3.3.17
134
149
  signing_key:
135
150
  specification_version: 4
136
151
  summary: Provides a high quality style guide and configuration for your projects.
metadata.gz.sig CHANGED
Binary file