kettle-dev 1.0.18 → 1.0.20

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: 37a31b1ef8fcd5ec07cddb7b0f96f1eaf3f6670f30a2f8bdfd36a2a35454784d
4
- data.tar.gz: 39a1e1ada0fb1034c543d4bd7b3295dfc3f8cced4aee717220f841104d8587fa
3
+ metadata.gz: 27364558d14319ac0482a0d2f97a1946aaa6ca70ad3273e64422493aca9e703e
4
+ data.tar.gz: b86afd89d439255f0a225355769eb8fc38ebf9b027d7bd119e54375d9519a9ff
5
5
  SHA512:
6
- metadata.gz: 2e53a5bdc7b9121b89524fc0df53d7d4c2955f7248b3db751ba3f45bb60ef0b7738b1380d4c5c8a5295ac2084a225e67e62379fd2bc5d0ddcb8ec28b9f8687c9
7
- data.tar.gz: 800681daf457912fff0639273f101ac2393fae15146837803c10662dbd60b6555f3c65665155bef8ffe0fe883fcdad789b682cb052c7a7f83379cd659b75f80c
6
+ metadata.gz: e621a371e84f22c1823b04223ead659ad8349589181b03ea479ec20f32c167f6f0cfeaa6e6f7370ee0a64924e4ea8310eb1ed654305b984dab4a5daed8788840
7
+ data.tar.gz: f661ff83118812ceba44e04fc5292dae3150e36afc50ddef2b937d67a5fb2c8cb13d47883a3061c9be06065148c293459f1238c4b5bf9c9c9dfa9869118aa7f3
checksums.yaml.gz.sig CHANGED
Binary file
@@ -4,7 +4,7 @@ on:
4
4
  push:
5
5
  branches:
6
6
  - 'main'
7
- - "*-stable"
7
+ - '*-stable'
8
8
  tags:
9
9
  - '!*' # Do not execute on tags
10
10
  pull_request:
@@ -0,0 +1,78 @@
1
+ name: MRI 2.3, 2.4, 2.5 (EOL)
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - 'main'
7
+ - '*-stable'
8
+ tags:
9
+ - '!*' # Do not execute on tags
10
+ pull_request:
11
+ branches:
12
+ - '*'
13
+ # Allow manually triggering the workflow.
14
+ workflow_dispatch:
15
+
16
+ # Cancels all previous workflow runs for the same branch that have not yet completed.
17
+ concurrency:
18
+ # The concurrency group contains the workflow name and the branch name.
19
+ group: "${{ github.workflow }}-${{ github.ref }}"
20
+ cancel-in-progress: true
21
+
22
+ jobs:
23
+ test:
24
+ if: "!contains(github.event.commits[0].message, '[ci skip]') && !contains(github.event.commits[0].message, '[skip ci]')"
25
+ name: Specs ${{ matrix.ruby }} ${{ matrix.appraisal }}${{ matrix.name_extra || '' }}
26
+ runs-on: ubuntu-22.04
27
+ continue-on-error: ${{ matrix.experimental || endsWith(matrix.ruby, 'head') }}
28
+ env: # $BUNDLE_GEMFILE must be set at job level, so it is set for all steps
29
+ BUNDLE_GEMFILE: ${{ github.workspace }}/${{ matrix.gemfile }}.gemfile
30
+ strategy:
31
+ fail-fast: false
32
+ matrix:
33
+ include:
34
+ # Ruby 2.3
35
+ - ruby: "ruby-2.3"
36
+ appraisal: "ruby-2-3"
37
+ exec_cmd: "rake test"
38
+ gemfile: "Appraisal.root"
39
+ rubygems: "3.3.27"
40
+ bundler: "2.3.27"
41
+
42
+ # Ruby 2.4
43
+ - ruby: "ruby-2.4"
44
+ appraisal: "ruby-2-4"
45
+ exec_cmd: "rake test"
46
+ gemfile: "Appraisal.root"
47
+ rubygems: "3.3.27"
48
+ bundler: "2.3.27"
49
+
50
+ # Ruby 2.5
51
+ - ruby: "ruby-2.5"
52
+ appraisal: "ruby-2-5"
53
+ exec_cmd: "rake test"
54
+ gemfile: "Appraisal.root"
55
+ rubygems: "3.3.27"
56
+ bundler: "2.3.27"
57
+
58
+ steps:
59
+ - name: Checkout
60
+ uses: actions/checkout@v5
61
+
62
+ - name: Setup Ruby & RubyGems
63
+ uses: ruby/setup-ruby@v1
64
+ with:
65
+ ruby-version: ${{ matrix.ruby }}
66
+ rubygems: ${{ matrix.rubygems }}
67
+ bundler: ${{ matrix.bundler }}
68
+ bundler-cache: false
69
+
70
+ # Raw `bundle` will use the BUNDLE_GEMFILE set to matrix.gemfile (i.e. Appraisal.root)
71
+ # We need to do this first to get appraisal installed.
72
+ # NOTE: This does not use the main Gemfile at all.
73
+ - name: Install Root Appraisal
74
+ run: bundle
75
+ - name: Appraisal for ${{ matrix.appraisal }}
76
+ run: bundle exec appraisal ${{ matrix.appraisal }} bundle
77
+ - name: Tests for ${{ matrix.ruby }} via ${{ matrix.exec_cmd }}
78
+ run: bundle exec appraisal ${{ matrix.appraisal }} bundle exec ${{ matrix.exec_cmd }}
@@ -13,10 +13,10 @@ name: "CodeQL"
13
13
 
