kettle-dev 2.0.8 → 2.1.0

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: 4cd7fe54eb870c3b29cd7f317c335f06dd69d4c3d924686b835bbba97f42bbed
4
- data.tar.gz: 1ce512b94f7fbd3089ae283c51128e526c9b48d825204409795e1c60d9c689dd
3
+ metadata.gz: d0939e7fbe918113808390ac5a59aa00eb55ef29f3cc5333e97891f934413027
4
+ data.tar.gz: ef89c8c3ba19f7da27e08c882f1484d78b40e820371c70cc14d343ca7aa74f17
5
5
  SHA512:
6
- metadata.gz: deb60bf014b1a739225b8478d9337a06c94ae40fa57edaa0a654603a3dd04eca76ad8bc88086bbde824de19477f82a8c6bd4537c6a59dd76d3b6a51304888005
7
- data.tar.gz: 78e31f3c9ae1052e3009d8055d1ac17dcf93def82827c3fe3ca7d026115195802b9cebf91dd4b29d48990993bf174f5e11616e1e454107eaaa0a42f831730858
6
+ metadata.gz: 2458f3f267ecf17c4a6badd5ff6e52a2ab5c7480dab066634eb192ded14b551b72681dd7ec3e009d51f2ab51f405e3387c539ad65290e8043a7493ec2852b869
7
+ data.tar.gz: 75c6af98860bf08b8c807db3bc12dab3aa7a86cb557100b67d195a9630f8d141ca0a50d3e2fec51f715248ded501a46c2dd2fe18b039a840da95134abe97061b
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -30,6 +30,23 @@ Please file a bug if you notice a violation of semantic versioning.
30
30
 
31
31
  ### Security
32
32
 
33
+ ## [2.1.0] - 2026-06-06
34
+
35
+ - TAG: [v2.1.0][2.1.0t]
36
+ - COVERAGE: 93.52% -- 2973/3179 lines in 25 files
37
+ - BRANCH COVERAGE: 77.58% -- 1204/1552 branches in 25 files
38
+ - 75.93% documented
39
+
40
+ ### Changed
41
+
42
+ - `appraisal:install` now uses `appraisal generate-install`, and
43
+ `appraisal:update` now uses `appraisal generate-update`, preserving
44
+ generation-before-resolution behavior after Appraisal2 split pure install and
45
+ update commands from generation.
46
+ - Appraisal gemfile cleanup is no longer run directly by kettle-dev appraisal
47
+ tasks; projects that need generated gemfile normalization should load an
48
+ Appraisal2 plugin hook such as `appraisal2-rubocop`.
49
+
33
50
  ## [2.0.8] - 2026-06-02
34
51
 
35
52
  - TAG: [v2.0.8][2.0.8t]
@@ -1877,7 +1894,9 @@ Please file a bug if you notice a violation of semantic versioning.
1877
1894
  - Selecting will run the selected workflow via `act`
1878
1895
  - This may move to its own gem in the future.
1879
1896
 
1880
- [Unreleased]: https://github.com/kettle-rb/kettle-dev/compare/v2.0.8...HEAD
1897
+ [Unreleased]: https://github.com/kettle-rb/kettle-dev/compare/v2.1.0...HEAD
1898
+ [2.1.0]: https://github.com/kettle-rb/kettle-dev/compare/v2.0.8...v2.1.0
1899
+ [2.1.0t]: https://github.com/kettle-rb/kettle-dev/releases/tag/v2.1.0
1881
1900
  [2.0.8]: https://github.com/kettle-rb/kettle-dev/compare/v2.0.7...v2.0.8
1882
1901
  [2.0.8t]: https://github.com/kettle-rb/kettle-dev/releases/tag/v2.0.8
1883
1902
  [2.0.7]: https://github.com/kettle-rb/kettle-dev/compare/v2.0.6...v2.0.7
