kettle-dev 1.1.3 → 1.1.4

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: c3eb6a72bd85bbfde7317e4001bed71b6f06c23e8094ec3d7028135ea787cb8a
4
- data.tar.gz: f8a6c719e95549c12739aead51912b68e49713cf1c12a2aa134a61404d82825c
3
+ metadata.gz: 3e041df45a5e998c2dabf617686124f45b29aa26d93c1dcf21e0da99cffcac3b
4
+ data.tar.gz: 183b02683f8a96d82ad6df04371b8776110a30eb768c395060f3d8dd2a5011b0
5
5
  SHA512:
6
- metadata.gz: fe84cb073f601bc8b2c0e50979d229d81d5fa45b3f64455837d17b624fbd2ac3d75c2180b1d87df306e4d7b6efbda20a9d5c94926783fc06091b3b21f61aa368
7
- data.tar.gz: 3a0b31c5be00d77c9b8c9073413caa80a9023f1291b5dd7c98c2a323e712e0756904bdb70fd00e319ca28021e44bdcf16f5506c9e25e18b8aa8c006f0102d254
6
+ metadata.gz: 505620d1cef37c67523e6c8760172f215b650e3f972397170f4f0275a838c8b0a1d9ab1b36e5cc1dbeedfb8327672e02b94be7e2269cb3f446375a83abed040b
7
+ data.tar.gz: 2de8a12668ed28128b11425f2097473ad60714a98985375c249053ca001b9e23e295c2e1afde917b2d8a13fab4270362cc5bffb4916637e56dd6b43687240425
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -24,6 +24,16 @@ Please file a bug if you notice a violation of semantic versioning.
24
24
  ### Fixed
25
25
  ### Security
26
26
 
27
+ ## [1.1.4] - 2025-09-02
28
+ - TAG: [v1.1.4][1.1.4t]
29
+ - COVERAGE: 67.64% -- 554/819 lines in 9 files
30
+ - BRANCH COVERAGE: 53.25% -- 221/415 branches in 9 files
31
+ - 76.22% documented
32
+ ### Fixed
33
+ - documentation of rake tasks from this gem no longer includes standard gem tasks
34
+ - kettle-dev-setup: package bin/setup so setup can copy it
35
+ - kettle_dev_install task: set executable flag for .git-hooks script when installing
36
+
27
37
  ## [1.1.3] - 2025-09-02
28
38
  - TAG: [v1.1.3][1.1.3t]
29
39
  - COVERAGE: 97.14% -- 2857/2941 lines in 22 files
@@ -458,7 +468,9 @@ Please file a bug if you notice a violation of semantic versioning.
458
468
  - Selecting will run the selected workflow via `act`
459
469
  - This may move to its own gem in the future.
460
470
 
461
- [Unreleased]: https://github.com/kettle-rb/kettle-dev/compare/v1.1.3...HEAD
471
+ [Unreleased]: https://github.com/kettle-rb/kettle-dev/compare/v1.1.4...HEAD
472
+ [1.1.4]: https://github.com/kettle-rb/kettle-dev/compare/v1.1.3...v1.1.4
473
+ [1.1.4t]: https://github.com/kettle-rb/kettle-dev/releases/tag/v1.1.4
462
474
  [1.1.3]: https://github.com/kettle-rb/kettle-dev/compare/v1.1.2...v1.1.3
463
475
  [1.1.3t]: https://github.com/kettle-rb/kettle-dev/releases/tag/v1.1.3
464
476
  [1.1.2]: https://github.com/kettle-rb/kettle-dev/compare/v1.1.1...v1.1.2
data/README.md CHANGED
@@ -795,7 +795,7 @@ Thanks for RTFM. ☺️
795
795
  [📌gitmoji]:https://gitmoji.dev
796
796
  [📌gitmoji-img]:https://img.shields.io/badge/gitmoji_commits-%20😜%20😍-34495e.svg?style=flat-square
797
797
  [🧮kloc]: https://www.youtube.com/watch?v=dQw4w9WgXcQ
798
- [🧮kloc-img]: https://img.shields.io/badge/KLOC-2.941-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
798
+ [🧮kloc-img]: https://img.shields.io/badge/KLOC-0.819-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
799
799
  [🔐security]: SECURITY.md
800
800
  [🔐security-img]: https://img.shields.io/badge/security-policy-259D6C.svg?style=flat
