caliber 0.7.0 → 0.8.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: 6f593f62ec1d2ed871e3b9cf717f2b9971526960542505f6931f4d290aab73cc
4
- data.tar.gz: 93403d73531f9125dbf248379ce47416784146a0978279ac937bd52f6db3be50
3
+ metadata.gz: 4ebd905f26de1ecddc97196a674842382f8ca1d3f71ca64684980f6de73c4509
4
+ data.tar.gz: 06b0d7ea3aa500553940ad940e65ce703710902b8670332b6cffae55402ceae7
5
5
  SHA512:
6
- metadata.gz: 7da316700831c2a0d8d821daad015bdc28d3d4e208bdc2e416ab805fa1878887d1cc55c39309616f4de068eb7896a572f3feed35eedf4ef67c50e9ed8ca2386f
7
- data.tar.gz: ba38bf9bffb4c6f3bed1cfdd04f497e3e46e5f04c9adc3b645fc0857589a91cd41be9068623ea64834c44bc22635abdbee3cd7512e5ab189eb2508e831444528
6
+ metadata.gz: 51f465ba1a618e1a00ee32959352fd0487e89f7c77063b0e4e925a07998525863c27af3efdc1c347c665213553faf9f43949822c1ece6bebd1fc615c15a6d8d6
7
+ data.tar.gz: 4562eb80068bc32024241826d212006244b6e5e6a323cc2088bfeafea7acc7260fc64d399553e47038d8786aacfe56e61cadfe5a9dbf459d2a5b9ab096007cd3
checksums.yaml.gz.sig CHANGED
Binary file
data/README.adoc CHANGED
@@ -54,7 +54,7 @@ inherit_gem:
54
54
 
55
55
  That's it!
56
56
 
57
- == Customization
57
+ === Customization
58
58
 
59
59
  Should you not want everything that this gem offers, you can customize
60
60
  the gem further by specifiying what you need:
@@ -72,7 +72,7 @@ inherit_gem:
72
72
  The above is what `config/all.yml` expands to but now you can mix and match how you like for your
73
73
  needs.
74
74
 
75
- == Auto-Requires
75
+ === Auto-Requires
76
76
 
77
77
  When Caliber is added to your `Gemfile`, you don't have to require RuboCop because Caliber does that
78
78
  for you by default. All RuboCop dependencies are also auto-required because they are defined in each
@@ -91,7 +91,7 @@ The above will auto-require and load the configurations for following gems:
91
91
  * RuboCop Rake
92
92
  * RuboCop RSpec
93
93
 
94
- When you don't use the default `all.yml` configuration then behavior changes as follows:
94
+ When you don't use the default `all.yml` configuration, then behavior changes as follows:
95
95
 
96
96
  [source,yaml]
97
97
  ----
@@ -130,6 +130,46 @@ inherit_gem:
130
130
 
131
131
  The above will only require the RuboCop RSpec gem _and_ load the associated configuration.
132
132
 
133
+ === Import Only
134
+
135
+ Should you not want to include this gem in your project for some reason, you can directly import the
136
+ configuration files supported by this project instead. To do this, you'd need to add the following
137
+ to the top of your `.rubocop.yml`:
138
+
139
+ [source,yaml]
140
+ ----
141
+ inherit_from:
142
+ - https://raw.githubusercontent.com/bkuhlmann/caliber/main/config/all.yml
143
+ ----
144
+
145
+ You'll also want to add `.rubocop-https*` to your project's `.gitignore` since imported RuboCop YAML
146
+ configurations will be cached locally and you'll not want them checked into your source code
147
+ repository.
148
+
149
+ If importing all configurations from `all.yml` is too much -- and much like you can do with
150
+ requiring this gem directly -- you can mix and match what you want to import by defining which
151
+ configurations you want to use. For example, the following is what `all.yml` expands too:
152
+
153
+ [source,yaml]
154
+ ----
155
+ inherit_from:
156
+ - https://raw.githubusercontent.com/bkuhlmann/caliber/main/config/ruby.yml
157
+ - https://raw.githubusercontent.com/bkuhlmann/caliber/main/config/performance.yml
158
+ - https://raw.githubusercontent.com/bkuhlmann/caliber/main/config/rake.yml
159
+ - https://raw.githubusercontent.com/bkuhlmann/caliber/main/config/rspec.yml
160
+ ----
161
+
162
+ You can also target a specific version of this gem by swapping out the `main` path in the YAML URLs
163
+ listed above with a specific version like `0.0.0`.
164
+
165
+ Lastly, when using this YAML import approach, you'll not benefit from having all gems you need
166
+ required and installed for you. So you'll need to manually require these gems in your `Gemfile`:
167
+
168
+ * link:https://docs.rubocop.org/rubocop[RuboCop]
169
+ * link:https://docs.rubocop.org/rubocop-performance[RuboCop Performance]
170
+ * link:https://docs.rubocop.org/rubocop-rspec[RuboCop Rake]
171
+ * link:https://docs.rubocop.org/rubocop-rspec[RuboCop RSpec]
172
+
133
173
  == Development
