appraisal2-rubocop 0.1.0 → 0.2.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: fa723e433780a88a8a3c2ced426c36b652267bba673bedb0d931a0194033f968
4
- data.tar.gz: 1046a732a41267581bdd666311a6035254c3bb93706038faa222c86c9bd431d5
3
+ metadata.gz: 5936cb9fb022584bf1347a0e085b3f9fec0353202065315cb759964b966e5361
4
+ data.tar.gz: 478ea007e6bf58766219e12ff8cb70f1c29619a6a29befaa82634a8e038df2c9
5
5
  SHA512:
6
- metadata.gz: 3a215c055d8b085a8ce8571c69838f1735e16d9ca6f3d8b830af5d3e0e2b72cd7cdf9d17ebe220c5f2a500d967c31428778318a9d3e5c2482337ee81c5b460e6
7
- data.tar.gz: dc081b745215444b8b22df20ad1c5770665635bcccc23ff7813b75205380979fa2c4785c6bbf93d3f5aaae9afe6b272fa7b014afb9dae7b05b1a81a176e61d2d
6
+ metadata.gz: 44c24993e2b31529ee0a358819fe1bbf55e1531e7dc6614bde6c1214a029cc6e9ea02993f9aaadc8ae17d679c0c9d652b9211eb37f8c9b2b2ca1325ed7ee5b38
7
+ data.tar.gz: 379ea04a2a9e92ad23a8e8d5ead311fc41cb35b43d482e0bf85be919af7301f2c40b5db937e3ad30897c892fbebb23f307feab4bda2eb0751ce4919ba83c369d
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -30,6 +30,32 @@ Please file a bug if you notice a violation of semantic versioning.
30
30
 
31
31
  ### Security
32
32
 
33
+ ## [0.2.1] - 2026-06-14
34
+
35
+ - TAG: [v0.2.1][0.2.1t]
36
+ - COVERAGE: 98.04% -- 50/51 lines in 3 files
37
+ - BRANCH COVERAGE: 80.00% -- 8/10 branches in 3 files
38
+ - 20.00% documented
39
+
40
+ ### Fixed
41
+
42
+ - Restored `docs/CNAME` so the generated documentation site keeps its custom domain.
43
+ - Avoid loading the Ruby-3.2+-only style toolchain from `Appraisal.root.gemfile`
44
+ on Ruby 3.1, fixing Ruby 3.1 CI dependency resolution.
45
+ - Corrected the gemspec public author email to use `floss@galtzo.com`.
46
+
47
+ ## [0.2.0] - 2026-06-06
48
+
49
+ - TAG: [v0.2.0][0.2.0t]
50
+ - COVERAGE: 98.04% -- 50/51 lines in 3 files
51
+ - BRANCH COVERAGE: 80.00% -- 8/10 branches in 3 files
52
+ - 20.00% documented
53
+
54
+ ### Changed
55
+
56
+ - Raised the Appraisal2 dependency floor to 3.1.1 and documented the
57
+ `plugin`/`generator_only` integration shape.
58
+
33
59
  ## [0.1.0] - 2026-06-06
34
60
 
35
61
  - TAG: [v0.1.0][0.1.0t]
@@ -54,6 +80,10 @@ Please file a bug if you notice a violation of semantic versioning.
54
80
  - Replaced the hardcoded local `appraisal2` Gemfile path with ENV-driven
55
81
  `nomono` sibling workspace wiring.
56
82
 
57
- [Unreleased]: https://github.com/appraisal-rb/appraisal2-rubocop/compare/v0.1.0...HEAD
83
+ [Unreleased]: https://github.com/appraisal-rb/appraisal2-rubocop/compare/v0.2.1...HEAD
84
+ [0.2.1]: https://github.com/appraisal-rb/appraisal2-rubocop/compare/v0.2.0...v0.2.1
85
+ [0.2.1t]: https://github.com/appraisal-rb/appraisal2-rubocop/releases/tag/v0.2.1
86
+ [0.2.0]: https://github.com/appraisal-rb/appraisal2-rubocop/compare/v0.1.0...v0.2.0
87
+ [0.2.0t]: https://github.com/appraisal-rb/appraisal2-rubocop/releases/tag/v0.2.0
58
88
  [0.1.0]: https://github.com/appraisal-rb/appraisal2-rubocop/compare/93b1188d679a0d56f960a9cd85b48b2c1e2d1a9f...v0.1.0
59
89
  [0.1.0t]: https://github.com/appraisal-rb/appraisal2-rubocop/releases/tag/v0.1.0
data/README.md CHANGED
@@ -26,7 +26,8 @@ Runs RuboCop against Appraisal2-generated gemfiles via Appraisal2 lifecycle hook
26
26
  This plugin is intended for modern Ruby style-maintenance environments. It does
27
27
  not match Appraisal2's legacy runtime floor.
