kettle-drift 1.0.6 → 1.0.8

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: ae3a411b8c94c33ef0a8704b899944e75254e0f9d4b85ef0bd31dec168d1ad52
4
- data.tar.gz: 22f5e3d7befd5dc711be61dc6623be217d626576cf7a62d06d898eec831dc77e
3
+ metadata.gz: 87b1b42017a9d4112bd40eff487d4ab927c777acaafe913c1d000eaf6ed3479d
4
+ data.tar.gz: dfa567d6f832de7adbc7a8f68f4916ce7454e515bb850f94f7245be510ee183e
5
5
  SHA512:
6
- metadata.gz: 43dd2c26f96ba4a797d78a686f6ef95ccaa987c190d961688a3ea9b76307630b49713b82f2a71eed34f057aefa71df269fd56944e92a1782315a9890a03ed166
7
- data.tar.gz: 94390d25f1e88712a6e3265e807a4ec6f8886c9c8c41fcbd332ff024581a61eb2428af68f0faa4cb216d38bb6c4c95dcd7487494202afad7057d7808dfd8d618
6
+ metadata.gz: 2c105246dbfca2521baf84153a5fdb17fe588a0a4135f4ea990586dcddb0a7729f066cde9bb01ea19f0f4a2e69a2f4eed3856faa8a2c9bfd726a9da07172c7d9
7
+ data.tar.gz: 478cbed465b10f451620a14247dc0117f7f74fbabb795a53f2c1adc6c4f35d73d4c7112635d0ea350d28bddc861e1782a38fc604799bff1568a8891b5886d764
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -30,6 +30,73 @@ Please file a bug if you notice a violation of semantic versioning.
30
30
 
31
31
  ### Security
32
32
 
33
+ ## [1.0.8] - 2026-07-28
34
+
35
+ - TAG: [v1.0.8][1.0.8t]
36
+ - COVERAGE: 81.02% -- 427/527 lines in 14 files
37
+ - BRANCH COVERAGE: 65.84% -- 133/202 branches in 14 files
38
+ - 34.95% documented
39
+
40
+ ### Added
41
+
42
+ - kettle-jem-template-20260726-001 - Projects now include YARD lint
43
+ configuration and documentation dependencies so documentation issues fail
44
+ before generated docs are refreshed.
45
+
46
+ - kettle-jem-template-20260727-001 - Spec harness documentation now lists the
47
+ RSpec helpers provided by `kettle-test`.
48
+
49
+ ### Changed
50
+
51
+ - The `kettle-drift` executable startup header is now shown only when
52
+ `--verbose` is passed; `-v` and `--version` still print just the executable
53
+ version and exit.
54
+
55
+ - kettle-jem-template-20260725-002 - Version specs now use `anonymous_loader` to
56
+ cover `version.rb` without redefining constants, or are removed when version
57
+ specs are not managed for the project.
58
+
59
+ - kettle-jem-template-20260728-001 - Generated Ruby workflows now use clearer
60
+ setup-ruby-flash planning and can prepare appraisal-only jobs without
61
+ installing the main Gemfile bundle.
62
+
63
+ ### Fixed
64
+
65
+ - kettle-jem-template-20260726-002 - Generated version files now document their
66
+ version namespace and constants, reducing warning-only YARD lint output.
67
+
68
+ - kettle-jem-template-20260726-003 - Coverage upload steps now treat Coveralls,
69
+ QLTY, and Codecov as optional, so provider outages do not fail CI when local
70
+ coverage thresholds still pass.
71
+ - kettle-jem-template-20260728-002 - Generated RuboCop configs now ignore the
72
+ same `gemfiles/vendor/bundle` tree as `.gitignore`, so vendored dependency
73
+ installs are not reported as project lint debt.
74
+ - kettle-jem-template-20260728-003 - Generated dep-heads workflows now run
75
+ TruffleRuby jobs with current RubyGems and Bundler, avoiding setup failures
76
+ before the test suite starts.
77
+
78
+ ## [1.0.7] - 2026-07-25
79
+
80
+ - TAG: [v1.0.7][1.0.7t]
81
+ - COVERAGE: 81.02% -- 427/527 lines in 14 files
82
+ - BRANCH COVERAGE: 65.84% -- 133/202 branches in 14 files
83
+ - 33.01% documented
84
+
85
+ ### Changed
86
+
87
+ - The `kettle-drift` executable now supports `-v` / `--version` and prints a
88
+ standard startup header on normal runs.
89
+
90
+ - kettle-jem-template-20260725-001 - Generated JRuby and TruffleRuby workflow
91
+ files now run when pull request head branches start with `feature/release`,
92
+ so release CI monitoring does not report intentionally skipped engine
93
+ workflows as failures.
94
+
95
+ ### Fixed
96
+
97
+ - The `kettle-drift` executable now uses normal `require` loading for its version
98
+ file, avoiding `require_relative` lint drift in shipped executables.
99
+
33
100
  ## [1.0.6] - 2026-07-21