14
14
  on:
15
15
  push:
16
- branches: [ main, "*-stable" ]
16
+ branches: [ main, '*-stable' ]
17
17
  pull_request:
18
18
  # The branches below must be a subset of the branches above
19
- branches: [ main, "*-stable" ]
19
+ branches: [ main, '*-stable' ]
20
20
  schedule:
21
21
  - cron: '35 1 * * 5'
22
22
 
@@ -19,7 +19,7 @@ on:
19
19
  push:
20
20
  branches:
21
21
  - 'main'
22
- - "*-stable"
22
+ - '*-stable'
23
23
  tags:
24
24
  - '!*' # Do not execute on tags
25
25
  pull_request:
@@ -18,7 +18,7 @@ on:
18
18
  push:
19
19
  branches:
20
20
  - 'main'
21
- - "*-stable"
21
+ - '*-stable'
22
22
  tags:
23
23
  - '!*' # Do not execute on tags
24
24
  pull_request:
@@ -8,7 +8,7 @@ on:
8
8
  push:
9
9
  branches:
10
10
  - 'main'
11
- - "*-stable"
11
+ - '*-stable'
12
12
  tags:
13
13
  - '!*' # Do not execute on tags
14
14
  pull_request:
@@ -7,7 +7,7 @@ on:
7
7
  push:
8
8
  branches:
9
9
  - 'main'
10
- - "*-stable"
10
+ - '*-stable'
11
11
  tags:
12
12
  - '!*' # Do not execute on tags
13
13
  pull_request:
@@ -7,7 +7,7 @@ on:
7
7
  push:
8
8
  branches:
9
9
  - 'main'
10
- - "*-stable"
10
+ - '*-stable'
11
11
  tags:
12
12
  - '!*' # Do not execute on tags
13
13
  pull_request:
@@ -0,0 +1,67 @@
1
+ name: JRuby
2
+
3
+ env:
4
+ K_SOUP_COV_DO: false
5
+
6
+ on:
7
+ push:
8
+ branches:
9
+ - 'main'
10
+ - '*-stable'
11
+ tags:
12
+ - '!*' # Do not execute on tags
13
+ pull_request:
14
+ branches:
15
+ - '*'
16
+ # Allow manually triggering the workflow.
17
+ workflow_dispatch:
18
+
19
+ permissions:
20
+ contents: read
21
+
22
+ # Cancels all previous workflow runs for the same branch that have not yet completed.
23
+ concurrency:
24
+ # The concurrency group contains the workflow name and the branch name.
25
+ group: "${{ github.workflow }}-${{ github.ref }}"
26
+ cancel-in-progress: true
27
+
28
+ jobs:
29
+ test:
30
+ if: "!contains(github.event.commits[0].message, '[ci skip]') && !contains(github.event.commits[0].message, '[skip ci]')"
31
+ name: Specs ${{ matrix.ruby }} ${{ matrix.appraisal }}${{ matrix.name_extra || '' }}
32
+ runs-on: ubuntu-22.04
33
+ continue-on-error: ${{ matrix.experimental || endsWith(matrix.ruby, 'head') }}
34
+ env: # $BUNDLE_GEMFILE must be set at job level, so it is set for all steps
35
+ BUNDLE_GEMFILE: ${{ github.workspace }}/${{ matrix.gemfile }}.gemfile
36
+ strategy:
37
+ matrix:
38
+ include:
39
+ # jruby-9.4 (targets Ruby 3.1 compatibility)
40
+ - ruby: "jruby-9.4"
41
+ appraisal: "ruby-3-1"
42
+ exec_cmd: "rake test"
43
+ gemfile: "Appraisal.root"
44
+ rubygems: default
45
+ bundler: default
46
+
47
+ steps:
48
+ - name: Checkout
49
+ uses: actions/checkout@v5
50
+
51
+ - name: Setup Ruby & RubyGems
52
+ uses: ruby/setup-ruby@v1
53
+ with:
54
+ ruby-version: ${{ matrix.ruby }}
55
+ rubygems: ${{ matrix.rubygems }}
56
+ bundler: ${{ matrix.bundler }}
57
+ bundler-cache: false
58
+
59
+ # Raw `bundle` will use the BUNDLE_GEMFILE set to matrix.gemfile (i.e. Appraisal.root)
60
+ # We need to do this first to get appraisal installed.
61
+ # NOTE: This does not use the main Gemfile at all.
62
+ - name: Install Root Appraisal
63
+ run: bundle
64
+ - name: Appraisal for ${{ matrix.appraisal }}
65
+ run: bundle exec appraisal ${{ matrix.appraisal }} bundle
66
+ - name: Tests for ${{ matrix.ruby }} via ${{ matrix.exec_cmd }}
67
+ run: bundle exec appraisal ${{ matrix.appraisal }} bundle exec ${{ matrix.exec_cmd }}
@@ -7,7 +7,7 @@ on:
7
7
  push:
8
8
  branches:
9
9
  - 'main'
10
- - "*-stable"
10
+ - '*-stable'
11
11
  tags:
12
12
  - '!*' # Do not execute on tags
13
13
  pull_request:
@@ -4,7 +4,7 @@ on:
4
4
  push:
5
5
  branches:
6
6
  - 'main'
7
- - "*-stable"
7
+ - '*-stable'
8
8
  tags:
9
9
  - '!*' # Do not execute on tags
10
10
  pull_request:
@@ -7,7 +7,7 @@ on:
7
7
  push:
8
8
  branches:
9
9
  - 'main'
10
- - "*-stable"
10
+ - '*-stable'
11
11
  tags:
12
12
  - '!*' # Do not execute on tags
13
13
  pull_request:
@@ -7,7 +7,7 @@ on:
7
7
  push:
8
8
  branches:
9
9
  - 'main'
10
- - "*-stable"
10
+ - '*-stable'
11
11
  tags:
12
12
  - '!*' # Do not execute on tags
13
13
  pull_request:
@@ -27,7 +27,7 @@ on:
27
27
  push:
28
28
  branches:
29
29
  - 'main'
30
- - "*-stable"
30
+ - '*-stable'
31
31
  tags:
32
32
  - '!*' # Do not execute on tags
33
33
  pull_request:
@@ -7,7 +7,7 @@ on:
7
7
  push:
8
8
  branches:
9
9
  - 'main'
10
- - "*-stable"
10
+ - '*-stable'
11
11
  tags:
12
12
  - '!*' # Do not execute on tags
13
13
  pull_request:
data/CHANGELOG.md CHANGED
@@ -24,6 +24,23 @@ Please file a bug if you notice a violation of semantic versioning.
24
24
  ### Fixed
25
25
  ### Security
26
26
 
27
+ ## [1.0.20] - 2025-08-29
28
+ - TAG: [v1.0.20][1.0.20t]
29
+ - COVERAGE: 14.01% -- 96/685 lines in 8 files
30
+ - BRANCH COVERAGE: 0.30% -- 1/338 branches in 8 files
31
+ - 76.23% documented
32
+ ### Changed
33
+ - Use example version of ancient.yml workflow since local version has been customized
34
+ - Use example version of jruby.yml workflow since local version has been customized
35
+
36
+ ## [1.0.19] - 2025-08-29
37
+ - TAG: [v1.0.19][1.0.19t]
38
+ - COVERAGE: 97.84% -- 2350/2402 lines in 20 files
39
+ - BRANCH COVERAGE: 81.46% -- 962/1181 branches in 20 files
40
+ - 76.23% documented
41
+ ### Fixed
42
+ - replacement logic handles a dashed gem-name which maps onto a nested path structure
43
+
27
44
  ## [Unreleased]
28
45
  ### Added
29
46
  - kettle:dev:install and kettle:dev:template support `only=` option: comma-separated glob patterns matched against destination paths relative to project root; non-matching files are excluded from templating.
@@ -290,7 +307,7 @@ Please file a bug if you notice a violation of semantic versioning.
290
307
  - Selecting will run the selected workflow via `act`
291
308
  - This may move to its own gem in the future.
292
309
 
293
- [Unreleased]: https://github.com/kettle-rb/kettle-dev/compare/v1.0.18...HEAD
310
+ [Unreleased]: https://github.com/kettle-rb/kettle-dev/compare/v1.0.20...HEAD
294
311
  [1.0.0]: https://github.com/kettle-rb/kettle-dev/compare/a427c302df09cfe4253a7c8d400333f9a4c1a208...v1.0.0
295
312
  [1.0.0t]: https://github.com/kettle-rb/kettle-dev/releases/tag/v1.0.0
296
313
  [1.0.1]: https://gitlab.com/kettle-rb/kettle-dev/-/compare/v1.0.0...v1.0.1
@@ -329,3 +346,7 @@ Please file a bug if you notice a violation of semantic versioning.
329
346
  [1.0.17t]: https://github.com/kettle-rb/kettle-dev/releases/tag/v1.0.17
330
347
  [1.0.18]: https://github.com/kettle-rb/kettle-dev/compare/v1.0.17...v1.0.18
331
348
  [1.0.18t]: https://github.com/kettle-rb/kettle-dev/releases/tag/v1.0.18
349
+ [1.0.19]: https://github.com/kettle-rb/kettle-dev/compare/v1.0.18...v1.0.19
350
+ [1.0.19t]: https://github.com/kettle-rb/kettle-dev/releases/tag/v1.0.19
351
+ [1.0.20]: https://github.com/kettle-rb/kettle-dev/compare/v1.0.19...v1.0.20
352
+ [1.0.20t]: https://github.com/kettle-rb/kettle-dev/releases/tag/v1.0.20
data/README.md CHANGED
@@ -735,7 +735,7 @@ Thanks for RTFM. ☺️
735
735
  [📌gitmoji]:https://gitmoji.dev
736
736
  [📌gitmoji-img]:https://img.shields.io/badge/gitmoji_commits-%20😜%20😍-34495e.svg?style=flat-square
737
737
  [🧮kloc]: https://www.youtube.com/watch?v=dQw4w9WgXcQ
738
- [🧮kloc-img]: https://img.shields.io/badge/KLOC-0.636-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
738
+ [🧮kloc-img]: https://img.shields.io/badge/KLOC-0.685-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
739
739
  [🔐security]: SECURITY.md
740
740
  [🔐security-img]: https://img.shields.io/badge/security-policy-259D6C.svg?style=flat