801
801
  [📄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
@@ -505,7 +505,7 @@ Thanks for RTFM. ☺️
505
505
  [📌gitmoji]:https://gitmoji.dev
506
506
  [📌gitmoji-img]:https://img.shields.io/badge/gitmoji_commits-%20😜%20😍-34495e.svg?style=flat-square
507
507
  [🧮kloc]: https://www.youtube.com/watch?v=dQw4w9WgXcQ
508
- [🧮kloc-img]: https://img.shields.io/badge/KLOC-2.941-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
508
+ [🧮kloc-img]: https://img.shields.io/badge/KLOC-0.819-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
509
509
  [🔐security]: SECURITY.md
510
510
  [🔐security-img]: https://img.shields.io/badge/security-policy-259D6C.svg?style=flat
511
511
  [📄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.1.3 - 2025-09-02
3
+ # kettle-dev Rakefile v1.1.4 - 2025-09-02
4
4
  # Ruby 2.3 (Safe Navigation) or higher required
5
5
  #
6
6
  # MIT License (see License.txt)
@@ -15,14 +15,10 @@
15
15
  # rake bench # Run all benchmarks (alias for bench:run)
16
16
  # rake bench:list # List available benchmark scripts
17
17
  # rake bench:run # Run all benchmark scripts (skips on CI)
18
- # rake build # Build kettle-dev-1.0.0.gem into the pkg d...
19
- # rake build:checksum # Generate SHA512 checksum of kettle-dev-1....
20
18
  # rake build:generate_checksums # Generate both SHA256 & SHA512 checksums i...
21
19
  # rake bundle:audit:check # Checks the Gemfile.lock for insecure depe...
22
20
  # rake bundle:audit:update # Updates the bundler-audit vulnerability d...
23
21
  # rake ci:act[opt] # Run 'act' with a selected workflow
24
- # rake clean # Remove any temporary products
25
- # rake clobber # Remove any generated files
26
22
  # rake coverage # Run specs w/ coverage and open results in...
27
23
  # rake default # Default tasks aggregator
28
24
  # rake install # Build and install kettle-dev-1.0.0.gem in...
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -221,6 +221,14 @@ module Kettle
221
221
  # If replacement fails unexpectedly, proceed with content as-is
222
222
  end
223
223
  write_file(dest_path, content)
224
+ begin
225
+ # Ensure executable bit for git hook scripts when writing under .git-hooks
226
+ if dest_path.to_s.match?(%r{[\\/]\.git-hooks[\\/](commit-msg|prepare-commit-msg)\z})
227
+ File.chmod(0o755, dest_path) if File.exist?(dest_path)
228
+ end
229
+ rescue StandardError
230
+ # ignore permission issues
231
+ end
224
232
  record_template_result(dest_path, dest_exists ? :replace : :create)
225
233
  puts "Wrote #{dest_path}"
226
234
  end
@@ -316,6 +324,15 @@ module Kettle
316
324
  end
317
325
  end
318
326
  FileUtils.cp(path, target)
327
+ begin
328
+ # Ensure executable bit for git hook scripts when copying under .git-hooks
329
+ if target.end_with?("/.git-hooks/commit-msg", "/.git-hooks/prepare-commit-msg") ||
330
+ target.match?(%r{[\\/]\.git-hooks[\\/](commit-msg|prepare-commit-msg)\z})
331
+ File.chmod(0o755, target)
332
+ end
333
+ rescue StandardError
334
+ # ignore permission issues
335
+ end
319
336
  end
320
337
  end
321
338
  puts "Updated #{dest_dir}"
@@ -354,6 +371,15 @@ module Kettle
354
371
  end
355
372
  end
356
373
  FileUtils.cp(path, target)
374
+ begin
375
+ # Ensure executable bit for git hook scripts when copying under .git-hooks
376
+ if target.end_with?("/.git-hooks/commit-msg", "/.git-hooks/prepare-commit-msg") ||
377
+ target.match?(%r{[\\/]\.git-hooks[\\/](commit-msg|prepare-commit-msg)\z})
378
+ File.chmod(0o755, target)
379
+ end
380
+ rescue StandardError
381
+ # ignore permission issues
382
+ end
357
383
  end
358
384
  end
359
385
  puts "Created #{dest_dir}"
@@ -6,7 +6,7 @@ module Kettle
6
6
  module Version
7
7
  # The gem version.
8
8
  # @return [String]
9
- VERSION = "1.1.3"
9
+ VERSION = "1.1.4"
10
10
 
11
11
  module_function
12
12
 
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.1.3
4
+ version: 1.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter H. Boling
@@ -275,6 +275,7 @@ files:
275
275
  - RUBOCOP.md
276
276
  - Rakefile.example
277
277
  - SECURITY.md
278
+ - bin/setup
278
279
  - exe/kettle-changelog
279
280
  - exe/kettle-commit-msg
280
281
  - exe/kettle-dev-setup
@@ -347,10 +348,10 @@ licenses:
347
348
  - MIT
348
349
  metadata:
349
350
  homepage_uri: https://kettle-dev.galtzo.com/
350
- source_code_uri: https://github.com/kettle-rb/kettle-dev/tree/v1.1.3
351
- changelog_uri: https://github.com/kettle-rb/kettle-dev/blob/v1.1.3/CHANGELOG.md
351
+ source_code_uri: https://github.com/kettle-rb/kettle-dev/tree/v1.1.4
352
+ changelog_uri: https://github.com/kettle-rb/kettle-dev/blob/v1.1.4/CHANGELOG.md
352
353
  bug_tracker_uri: https://github.com/kettle-rb/kettle-dev/issues
353
- documentation_uri: https://www.rubydoc.info/gems/kettle-dev/1.1.3
354
+ documentation_uri: https://www.rubydoc.info/gems/kettle-dev/1.1.4
354
355
  funding_uri: https://github.com/sponsors/pboling
355
356
  wiki_uri: https://github.com/kettle-rb/kettle-dev/wiki
356
357
  news_uri: https://www.railsbling.com/tags/kettle-dev
metadata.gz.sig CHANGED
Binary file