134
174
 
135
175
  To contribute, run:
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.7.0"
5
+ spec.version = "0.8.0"
6
6
  spec.authors = ["Brooke Kuhlmann"]
7
7
  spec.email = ["brooke@alchemists.io"]
8
8
  spec.homepage = "https://www.alchemists.io/projects/caliber"
@@ -13,6 +13,7 @@ Gem::Specification.new do |spec|
13
13
  "bug_tracker_uri" => "https://github.com/bkuhlmann/caliber/issues",
14
14
  "changelog_uri" => "https://www.alchemists.io/projects/caliber/versions",
15
15
  "documentation_uri" => "https://www.alchemists.io/projects/caliber",
16
+ "funding_uri" => "https://github.com/sponsors/bkuhlmann",
16
17
  "label" => "Caliber",
17
18
  "rubygems_mfa_required" => "true",
18
19
  "source_code_uri" => "https://github.com/bkuhlmann/caliber"
@@ -22,7 +23,7 @@ Gem::Specification.new do |spec|
22
23
  spec.cert_chain = [Gem.default_cert_path]
23
24
 
24
25
  spec.required_ruby_version = "~> 3.1"
25
- spec.add_dependency "rubocop", "~> 1.28"
26
+ spec.add_dependency "rubocop", "~> 1.29"
26
27
  spec.add_dependency "rubocop-performance", "~> 1.13"
27
28
  spec.add_dependency "rubocop-rake", "~> 0.6"
28
29
  spec.add_dependency "rubocop-rspec", "~> 2.10"
data/config/ruby.yml CHANGED
@@ -9,6 +9,8 @@ Bundler/InsecureProtocolSource:
9
9
  AllowHttpProtocol: false
10
10
  Gemspec/DateAssignment:
11
11
  Enabled: true
12
+ Gemspec/DependencyVersion:
13
+ Enabled: true
12
14
  Gemspec/RequireMFA:
13
15
  Enabled: true
14
16
  Layout/BeginEndAlignment:
@@ -202,6 +204,8 @@ Style/EmptyMethod:
202
204
  EnforcedStyle: expanded
203
205
  Style/EndlessMethod:
204
206
  Enabled: true
207
+ Style/EnvHome:
208
+ Enabled: true
205
209
  Style/ExplicitBlockArgument:
206
210
  Enabled: false
207
211
  Style/FetchEnvVar:
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.7.0
4
+ version: 0.8.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-04-21 00:00:00.000000000 Z
31
+ date: 2022-05-07 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.28'
39
+ version: '1.29'
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.28'
46
+ version: '1.29'
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rubocop-performance
49
49
  requirement: !ruby/object:Gem::Requirement
@@ -111,6 +111,7 @@ metadata:
111
111
  bug_tracker_uri: https://github.com/bkuhlmann/caliber/issues
112
112
  changelog_uri: https://www.alchemists.io/projects/caliber/versions
113
113
  documentation_uri: https://www.alchemists.io/projects/caliber
114
+ funding_uri: https://github.com/sponsors/bkuhlmann
114
115
  label: Caliber
115
116
  rubygems_mfa_required: 'true'
116
117
  source_code_uri: https://github.com/bkuhlmann/caliber
@@ -129,7 +130,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
129
130
  - !ruby/object:Gem::Version
130
131
  version: '0'
131
132
  requirements: []
132
- rubygems_version: 3.3.11
133
+ rubygems_version: 3.3.13
133
134
  signing_key:
134
135
  specification_version: 4
135
136
  summary: Provides a high quality style guide and configuration for your projects.
metadata.gz.sig CHANGED
Binary file