28
28
 
29
- Require the plugin before generating appraisal gemfiles:
29
+ Load it as an Appraisal2 generator plugin, and make its RuboCop toolchain
30
+ available only to the generator bundle.
30
31
 
31
32
  ## 💡 Info you can shake a stick at
32
33
 
@@ -117,8 +118,37 @@ gem install appraisal2-rubocop
117
118
 
118
119
  ## 🔧 Basic Usage
119
120
 
121
+ Add the plugin to the style toolchain used by the Appraisal root bundle:
122
+
123
+ ```ruby
124
+ # gemfiles/modular/style.gemfile
125
+ gem "appraisal2-rubocop", "~> 0.1", ">= 0.1.0", require: false
126
+ ```
127
+
128
+ Expose that style toolchain only to the Appraisal generator bundle:
129
+
130
+ ```ruby
131
+ # Appraisal.root.gemfile
132
+ if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("3.2")
133
+ if respond_to?(:generator_only)
134
+ generator_only do
135
+ eval_gemfile "gemfiles/modular/style.gemfile"
136
+ end
137
+ else
138
+ eval_gemfile "gemfiles/modular/style.gemfile"
139
+ end
140
+ end
141
+ ```
142
+
143
+ The `respond_to?(:generator_only)` split is for the two DSLs that read this
144
+ file: Appraisal2 uses the `generator_only` block when building generated
145
+ appraisal gemfiles, while Bundler evaluates the same file to install the
146
+ generator bundle.
147
+
148
+ Load the plugin from `Appraisals`:
149
+
120
150
  ```ruby
121
- require "appraisal2/rubocop"
151
+ plugin "appraisal2-rubocop", require: "appraisal2/rubocop", optional: true
122
152
  ```
123
153
 
124
154
  By default each generated gemfile is processed in memory with:
@@ -133,7 +163,7 @@ rubocop --stdin path/to/generated.gemfile --autocorrect --stderr --format quiet
133
163
  | Package | appraisal2-rubocop |
134
164
  | Description | 💎 Appraisal2::Rubocop registers Appraisal2 generation hooks that run RuboCop against generated appraisal gemfiles. |
135
165
  | Homepage | https://github.com/appraisal-rb/appraisal2-rubocop |
136
- | Source | https://github.com/appraisal-rb/appraisal2-rubocop/tree/v0.1.0 |
166
+ | Source | https://github.com/appraisal-rb/appraisal2-rubocop/tree/v0.2.0 |
137
167
  | License | `MIT` |
138
168
  | Funding | https://github.com/sponsors/pboling, https://issuehunt.io/u/pboling, https://ko-fi.com/pboling, https://liberapay.com/pboling/donate, https://opencollective.com/appraisal-rb, https://patreon.com/galtzo, https://polar.sh/pboling, https://thanks.dev/u/gh/pboling, https://tidelift.com/funding/github/rubygems/appraisal2-rubocop, https://www.buymeacoffee.com/pboling |
139
169
  <!-- kettle-jem:metadata:end -->
@@ -492,7 +522,7 @@ Thanks for RTFM. ☺️
492
522
  [📄license-ref]: MIT.md
493
523
  [📄license-img]: https://img.shields.io/badge/License-MIT-259D6C.svg
494
524
  [📄license-compat]: https://www.apache.org/legal/resolved.html#category-a
495
- [📄license-compat-img]: https://img.shields.io/badge/Apache_Compatible:_Category_A-✓-259D6C.svg?style=flat&logo=Apache
525
+ [📄license-compat-img]: https://img.shields.io/badge/Apache_Compatible:_Category_A-%E2%9C%93-259D6C.svg?style=flat&logo=Apache
496
526
 
497
527
  [📄ilo-declaration]: https://www.ilo.org/declaration/lang--en/index.htm
498
528
  [📄ilo-declaration-img]: https://img.shields.io/badge/ILO_Fundamental_Principles-✓-259D6C.svg?style=flat
@@ -3,7 +3,7 @@
3
3
  module Appraisal2
4
4
  module Rubocop
5
5
  module Version
6
- VERSION = "0.1.0"
6
+ VERSION = "0.2.1"
7
7
  end
8
8
  VERSION = Version::VERSION # Traditional Constant Location
9
9
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,10 +1,10 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appraisal2-rubocop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
- - Peter Boling
7
+ - Peter H. Boling
8
8
  bindir: exe
9
9
  cert_chain:
10
10
  - |
@@ -43,14 +43,14 @@ dependencies:
43
43
  requirements:
44
44
  - - ">="
45
45
  - !ruby/object:Gem::Version
46
- version: 3.1.0
46
+ version: 3.1.1
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: 3.1.0
53
+ version: 3.1.1
54
54
  - !ruby/object:Gem::Dependency
55
55
  name: rubocop
56
56
  requirement: !ruby/object:Gem::Requirement
