caliber 0.1.0 → 0.1.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2e652040db1045a808b38dfe128922ea35444449272ca45aef5b2e53ab213c0a
4
- data.tar.gz: 0160a0f1140cd287d2892d2de5602f9a8335bd472d94c56bf8930825eeca2d21
3
+ metadata.gz: 3205ff79b198c6320825ce7dfffe3a334d5654e64f9d489b06fb4207e43da502
4
+ data.tar.gz: 1ca1748d4aede5ed3a8531aae162955e7cd68c1f8b5e42b140c345921ce173be
5
5
  SHA512:
6
- metadata.gz: 632c895a9407a080ba3032e2026a49acfeafc493af53ba7a98223efba14fc382c81fc950e01d766c696f89cd0179a53a3b9692e1f43b3b059c746525ebc03aef
7
- data.tar.gz: 8e403d96324623e23e9bbbb17bac2ec01c3ec8bb36991e2d75f116a5de24d8cccec6bb2b7cb125f6aa78af247cfad8dca91fb06fac7d877b757ae9a04e022430
6
+ metadata.gz: f595a1cc4de0d56d32b83ac4026f35540ae6b0c2981d7d86806efadc6571f107535d521217a4c33bc4624a10e303ba27f4a20efe51410ee24617265f284294b2
7
+ data.tar.gz: 642dbb1732bc030393ea09fa9a0577cfbcbfd15814a24dbe14d0d174c69ef473e42427d3a7165c73e22a8e2360b645e7d24037645f1990b073cd02a87e3a656e
checksums.yaml.gz.sig CHANGED
Binary file
data/README.adoc CHANGED
@@ -12,7 +12,7 @@ toc::[]
12
12
  == Features
13
13
 
14
14
  * Provides a global configuration for the following code quality gems:
15
- ** link:https://docs.rubocop.org/rubocop[Rubocop]
15
+ ** link:https://docs.rubocop.org/rubocop[RuboCop]
16
16
  ** link:https://github.com/rubocop/rubocop-performance[RuboCop Performance]
17
17
  ** link:https://github.com/rubocop/rubocop-rake[RuboCop Rake]
18
18
  ** link:https://github.com/rubocop/rubocop-rspec[RuboCop RSpec]
@@ -34,8 +34,8 @@ gem install caliber
34
34
 
35
35
  == Usage
36
36
 
37
- This gem is designed to replace all of your Rubocop setup with only a single reference to this gem.
38
- You'll want to start with your Gemfile by adding the following:
37
+ This gem is designed to replace all of your RuboCop setup with only a single reference to this gem.
38
+ You'll want to start with your `Gemfile` by adding the following:
39
39
 
40
40
  [source,ruby]
41
41
  ----
@@ -44,9 +44,9 @@ group :code_quality do
44
44
  end
45
45
  ----
46
46
 
47
- Then in your `.rubocop.yml` add the following to the top of the file:
47
+ Then, in your `.rubocop.yml`, add the following to the top of the file:
48
48
 
49
- [source,ruby]
49
+ [source,yaml]
50
50
  ----
51
51
  inherit_gem:
52
52
  caliber: config/all.yml
@@ -59,7 +59,7 @@ That's it!
59
59
  Should you not want everything that this gem offers, you can customize
60
60
  the gem further by specifiying what you need:
61
61
 
62
- [source,ruby]
62
+ [source,yaml]
63
63
  ----
64
64
  inherit_gem:
65
65
  caliber:
@@ -69,9 +69,67 @@ inherit_gem:
69
69
  - config/rspec.yml
70
70
  ----
71
71
 
