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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data/CHANGELOG.md +31 -1
- data/README.md +34 -4
- data/lib/appraisal2/rubocop/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +18 -18
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5936cb9fb022584bf1347a0e085b3f9fec0353202065315cb759964b966e5361
|
|
4
|
+
data.tar.gz: 478ea007e6bf58766219e12ff8cb70f1c29619a6a29befaa82634a8e038df2c9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
|
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
|
-
|
|
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.
|
|
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
|
|
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
|
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
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
94
|
+
version: '2.2'
|
|
95
95
|
- - ">="
|
|
96
96
|
- !ruby/object:Gem::Version
|
|
97
|
-
version: 2.
|
|
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.
|
|
104
|
+
version: '2.2'
|
|
105
105
|
- - ">="
|
|
106
106
|
- !ruby/object:Gem::Version
|
|
107
|
-
version: 2.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
|
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
|
|
302
|
-
changelog_uri: https://github.com/appraisal-rb/appraisal2-rubocop/blob/v0.1
|
|
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
|
|
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
|