@@ -74,7 +74,7 @@ dependencies:
74
74
  version: '1.1'
75
75
  - - ">="
76
76
  - !ruby/object:Gem::Version
77
- version: 1.1.10
77
+ version: 1.1.11
78
78
  type: :runtime
79
79
  prerelease: false
80
80
  version_requirements: !ruby/object:Gem::Requirement
@@ -84,27 +84,27 @@ dependencies:
84
84
  version: '1.1'
85
85
  - - ">="
86
86
  - !ruby/object:Gem::Version
87
- version: 1.1.10
87
+ version: 1.1.11
88
88
  - !ruby/object:Gem::Dependency
89
89
  name: kettle-dev
90
90
  requirement: !ruby/object:Gem::Requirement
91
91
  requirements:
92
92
  - - "~>"
93
93
  - !ruby/object:Gem::Version
94
- version: '2.0'
94
+ version: '2.2'
95
95
  - - ">="
96
96
  - !ruby/object:Gem::Version
97
- version: 2.0.8
97
+ version: 2.2.8
98
98
  type: :development
99
99
  prerelease: false
100
100
  version_requirements: !ruby/object:Gem::Requirement
101
101
  requirements:
102
102
  - - "~>"
103
103
  - !ruby/object:Gem::Version
104
- version: '2.0'
104
+ version: '2.2'
105
105
  - - ">="
106
106
  - !ruby/object:Gem::Version
107
- version: 2.0.8
107
+ version: 2.2.8
108
108
  - !ruby/object:Gem::Dependency
109
109
  name: bundler-audit
110
110
  requirement: !ruby/object:Gem::Requirement
@@ -162,7 +162,7 @@ dependencies:
162
162
  version: '2.0'
163
163
  - - ">="
164
164
  - !ruby/object:Gem::Version
165
- version: 2.0.3
165
+ version: 2.0.5
166
166
  type: :development
167
167
  prerelease: false
168
168
  version_requirements: !ruby/object:Gem::Requirement
@@ -172,7 +172,7 @@ dependencies:
172
172
  version: '2.0'
173
173
  - - ">="
174
174
  - !ruby/object:Gem::Version
175
- version: 2.0.3
175
+ version: 2.0.5
176
176
  - !ruby/object:Gem::Dependency
177
177
  name: turbo_tests2
178
178
  requirement: !ruby/object:Gem::Requirement
@@ -182,7 +182,7 @@ dependencies:
182
182
  version: '3.1'
183
183
  - - ">="
184
184
  - !ruby/object:Gem::Version
185
- version: 3.1.1
185
+ version: 3.1.2
186
186
  type: :development
187
187
  prerelease: false
188
188
  version_requirements: !ruby/object:Gem::Requirement
@@ -192,7 +192,7 @@ dependencies:
192
192
  version: '3.1'
193
193
  - - ">="
194
194
  - !ruby/object:Gem::Version
195
- version: 3.1.1
195
+ version: 3.1.2
196
196
  - !ruby/object:Gem::Dependency
197
197
  name: ruby-progressbar
198
198
  requirement: !ruby/object:Gem::Requirement
@@ -264,7 +264,7 @@ dependencies:
264
264
  description: "\U0001F48E Appraisal2::Rubocop registers Appraisal2 generation hooks
265
265
  that run RuboCop against generated appraisal gemfiles."
266
266
  email:
267
- - galtzo@floss.com
267
+ - floss@galtzo.com
268
268
  executables: []
269
269
  extensions: []
270
270
  extra_rdoc_files:
@@ -298,10 +298,10 @@ licenses:
298
298
  - MIT
299
299
  metadata:
300
300
  homepage_uri: https://appraisal2-rubocop.galtzo.com
301
- source_code_uri: https://github.com/appraisal-rb/appraisal2-rubocop/tree/v0.1.0
302
- changelog_uri: https://github.com/appraisal-rb/appraisal2-rubocop/blob/v0.1.0/CHANGELOG.md
301
+ source_code_uri: https://github.com/appraisal-rb/appraisal2-rubocop/tree/v0.2.1
302
+ changelog_uri: https://github.com/appraisal-rb/appraisal2-rubocop/blob/v0.2.1/CHANGELOG.md
303
303
  bug_tracker_uri: https://github.com/appraisal-rb/appraisal2-rubocop/issues
304
- documentation_uri: https://www.rubydoc.info/gems/appraisal2-rubocop/0.1.0
304
+ documentation_uri: https://www.rubydoc.info/gems/appraisal2-rubocop/0.2.1
305
305
  funding_uri: https://github.com/sponsors/pboling
306
306
  wiki_uri: https://github.com/appraisal-rb/appraisal2-rubocop/wiki
307
307
  news_uri: https://www.railsbling.com/tags/appraisal2-rubocop
metadata.gz.sig CHANGED
Binary file