72
- That above is what `config/all.yml` expands to but now you can mix and match how you like for your
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
76
+
77
+ When Caliber is added to your `Gemfile`, you don't have to require RuboCop because Caliber does that
78
+ for you by default. All RuboCop dependencies are also auto-required because they are defined in each
79
+ configuration. Here's a full breakdown of how this works:
80
+
81
+ [source,yaml]
82
+ ----
83
+ inherit_gem:
84
+ caliber:
85
+ - config/all.yml
86
+ ----
87
+
88
+ The above will auto-require and load the configurations for following gems:
89
+
90
+ * RuboCop Performance
91
+ * RuboCop Rake
92
+ * RuboCop RSpec
93
+
94
+ When you don't use the default `all.yml` configuration then behavior changes as follows:
95
+
96
+ [source,yaml]
97
+ ----
98
+ inherit_gem:
99
+ caliber:
100
+ - config/ruby.yml
101
+ ----
102
+
103
+ The above will only load the RuboCop Ruby configuration. Nothing is required since Caliber already
104
+ requires the RuboCop gem by default.
105
+
106
+ [source,yaml]
107
+ ----
108
+ inherit_gem:
109
+ caliber:
110
+ - config/peformance.yml
111
+ ----
112
+
113
+ The above will only require the RuboCop Performance gem _and_ load the associated configuration.
114
+
115
+ [source,yaml]
116
+ ----
117
+ inherit_gem:
118
+ caliber:
119
+ - config/rake.yml
120
+ ----
121
+
122
+ The above will only require the RuboCop Rake gem _and_ load the associated configuration.
123
+
124
+ [source,yaml]
125
+ ----
126
+ inherit_gem:
127
+ caliber:
128
+ - config/rspec.yml
129
+ ----
130
+
131
+ The above will only require the RuboCop RSpec gem _and_ load the associated configuration.
132
+
75
133
  == Development
76
134
 
77
135
  To contribute, run:
@@ -107,7 +165,7 @@ bundle exec rake
107
165
 
108
166
  == link:https://www.alchemists.io/policies/contributions[Contributions]
109
167
 
110
- == link:https://www.alchemists.io/projects/code_quality/versions[Versions]
168
+ == link:https://www.alchemists.io/projects/caliber/versions[Versions]
111
169
 
112
170
  == link:https://www.alchemists.io/community[Community]
113
171
 
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.1.0"
5
+ spec.version = "0.1.1"
6
6
  spec.authors = ["Brooke Kuhlmann"]
7
7
  spec.email = ["brooke@alchemists.io"]
8
8
  spec.homepage = "https://www.alchemists.io/projects/caliber"
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.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brooke Kuhlmann
@@ -28,7 +28,7 @@ cert_chain:
28
28
  lkHilIrX69jq8wMPpBhlaw2mRmeSL50Wv5u6xVBvOHhXFSP1crXM95vfLhLyRYod
29
29
  W2A=
30
30
  -----END CERTIFICATE-----
31
- date: 2022-02-11 00:00:00.000000000 Z
31
+ date: 2022-02-12 00:00:00.000000000 Z
32
32
  dependencies:
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: refinements
@@ -143,7 +143,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
143
143
  - !ruby/object:Gem::Version
144
144
  version: '0'
145
145
  requirements: []
146
- rubygems_version: 3.3.6
146
+ rubygems_version: 3.3.7
147
147
  signing_key:
148
148
  specification_version: 4
149
149
  summary: Provides a high quality style guide and configuration for your projects.
metadata.gz.sig CHANGED
@@ -1,2 +1,2 @@
1
- ��e1��`�4�_�E��t��bc\y��p�H
2
- 5��@��c �~[�7iV$*��*_sQ?5�zGGg�UC �썉��(COk�:,0<�.��%)~�p�D�.���b��yЅ͒���Ĕ+U{ w�mb�]F��Yۉ�v
1
+ ��Z(zE��Z5yGt�+���� ��l�_��+s�`�{���j�f V���H�q��169"��l,�G
2
+ �U�KkT[Ͼ�D7��ZR���� Î),�E�;Cq8ٟ��,��i���Q��G�ҨІ�o�#���v@v-'s2;}I1]Cs��|Peh����p�A�@��.Ĥ&���h���҉�L·xj:[�?�������@��3іuclslM�%��;��(��wR�m���?���7_%���]