34
101
 
35
102
  - TAG: [v1.0.6][1.0.6t]
@@ -139,7 +206,11 @@ Please file a bug if you notice a violation of semantic versioning.
139
206
 
140
207
  - Initial release
141
208
 
142
- [Unreleased]: https://github.com/kettle-dev/kettle-drift/compare/v1.0.6...HEAD
209
+ [Unreleased]: https://github.com/kettle-dev/kettle-drift/compare/v1.0.8...HEAD
210
+ [1.0.8]: https://github.com/kettle-dev/kettle-drift/compare/v1.0.7...v1.0.8
211
+ [1.0.8t]: https://github.com/kettle-dev/kettle-drift/releases/tag/v1.0.8
212
+ [1.0.7]: https://github.com/kettle-dev/kettle-drift/compare/v1.0.6...v1.0.7
213
+ [1.0.7t]: https://github.com/kettle-dev/kettle-drift/releases/tag/v1.0.7
143
214
  [1.0.6]: https://github.com/kettle-dev/kettle-drift/compare/v1.0.5...v1.0.6
144
215
  [1.0.6t]: https://github.com/kettle-dev/kettle-drift/releases/tag/v1.0.6
145
216
  [1.0.5]: https://github.com/kettle-dev/kettle-drift/compare/v1.0.4...v1.0.5
data/LICENSE.md CHANGED
@@ -3,7 +3,7 @@
3
3
  This project is made available under the following license.
4
4
  Choose the option that best fits your use case:
5
5
 