data/LICENSE.md CHANGED
@@ -9,4 +9,4 @@ If none of the above licenses fit your use case, please [contact us](mailto:flos
9
9
 
10
10
  ## Copyright Notice
11
11
 
12
- Copyright (c) 2023, 2025-2026 Peter H. Boling
12
+ - Copyright (c) 2023, 2025-2026 Peter H. Boling
data/README.md CHANGED
@@ -811,7 +811,7 @@ Thanks for RTFM. ☺️
811
811
  [📌gitmoji]: https://gitmoji.dev
812
812
  [📌gitmoji-img]: https://img.shields.io/badge/gitmoji_commits-%20%F0%9F%98%9C%20%F0%9F%98%8D-34495e.svg?style=flat-square
813
813
  [🧮kloc]: https://www.youtube.com/watch?v=dQw4w9WgXcQ
814
- [🧮kloc-img]: https://img.shields.io/badge/KLOC-3.181-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
814
+ [🧮kloc-img]: https://img.shields.io/badge/KLOC-3.179-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
815
815
  [🔐security]: https://github.com/kettle-rb/kettle-dev/blob/main/SECURITY.md
816
816
  [🔐security-img]: https://img.shields.io/badge/security-policy-259D6C.svg?style=flat
817
817
  [📄copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
@@ -839,7 +839,7 @@ Thanks for RTFM. ☺️
839
839
  | Package | kettle-dev |
840
840
  | Description | 🍲 Kettle::Dev is a meta tool from kettle-rb to streamline development and testing. Acts as a shim dependency, pulling in many other dependencies, to give you OOTB productivity with a RubyGem, or Ruby app project. Configures a complete set of Rake tasks, for all the libraries is brings in, so they arrive ready to go. Fund overlooked open source projects - bottom of stack, dev/test dependencies: floss-funding.dev |
841
841
  | Homepage | https://github.com/kettle-rb/kettle-dev |
842
- | Source | https://github.com/kettle-rb/kettle-dev/tree/v2.0.8 |
842
+ | Source | https://github.com/kettle-rb/kettle-dev/tree/v2.1.0 |
843
843
  | License | `AGPL-3.0-only` |
844
844
  | Funding | https://github.com/sponsors/pboling, https://issuehunt.io/u/pboling, https://ko-fi.com/pboling, https://liberapay.com/pboling/donate, https://opencollective.com/kettle-rb, https://patreon.com/galtzo, https://polar.sh/pboling, https://thanks.dev/u/gh/pboling, https://tidelift.com/funding/github/rubygems/kettle-dev, https://www.buymeacoffee.com/pboling |
845
845
  <!-- kettle-jem:metadata:end -->
data/SECURITY.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  | Version | Supported |
6
6
  |----------|-----------|
7
- | 2.0.latest | ✅ |
7
+ | 2.1.latest | ✅ |
8
8
 
9
9
  ## Security contact information
10
10
 
@@ -4,24 +4,76 @@
4
4
  begin
5
5
  require "appraisal/task"
6
6
 
7
- desc("Install Appraisal gemfiles (initial setup for projects that didn't previously use Appraisal)")
8
- task("appraisal:install") do
9
- bundle = "bundle"
7
+ bundle = "bundle"
8
+ appraisal_env = {"BUNDLE_GEMFILE" => "Appraisal.root.gemfile"}
10
9
 
11
- run_in_unbundled = proc do
12
- env = {"BUNDLE_GEMFILE" => "Appraisal.root.gemfile"}
10
+ run_command = lambda do |failure_message, *args|
11
+ ok = system(*args)
12
+ raise(failure_message) unless ok
13
+ end
13
14
 
14
- # 1) BUNDLE_GEMFILE=Appraisal.root.gemfile bundle install
15
- ok = system(env, bundle, "install")
16
- abort("appraisal:install failed: BUNDLE_GEMFILE=Appraisal.root.gemfile bundle install") unless ok
15
+ run_generate_steps = lambda do
16
+ # 1) BUNDLE_GEMFILE=Appraisal.root.gemfile bundle install
17
+ run_command.call(
18
+ "appraisal:generate failed: BUNDLE_GEMFILE=Appraisal.root.gemfile bundle install",
19
+ appraisal_env,
20
+ bundle,
21
+ "install"
22
+ )
23
+
24
+ # 2) BUNDLE_GEMFILE=Appraisal.root.gemfile bundle exec appraisal generate
25
+ run_command.call(
26
+ "appraisal:generate failed: BUNDLE_GEMFILE=Appraisal.root.gemfile bundle exec appraisal generate",
27
+ appraisal_env,
28
+ bundle,
29
+ "exec",
30
+ "appraisal",
31
+ "generate"
32
+ )
33
+ end
17
34
 
18
- # 2) BUNDLE_GEMFILE=Appraisal.root.gemfile bundle exec appraisal install
19
- ok = system(env, bundle, "exec", "appraisal", "install")
20
- abort("appraisal:install failed: bundle exec appraisal install") unless ok
35
+ run_appraisal_task = lambda do |task_name, primary_steps = nil|
36
+ begin
37
+ if primary_steps
38
+ begin
39
+ primary_steps.call
40
+ rescue RuntimeError => e
41
+ warn("[kettle-dev][#{task_name}] #{e.message}; falling back to appraisal:generate")
42
+ run_generate_steps.call
43
+ end
44
+ else
45
+ run_generate_steps.call
46
+ end
47
+ rescue RuntimeError => e
48
+ abort(e.message)
49
+ end
50
+ end
21
51
 
22
- # 3) bundle exec rake rubocop_gradual:autocorrect
23
- ok = system(bundle, "exec", "rake", "rubocop_gradual:autocorrect")
24
- abort("appraisal:update failed: rubocop_gradual:autocorrect") unless ok
52
+ desc("Install Appraisal gemfiles (initial setup for projects that didn't previously use Appraisal)")
53
+ task("appraisal:install") do
54
+ run_in_unbundled = proc do
55
+ run_appraisal_task.call(
56
+ "appraisal:install",
57
+ lambda do
58
+ # 1) BUNDLE_GEMFILE=Appraisal.root.gemfile bundle install
59
+ run_command.call(
60
+ "appraisal:install failed: BUNDLE_GEMFILE=Appraisal.root.gemfile bundle install",
61
+ appraisal_env,
62
+ bundle,
63
+ "install"
64
+ )
65
+
66
+ # 2) BUNDLE_GEMFILE=Appraisal.root.gemfile bundle exec appraisal generate-install
67
+ run_command.call(
68
+ "appraisal:install failed: BUNDLE_GEMFILE=Appraisal.root.gemfile bundle exec appraisal generate-install",
69
+ appraisal_env,
70
+ bundle,
71
+ "exec",
72
+ "appraisal",
73
+ "generate-install"
74
+ )
75
+ end
76
+ )
25
77
  end
26
78
 
27
79
  if defined?(Bundler)
@@ -33,18 +85,8 @@ begin
33
85
 
34
86
  desc("Generate Appraisal gemfiles without resolving appraisal locks")
35
87
  task("appraisal:generate") do
36
- bundle = "bundle"
37
-
38
88
  run_in_unbundled = proc do
39
- env = {"BUNDLE_GEMFILE" => "Appraisal.root.gemfile"}
40
-
41
- # 1) BUNDLE_GEMFILE=Appraisal.root.gemfile bundle install
42
- ok = system(env, bundle, "install")
43
- abort("appraisal:generate failed: BUNDLE_GEMFILE=Appraisal.root.gemfile bundle install") unless ok
44
-
45
- # 2) BUNDLE_GEMFILE=Appraisal.root.gemfile bundle exec appraisal generate
46
- ok = system(env, bundle, "exec", "appraisal", "generate")
47
- abort("appraisal:generate failed: BUNDLE_GEMFILE=Appraisal.root.gemfile bundle exec appraisal generate") unless ok
89
+ run_appraisal_task.call("appraisal:generate")
48
90
  end
49
91
 
50
92
  if defined?(Bundler)
@@ -54,32 +96,48 @@ begin
54
96
  end
55
97
  end
56
98
 
57
- desc("Update Appraisal gemfiles and run RuboCop Gradual autocorrect")
99
+ desc("Generate and update Appraisal gemfiles")
58
100
  task("appraisal:update") do
59
- bundle = "bundle"
60
-
61
101
  run_in_unbundled = proc do
62
- env = {"BUNDLE_GEMFILE" => "Appraisal.root.gemfile"}
63
-
64
- # 1) BUNDLE_GEMFILE=Appraisal.root.gemfile bundle install
65
- ok = system(env, bundle, "install")
66
- abort("appraisal:update failed: BUNDLE_GEMFILE=Appraisal.root.gemfile bundle install") unless ok
67
-
68
- # 2) BUNDLE_GEMFILE=Appraisal.root.gemfile bundle update --bundler
69
- ok = system(env, bundle, "update", "--bundler")
70
- abort("appraisal:update failed: BUNDLE_GEMFILE=Appraisal.root.gemfile bundle update --bundler") unless ok
71
-
72
- # 3) BUNDLE_GEMFILE=Appraisal.root.gemfile bundle install
73
- ok = system(env, bundle, "install")
74
- abort("appraisal:update failed: BUNDLE_GEMFILE=Appraisal.root.gemfile bundle install") unless ok
75
-
76
- # 4) BUNDLE_GEMFILE=Appraisal.root.gemfile bundle exec appraisal update
77
- ok = system(env, bundle, "exec", "appraisal", "update")
78
- abort("appraisal:update failed: BUNDLE_GEMFILE=Appraisal.root.gemfile bundle exec appraisal update") unless ok
79
-
80
- # 5) bundle exec rake rubocop_gradual:autocorrect
81
- ok = system(bundle, "exec", "rake", "rubocop_gradual:autocorrect")
82
- abort("appraisal:update failed: rubocop_gradual:autocorrect") unless ok
102
+ run_appraisal_task.call(
103
+ "appraisal:update",
104
+ lambda do
105
+ # 1) BUNDLE_GEMFILE=Appraisal.root.gemfile bundle install
106
+ run_command.call(
107
+ "appraisal:update failed: BUNDLE_GEMFILE=Appraisal.root.gemfile bundle install",
108
+ appraisal_env,
109
+ bundle,
110
+ "install"
111
+ )
112
+
113
+ # 2) BUNDLE_GEMFILE=Appraisal.root.gemfile bundle update --bundler
114
+ run_command.call(
115
+ "appraisal:update failed: BUNDLE_GEMFILE=Appraisal.root.gemfile bundle update --bundler",
116
+ appraisal_env,
117
+ bundle,
118
+ "update",
119
+ "--bundler"
120
+ )
121
+
122
+ # 3) BUNDLE_GEMFILE=Appraisal.root.gemfile bundle install
123
+ run_command.call(
124
+ "appraisal:update failed: BUNDLE_GEMFILE=Appraisal.root.gemfile bundle install",
125
+ appraisal_env,
126
+ bundle,
127
+ "install"
128
+ )
129
+
130
+ # 4) BUNDLE_GEMFILE=Appraisal.root.gemfile bundle exec appraisal generate-update
131
+ run_command.call(
132
+ "appraisal:update failed: BUNDLE_GEMFILE=Appraisal.root.gemfile bundle exec appraisal generate-update",
133
+ appraisal_env,
134
+ bundle,
135
+ "exec",
136
+ "appraisal",
137
+ "generate-update"
138
+ )
139
+ end
140
+ )
83
141
  end
84
142
 
85
143
  if defined?(Bundler)
@@ -3,7 +3,7 @@
3
3
  module Kettle
4
4
  module Dev
5
5
  module Version
6
- VERSION = "2.0.8"
6
+ VERSION = "2.1.0"
7
7
  end
8
8
  VERSION = Version::VERSION # Traditional Constant Location
9
9
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kettle-dev
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.8
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter H. Boling
@@ -66,7 +66,7 @@ dependencies:
66
66
  version: '1.1'
67
67
  - - ">="
68
68
  - !ruby/object:Gem::Version
69
- version: 1.1.9
69
+ version: 1.1.10
70
70
  type: :runtime
71
71
  prerelease: false
72
72
  version_requirements: !ruby/object:Gem::Requirement
@@ -76,7 +76,7 @@ dependencies:
76
76
  version: '1.1'
77
77
  - - ">="
78
78
  - !ruby/object:Gem::Version
79
- version: 1.1.9
79
+ version: 1.1.10
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: bundler-audit
82
82
  requirement: !ruby/object:Gem::Requirement
@@ -131,20 +131,20 @@ dependencies:
131
131
  requirements:
132
132
  - - "~>"
133
133
  - !ruby/object:Gem::Version
134
- version: '3.0'
134
+ version: '3.1'
135
135
  - - ">="
136
136
  - !ruby/object:Gem::Version
137
- version: 3.0.6
137
+ version: 3.1.0
138
138
  type: :development
139
139
  prerelease: false
140
140
  version_requirements: !ruby/object:Gem::Requirement
141
141
  requirements:
142
142
  - - "~>"
143
143
  - !ruby/object:Gem::Version
144
- version: '3.0'
144
+ version: '3.1'
145
145
  - - ">="
146
146
  - !ruby/object:Gem::Version
147
- version: 3.0.6
147
+ version: 3.1.0
148
148
  - !ruby/object:Gem::Dependency
149
149
  name: turbo_tests2
150
150
  requirement: !ruby/object:Gem::Requirement
@@ -332,10 +332,10 @@ licenses:
332
332
  - AGPL-3.0-only
333
333
  metadata:
334
334
  homepage_uri: https://kettle-dev.galtzo.com
335
- source_code_uri: https://github.com/kettle-rb/kettle-dev/tree/v2.0.8
336
- changelog_uri: https://github.com/kettle-rb/kettle-dev/blob/v2.0.8/CHANGELOG.md
335
+ source_code_uri: https://github.com/kettle-rb/kettle-dev/tree/v2.1.0
336
+ changelog_uri: https://github.com/kettle-rb/kettle-dev/blob/v2.1.0/CHANGELOG.md
337
337
  bug_tracker_uri: https://github.com/kettle-rb/kettle-dev/issues
338
- documentation_uri: https://www.rubydoc.info/gems/kettle-dev/2.0.8
338
+ documentation_uri: https://www.rubydoc.info/gems/kettle-dev/2.1.0
339
339
  funding_uri: https://github.com/sponsors/pboling
340
340
  wiki_uri: https://github.com/kettle-rb/kettle-dev/wiki
341
341
  news_uri: https://www.railsbling.com/tags/kettle-dev
metadata.gz.sig CHANGED
Binary file