741
741
  [📄copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
data/README.md.example CHANGED
@@ -501,7 +501,7 @@ Thanks for RTFM. ☺️
501
501
  [📌gitmoji]:https://gitmoji.dev
502
502
  [📌gitmoji-img]:https://img.shields.io/badge/gitmoji_commits-%20😜%20😍-34495e.svg?style=flat-square
503
503
  [🧮kloc]: https://www.youtube.com/watch?v=dQw4w9WgXcQ
504
- [🧮kloc-img]: https://img.shields.io/badge/KLOC-0.636-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
504
+ [🧮kloc-img]: https://img.shields.io/badge/KLOC-0.685-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
505
505
  [🔐security]: SECURITY.md
506
506
  [🔐security-img]: https://img.shields.io/badge/security-policy-259D6C.svg?style=flat
507
507
  [📄copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
data/Rakefile.example CHANGED
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # kettle-dev Rakefile v1.0.18 - 2025-08-29
3
+ # kettle-dev Rakefile v1.0.20 - 2025-08-29
4
4
  # Ruby 2.3 (Safe Navigation) or higher required
5
5
  #
6
6
  # MIT License (see License.txt)
@@ -345,6 +345,8 @@ module Kettle
345
345
  c = c.gsub(/\bKettle::Dev\b/u, namespace) unless namespace.empty?
346
346
  c = c.gsub("Kettle%3A%3ADev", namespace_shield) unless namespace_shield.empty?
347
347
  c = c.gsub("kettle--dev", gem_shield)
348
+ # Replace require and path structures with gem_name, modifying - to / if needed
349
+ c = c.gsub("kettle/dev", gem_name.tr("-", "/"))
348
350
  end
349
351
  c
350
352
  end
@@ -6,7 +6,7 @@ module Kettle
6
6
  module Version
7
7
  # The gem version.
8
8
  # @return [String]
9
- VERSION = "1.0.18"
9
+ VERSION = "1.0.20"
10
10
  end
11
11
  end
12
12
  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: 1.0.18
4
+ version: 1.0.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter H. Boling
@@ -234,6 +234,7 @@ files:
234
234
  - ".github/FUNDING.yml"
235
235
  - ".github/dependabot.yml"
236
236
  - ".github/workflows/ancient.yml"
237
+ - ".github/workflows/ancient.yml.example"
237
238
  - ".github/workflows/auto-assign.yml"
238
239
  - ".github/workflows/codeql-analysis.yml"
239
240
  - ".github/workflows/coverage.yml"
@@ -243,6 +244,7 @@ files:
243
244
  - ".github/workflows/discord-notifier.yml"
244
245
  - ".github/workflows/heads.yml"
245
246
  - ".github/workflows/jruby.yml"
247
+ - ".github/workflows/jruby.yml.example"
246
248
  - ".github/workflows/legacy.yml"
247
249
  - ".github/workflows/locked_deps.yml"
248
250
  - ".github/workflows/opencollective.yml"
@@ -342,10 +344,10 @@ licenses:
342
344
  - MIT
343
345
  metadata:
344
346
  homepage_uri: https://kettle-dev.galtzo.com/
345
- source_code_uri: https://github.com/kettle-rb/kettle-dev/tree/v1.0.18
346
- changelog_uri: https://github.com/kettle-rb/kettle-dev/blob/v1.0.18/CHANGELOG.md
347
+ source_code_uri: https://github.com/kettle-rb/kettle-dev/tree/v1.0.20
348
+ changelog_uri: https://github.com/kettle-rb/kettle-dev/blob/v1.0.20/CHANGELOG.md
347
349
  bug_tracker_uri: https://github.com/kettle-rb/kettle-dev/issues
348
- documentation_uri: https://www.rubydoc.info/gems/kettle-dev/1.0.18
350
+ documentation_uri: https://www.rubydoc.info/gems/kettle-dev/1.0.20
349
351
  funding_uri: https://github.com/sponsors/pboling
350
352
  wiki_uri: https://github.com/kettle-rb/kettle-dev/wiki
351
353
  news_uri: https://www.railsbling.com/tags/kettle-dev
metadata.gz.sig CHANGED
Binary file