6
- - [AGPL-3.0-only](AGPL-3.0-only.md)
6
+ - [AGPL-3.0-only](https://github.com/kettle-dev/kettle-drift/blob/main/AGPL-3.0-only.md)
7
7
 
8
8
  If none of the above licenses fit your use case, please [contact us](mailto:floss@galtzo.com) to discuss a custom commercial license.
9
9
 
data/README.md CHANGED
@@ -36,7 +36,7 @@ the whole repository.
36
36
  | Works with MRI Ruby 4 | [![Ruby current Compat][💎ruby-c-i]][🚎11-c-wf] [![Ruby HEAD Compat][💎ruby-headi]][🚎3-hd-wf]|
37
37
  | Works with MRI Ruby 3 | [![Ruby 3.2 Compat][💎ruby-3.2i]][🚎ruby-3.2-wf] [![Ruby 3.3 Compat][💎ruby-3.3i]][🚎ruby-3.3-wf] [![Ruby 3.4 Compat][💎ruby-3.4i]][🚎ruby-3.4-wf]|
38
38
  | Support & Community | [![Join Me on Daily.dev's RubyFriends][✉️ruby-friends-img]][✉️ruby-friends] [![Get help from RubyForum][✉️ruby-forum-img]][✉️ruby-forum] [![Live Chat on Discord][✉️discord-invite-img-ftb]][✉️discord-invite] [![Get help from me on Upwork][👨🏼‍🏫expsup-upwork-img]][👨🏼‍🏫expsup-upwork] [![Get help from me on Codementor][👨🏼‍🏫expsup-codementor-img]][👨🏼‍🏫expsup-codementor] |
39
- | Source | [![Source on GitLab.com][📜src-gl-img]][📜src-gl] [![Source on CodeBerg.org][📜src-cb-img]][📜src-cb] [![Source on Github.com][📜src-gh-img]][📜src-gh] [![The best SHA: dQw4w9WgXcQ!][🧮kloc-img]][🧮kloc] |
39
+ | Source | [![Source on GitLab.com][📜src-gl-img]][📜src-gl] [![Source on CodeBerg.org][📜src-cb-img]][📜src-cb] [![Source on GitHub.com][📜src-gh-img]][📜src-gh] [![The best SHA: dQw4w9WgXcQ!][🧮kloc-img]][🧮kloc] |
40
40
  | Documentation | [![Current release on RubyDoc.info][📜docs-cr-rd-img]][🚎yard-current] [![YARD on Galtzo.com][📜docs-head-rd-img]][🚎yard-head] [![Maintainer Blog][🚂maint-blog-img]][🚂maint-blog] [![GitLab Wiki][📜gl-wiki-img]][📜gl-wiki] [![GitHub Wiki][📜gh-wiki-img]][📜gh-wiki] |
41
41
  | Compliance | [![License: AGPL-3.0-only][📄license-img]][📄license] [![Apache license compatibility: Category X][📄license-compat-img]][📄license-compat] [![📄ilo-declaration-img]][📄ilo-declaration] [![Security Policy][🔐security-img]][🔐security] [![Contributor Covenant 2.1][🪇conduct-img]][🪇conduct] [![SemVer 2.0.0][📌semver-img]][📌semver] |
42
42
  | Style | [![Enforced Code Style Linter][💎rlts-img]][💎rlts] [![Keep-A-Changelog 1.0.0][📗keep-changelog-img]][📗keep-changelog] [![Gitmoji Commits][📌gitmoji-img]][📌gitmoji] [![Compatibility appraised by: appraisal2][💎appraisal2-img]][💎appraisal2] |
@@ -256,7 +256,7 @@ See [CHANGELOG.md][📌changelog] for a list of releases.
256
256
 
257
257
  ## 📄 License
258
258
 
259
- The gem is available under the following license: [AGPL-3.0-only](AGPL-3.0-only.md).
259
+ The gem is available under the following license: [AGPL-3.0-only](https://github.com/kettle-dev/kettle-drift/blob/main/AGPL-3.0-only.md).
260
260
  See [LICENSE.md][📄license] for details.
261
261
 
262
262
  If none of the available licenses suit your use case, please [contact us](mailto:floss@galtzo.com) to discuss a custom commercial license.
@@ -373,7 +373,7 @@ Thanks for RTFM. ☺️
373
373
  [📜src-gl]: https://gitlab.com/kettle-dev/kettle-drift
374
374
  [📜src-cb-img]: https://img.shields.io/badge/CodeBerg-4893CC?style=for-the-badge&logo=CodeBerg&logoColor=blue
375
375
  [📜src-cb]: https://codeberg.org/kettle-dev/kettle-drift
376
- [📜src-gh-img]: https://img.shields.io/badge/GitHub-238636?style=for-the-badge&logo=Github&logoColor=green
376
+ [📜src-gh-img]: https://img.shields.io/badge/GitHub-238636?style=for-the-badge&logo=GitHub&logoColor=green
377
377
  [📜src-gh]: https://github.com/kettle-dev/kettle-drift
378
378
  [📜docs-cr-rd-img]: https://img.shields.io/badge/RubyDoc-Current_Release-943CD2?style=for-the-badge&logo=readthedocs&logoColor=white
379
379
  [📜docs-head-rd-img]: https://img.shields.io/badge/YARD_on_Galtzo.com-HEAD-943CD2?style=for-the-badge&logo=readthedocs&logoColor=white
@@ -462,7 +462,7 @@ Thanks for RTFM. ☺️
462
462
  [🔐security-img]: https://img.shields.io/badge/security-policy-259D6C.svg?style=flat
463
463
  [📄copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
464
464
  [📄license]: LICENSE.md
465
- [📄license-ref]: AGPL-3.0-only.md
465
+ [📄license-ref]: https://github.com/kettle-dev/kettle-drift/blob/main/AGPL-3.0-only.md
466
466
  [📄license-img]: https://img.shields.io/badge/License-AGPL--3.0--only-259D6C.svg
467
467
  [📄license-compat]: https://www.apache.org/legal/resolved.html#category-x
468
468
  [📄license-compat-img]: https://img.shields.io/badge/Apache_Incompatible:_Category_X-%E2%9C%97-C0392B.svg?style=flat&logo=Apache
data/exe/kettle-drift CHANGED
@@ -1,6 +1,18 @@
1
1
  #!/usr/bin/env ruby
2
2
  # frozen_string_literal: true
3
3
 
4
+ script_basename = File.basename(__FILE__)
5
+ repo_lib = File.expand_path("../lib", __dir__)
6
+ $LOAD_PATH.unshift(repo_lib) if File.directory?(repo_lib) && !$LOAD_PATH.include?(repo_lib)
7
+
8
+ require "kettle/drift/version"
9
+ if ARGV.any? { |arg| arg == "-v" || arg == "--version" }
10
+ puts Kettle::Drift::Version::VERSION
11
+ exit(0)
12
+ end
13
+
4
14
  require "kettle/drift"
5
15
 
16
+ puts "== #{script_basename} v#{Kettle::Drift::Version::VERSION} ==" if ARGV.delete("--verbose")
17
+
6
18
  exit(Kettle::Drift::CLI.new.run(ARGV))
@@ -2,9 +2,12 @@
2
2
 
3
3
  module Kettle
4
4
  module Drift
5
+ # Version namespace for this gem.
5
6
  module Version
6
- VERSION = "1.0.6"
7
+ # Current gem version.
8
+ VERSION = "1.0.8"
7
9
  end
10
+ # Current gem version exposed at the traditional constant location.
8
11
  VERSION = Version::VERSION # Traditional Constant Location
9
12
  end
10
13
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kettle-drift
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.6
4
+ version: 1.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter H. Boling
@@ -125,6 +125,26 @@ dependencies:
125
125
  - - ">="
126
126
  - !ruby/object:Gem::Version
127
127
  version: 1.0.4
128
+ - !ruby/object:Gem::Dependency
129
+ name: anonymous_loader
130
+ requirement: !ruby/object:Gem::Requirement
131
+ requirements:
132
+ - - "~>"
133
+ - !ruby/object:Gem::Version
134
+ version: '0.1'
135
+ - - ">="
136
+ - !ruby/object:Gem::Version
137
+ version: 0.1.3
138
+ type: :development
139
+ prerelease: false
140
+ version_requirements: !ruby/object:Gem::Requirement
141
+ requirements:
142
+ - - "~>"
143
+ - !ruby/object:Gem::Version
144
+ version: '0.1'
145
+ - - ">="
146
+ - !ruby/object:Gem::Version
147
+ version: 0.1.3
128
148
  - !ruby/object:Gem::Dependency
129
149
  name: appraisal2
130
150
  requirement: !ruby/object:Gem::Requirement
@@ -154,7 +174,7 @@ dependencies:
154
174
  version: '2.0'
155
175
  - - ">="
156
176
  - !ruby/object:Gem::Version
157
- version: 2.0.11
177
+ version: 2.0.16
158
178
  type: :development
159
179
  prerelease: false
160
180
  version_requirements: !ruby/object:Gem::Requirement
@@ -164,7 +184,7 @@ dependencies:
164
184
  version: '2.0'
165
185
  - - ">="
166
186
  - !ruby/object:Gem::Version
167
- version: 2.0.11
187
+ version: 2.0.16
168
188
  - !ruby/object:Gem::Dependency
169
189
  name: turbo_tests2
170
190
  requirement: !ruby/object:Gem::Requirement
@@ -174,7 +194,7 @@ dependencies:
174
194
  version: '3.2'
175
195
  - - ">="
176
196
  - !ruby/object:Gem::Version
177
- version: 3.2.0
197
+ version: 3.2.3
178
198
  type: :development
179
199
  prerelease: false
180
200
  version_requirements: !ruby/object:Gem::Requirement
@@ -184,7 +204,7 @@ dependencies:
184
204
  version: '3.2'
185
205
  - - ">="
186
206
  - !ruby/object:Gem::Version
187
- version: 3.2.0
207
+ version: 3.2.3
188
208
  - !ruby/object:Gem::Dependency
189
209
  name: ruby-progressbar
190
210
  requirement: !ruby/object:Gem::Requirement
@@ -208,7 +228,7 @@ dependencies:
208
228
  version: '1.0'
209
229
  - - ">="
210
230
  - !ruby/object:Gem::Version
211
- version: 1.0.6
231
+ version: 1.0.7
212
232
  type: :development
213
233
  prerelease: false
214
234
  version_requirements: !ruby/object:Gem::Requirement
@@ -218,7 +238,7 @@ dependencies:
218
238
  version: '1.0'
219
239
  - - ">="
220
240
  - !ruby/object:Gem::Version
221
- version: 1.0.6
241
+ version: 1.0.7
222
242
  - !ruby/object:Gem::Dependency
223
243
  name: gitmoji-regex
224
244
  requirement: !ruby/object:Gem::Requirement
@@ -228,7 +248,7 @@ dependencies:
228
248
  version: '2.0'
229
249
  - - ">="
230
250
  - !ruby/object:Gem::Version
231
- version: 2.0.4
251
+ version: 2.0.6
232
252
  type: :development
233
253
  prerelease: false
234
254
  version_requirements: !ruby/object:Gem::Requirement
@@ -238,7 +258,7 @@ dependencies:
238
258
  version: '2.0'
239
259
  - - ">="
240
260
  - !ruby/object:Gem::Version
241
- version: 2.0.4
261
+ version: 2.0.6
242
262
  description: "\U0001F372 Kettle::Drift tracks repeated adjacent-line chunks that usually
243
263
  signal template drift or copy/paste corruption."
244
264
  email:
@@ -272,10 +292,10 @@ licenses:
272
292
  - AGPL-3.0-only
273
293
  metadata:
274
294
  homepage_uri: https://kettle-drift.galtzo.com
275
- source_code_uri: https://github.com/kettle-dev/kettle-drift/tree/v1.0.6
276
- changelog_uri: https://github.com/kettle-dev/kettle-drift/blob/v1.0.6/CHANGELOG.md
295
+ source_code_uri: https://github.com/kettle-dev/kettle-drift/tree/v1.0.8
296
+ changelog_uri: https://github.com/kettle-dev/kettle-drift/blob/v1.0.8/CHANGELOG.md
277
297
  bug_tracker_uri: https://github.com/kettle-dev/kettle-drift/issues
278
- documentation_uri: https://www.rubydoc.info/gems/kettle-drift/1.0.6
298
+ documentation_uri: https://www.rubydoc.info/gems/kettle-drift/1.0.8
279
299
  funding_uri: https://github.com/sponsors/pboling
280
300
  wiki_uri: https://github.com/kettle-dev/kettle-drift/wiki
281
301
  news_uri: https://www.railsbling.com/tags/kettle-drift
@@ -305,7 +325,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
305
325
  - !ruby/object:Gem::Version
306
326
  version: '0'
307
327
  requirements: []
308
- rubygems_version: 4.0.16
328
+ rubygems_version: 4.0.17
309
329
  specification_version: 4
310
330
  summary: "\U0001F372 Detect duplicated adjacent lines introduced by template drift."
311
331
  test_files: []
metadata.gz.sig CHANGED
Binary file