kettle-dev 1.0.25 → 1.0.27

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: 17271b80f11810960aff2bed47dae41fd383c2e70f9791134405b7b15c0c4989
4
- data.tar.gz: b49ddd6a9f57504713789b05b814293d2ef9ac05b0755245129b05234e288eca
3
+ metadata.gz: 5262ffaac8801d10dc7399ed6f111a5878e135d79cc48a155b386c92c86eab24
4
+ data.tar.gz: 6a7415eb0b8e4da2d4a4a63eb10515209a2db42f4f82d1e822edd7754861a077
5
5
  SHA512:
6
- metadata.gz: 291245d371efa3869f70b66e33f9059108616283ab29204158c198005473db150fbbbbde3c7ac53bea6a8175cb3a90235d2fbb7a85c304c763ba5b06d2952afd
7
- data.tar.gz: ec1b4ec965b7cfe5b97fd7519c7e8cea77d881f7f083e47c0e66ab17fe1aa5048d24a112f732cdac6ecd085ece372494661b898255d8583379ec790ba9c507cf
6
+ metadata.gz: dbaa7553ea88a2a702975b5650abb04f7a9f16892b8ea4d8b54353fa8036b15fc88c81ae560819ce8d1f45c2744b69d832e3a19a20ebbb3859044aa8f8d8b221
7
+ data.tar.gz: f4a3e941cf43f6f4221f1ef65601114ccf864588aca25e20ef9b1691b101c840eb43ee86dd383ab360e0b4e5da58aa863d039e1e0861e49b48562dea0cd6770f
checksums.yaml.gz.sig CHANGED
Binary file
@@ -0,0 +1,14 @@
1
+ #
2
+ # DO NOT EDIT THIS FILE
3
+ #
4
+ # COPT THIS FILE TO .env.local
5
+ #
6
+ # That file is ignored by .gitignore. This file is not.
7
+ #
8
+ export DEBUG=false # do not allow byebug statements (override in .env.local)
9
+ export FLOSS_FUNDING_DEBUG=false # extra logging to help diagnose issues (override in .env.local)
10
+ export AUTOGEN_FIXTURE_CLEANUP=false # autogenerated gem fixture cleanup after every RSpec run
11
+ export GIT_HOOK_FOOTER_APPEND=false
12
+ export GIT_HOOK_FOOTER_APPEND_DEBUG=false
13
+ export GIT_HOOK_FOOTER_SENTINEL="⚡️ A message from a fellow meat-based-AI ⚡️"
14
+ export GITHUB_TOKEN=<your GH PAT, for the GHA console bin/rake ci:act - DO NOT EVER COMMIT IT>
@@ -0,0 +1,60 @@
1
+ default:
2
+ image: ruby
3
+
4
+ variables:
5
+ BUNDLE_INSTALL_FLAGS: "--quiet --jobs=$(nproc) --retry=3"
6
+ BUNDLE_FROZEN: "false" # No lockfile!
7
+ BUNDLE_GEMFILE: Appraisal.root.gemfile
8
+ K_SOUP_COV_DEBUG: true
9
+ K_SOUP_COV_DO: true
10
+ K_SOUP_COV_HARD: true
11
+ K_SOUP_COV_MIN_BRANCH: 100
12
+ K_SOUP_COV_MIN_LINE: 100
13
+ K_SOUP_COV_VERBOSE: true
14
+ K_SOUP_COV_FORMATTERS: "tty"
15
+ K_SOUP_COV_MULTI_FORMATTERS: true
16
+ K_SOUP_COV_COMMAND_NAME: "RSpec Coverage"
17
+
18
+ workflow:
19
+ rules:
20
+ # For merge requests, create a pipeline.
21
+ - if: '$CI_MERGE_REQUEST_IID'
22
+ # For the ` main ` branch, create a pipeline (this includes on schedules, pushes, merges, etc.).
23
+ - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
24
+ # For tags, create a pipeline.
25
+ - if: '$CI_COMMIT_TAG'
26
+
27
+ .current_ruby_template: &current_ruby_template
28
+ image: ruby:${RUBY_VERSION}
29
+ stage: test
30
+ script:
31
+ # || true so we don't fail here, because it'll probably work even if the gem update fails
32
+ - gem update --system > /dev/null 2>&1 || true
33
+ - mkdir -p vendor/bundle
34
+ - bundle config set path 'vendor/bundle'
35
+ - chmod +t -R vendor/bundle
36
+ - chmod o-w -R vendor/bundle
37
+ # Setup appraisal2
38
+ - bundle install
39
+ # Bundle a specific appraisal
40
+ - bundle exec appraisal unlocked_deps bundle install
41
+ # Light smoke test
42
+ - bundle exec appraisal unlocked_deps bin/rake --tasks
43
+ # Run tests, skipping those that won't work in CI
44
+ - >
45
+ bundle exec appraisal unlocked_deps \
46
+ bin/rspec spec \
47
+ --tag \~ci_skip \
48
+ --format progress \
49
+ --format RspecJunitFormatter
50
+
51
+ cache:
52
+ key: ${CI_JOB_IMAGE}
53
+ paths:
54
+ - vendor/ruby
55
+
56
+ current-ruby:
57
+ <<: *current_ruby_template
58
+ parallel:
59
+ matrix:
60
+ - RUBY_VERSION: ["3.2", "3.3", "3.4"]
data/CHANGELOG.md CHANGED
@@ -24,6 +24,25 @@ Please file a bug if you notice a violation of semantic versioning.
24
24
  ### Fixed
25
25
  ### Security
26
26
 
27
+ ## [1.0.27] - 2025-09-01
28
+ - TAG: [v1.0.27][1.0.27t]
29
+ - COVERAGE: 97.77% -- 2629/2689 lines in 22 files
30
+ - BRANCH COVERAGE: 82.40% -- 1100/1335 branches in 22 files
31
+ - 76.47% documented
32
+ ### Changed
33
+ - Use semver version dependency (~> 1.0) on kettle-dev when templating
34
+ ### Removed
35
+ - dependency on version_gem (backwards compatible change)
36
+
37
+ ## [1.0.26] - 2025-09-01
38
+ - TAG: [v1.0.26][1.0.26t]
39
+ - COVERAGE: 97.81% -- 2630/2689 lines in 22 files
40
+ - BRANCH COVERAGE: 82.40% -- 1100/1335 branches in 22 files
41
+ - 75.00% documented
42
+ ### Fixed
43
+ - .env.local.example is now included in the packaged gem
44
+ - making the copy by install / template tasks possible
45
+
27
46
  ## [1.0.25] - 2025-08-31
28
47
  - TAG: [v1.0.25][1.0.25t]
29
48
  - COVERAGE: 97.81% -- 2630/2689 lines in 22 files
@@ -384,7 +403,11 @@ Please file a bug if you notice a violation of semantic versioning.
384
403
  - Selecting will run the selected workflow via `act`
385
404
  - This may move to its own gem in the future.
386
405
 
387
- [Unreleased]: https://github.com/kettle-rb/kettle-dev/compare/v1.0.25...HEAD
406
+ [Unreleased]: https://github.com/kettle-rb/kettle-dev/compare/v1.0.27...HEAD
407
+ [1.0.27]: https://github.com/kettle-rb/kettle-dev/compare/v1.0.26...v1.0.27
408
+ [1.0.27t]: https://github.com/kettle-rb/kettle-dev/releases/tag/v1.0.27
409
+ [1.0.26]: https://github.com/kettle-rb/kettle-dev/compare/v1.0.25...v1.0.26
410
+ [1.0.26t]: https://github.com/kettle-rb/kettle-dev/releases/tag/v1.0.26
388
411
  [1.0.25]: https://github.com/kettle-rb/kettle-dev/compare/v1.0.24...v1.0.25
389
412
  [1.0.25t]: https://github.com/kettle-rb/kettle-dev/releases/tag/v1.0.25
390
413
  [1.0.24]: https://github.com/kettle-rb/kettle-dev/compare/v1.0.23...v1.0.24
data/Rakefile.example CHANGED
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # kettle-dev Rakefile v1.0.25 - 2025-08-31
3
+ # kettle-dev Rakefile v1.0.27 - 2025-09-01
4
4
  # Ruby 2.3 (Safe Navigation) or higher required
5
5
  #
6
6
  # MIT License (see License.txt)
@@ -116,5 +116,5 @@ Gem::Specification.new do |spec|
116
116
  # and preferably a modular one (see gemfiles/modular/*.gemfile).
117
117
 
118
118
  # Dev, Test, & Release Tasks
119
- spec.add_development_dependency("{KETTLE|DEV|GEM}", "~> 1.0.17") # ruby >= 2.3.0
119
+ spec.add_development_dependency("{KETTLE|DEV|GEM}", "~> 1.0") # ruby >= 2.3.0
120
120
  end
@@ -6,7 +6,90 @@ module Kettle
6
6
  module Version
7
7
  # The gem version.
8
8
  # @return [String]
9
- VERSION = "1.0.25"
9
+ VERSION = "1.0.27"
10
+
11
+ module_function
12
+
13
+ # rubocop:disable ThreadSafety/ClassInstanceVariable
14
+ #
15
+ # The logic below, through the end of the file, comes from version_gem.
16
+ # Extracted because version_gem depends on this gem, and circular dependencies are bad.
17
+ #
18
+ # A Gem::Version for this version string
19
+ #
20
+ # Useful when you need to compare versions or pass a Gem::Version instance
21
+ # to APIs that expect it. This is equivalent to `Gem::Version.new(to_s)`.
22
+ #
23
+ # @return [Gem::Version]
24
+ def gem_version
25
+ @gem_version ||= ::Gem::Version.new(to_s)
26
+ end
27
+
28
+ # The version number as a string
29
+ #
30
+ # @return [String]
31
+ def to_s
32
+ self::VERSION
33
+ end
34
+
35
+ # The major version
36
+ #
37
+ # @return [Integer]
38
+ def major
39
+ @major ||= _to_a[0].to_i
40
+ end
41
+
42
+ # The minor version
43
+ #
44
+ # @return [Integer]
45
+ def minor
46
+ @minor ||= _to_a[1].to_i
47
+ end
48
+
49
+ # The patch version
50
+ #
51
+ # @return [Integer]
52
+ def patch
53
+ @patch ||= _to_a[2].to_i
54
+ end
55
+
56
+ # The pre-release version, if any
57
+ #
58
+ # @return [String, NilClass]
59
+ def pre
60
+ @pre ||= _to_a[3]
61
+ end
62
+
63
+ # The version number as a hash
64
+ #
65
+ # @return [Hash]
66
+ def to_h
67
+ @to_h ||= {
68
+ major: major,
69
+ minor: minor,
70
+ patch: patch,
71
+ pre: pre,
72
+ }
73
+ end
74
+
75
+ # The version number as an array of cast values
76
+ #
77
+ # @return [Array<[Integer, String, NilClass]>]
78
+ def to_a
79
+ @to_a ||= [major, minor, patch, pre]
80
+ end
81
+
82
+ private
83
+
84
+ module_function
85
+
86
+ # The version number as an array of strings
87
+ #
88
+ # @return [Array<String>]
89
+ def _to_a
90
+ @_to_a = self::VERSION.split(".")
91
+ end
92
+ # rubocop:enable ThreadSafety/ClassInstanceVariable
10
93
  end
11
94
  end
12
95
  end
data/lib/kettle/dev.rb CHANGED
@@ -5,7 +5,6 @@
5
5
  # :nocov:
6
6
  require "require_bench" if ENV.fetch("REQUIRE_BENCH", "false").casecmp("true").zero?
7
7
  # :nocov:
8
- require "version_gem"
9
8
 
10
9
  module Kettle
11
10
  module Dev
@@ -136,8 +135,4 @@ module Kettle
136
135
  end
137
136
  end
138
137
 
139
- Kettle::Dev::Version.class_eval do
140
- extend VersionGem::Basic
141
- end
142
-
143
138
  Kettle::Dev.install_tasks if Kettle::Dev::RUNNING_AS == "rake"
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.25
4
+ version: 1.0.27
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter H. Boling
@@ -37,26 +37,6 @@ cert_chain:
37
37
  -----END CERTIFICATE-----
38
38
  date: 1980-01-02 00:00:00.000000000 Z
39
39
  dependencies:
40
- - !ruby/object:Gem::Dependency
41
- name: version_gem
42
- requirement: !ruby/object:Gem::Requirement
43
- requirements:
44
- - - "~>"
45
- - !ruby/object:Gem::Version
46
- version: '1.1'
47
- - - ">="
48
- - !ruby/object:Gem::Version
49
- version: 1.1.8
50
- type: :runtime
51
- prerelease: false
52
- version_requirements: !ruby/object:Gem::Requirement
53
- requirements:
54
- - - "~>"
55
- - !ruby/object:Gem::Version
56
- version: '1.1'
57
- - - ">="
58
- - !ruby/object:Gem::Version
59
- version: 1.1.8
60
40
  - !ruby/object:Gem::Dependency
61
41
  name: bundler-audit
62
42
  requirement: !ruby/object:Gem::Requirement
@@ -227,6 +207,7 @@ extra_rdoc_files:
227
207
  - SECURITY.md
228
208
  files:
229
209
  - ".devcontainer/devcontainer.json"
210
+ - ".env.local.example"
230
211
  - ".envrc"
231
212
  - ".git-hooks/commit-msg"
232
213
  - ".git-hooks/commit-subjects-goalie.txt"
@@ -256,6 +237,7 @@ files:
256
237
  - ".github/workflows/unlocked_deps.yml"
257
238
  - ".github/workflows/unsupported.yml"
258
239
  - ".gitignore"
240
+ - ".gitlab-ci.yml.example"
259
241
  - ".junie/guidelines-rbs.md"
260
242
  - ".junie/guidelines.md"
261
243
  - ".opencollective.yml"
@@ -351,10 +333,10 @@ licenses:
351
333
  - MIT
352
334
  metadata:
353
335
  homepage_uri: https://kettle-dev.galtzo.com/
354
- source_code_uri: https://github.com/kettle-rb/kettle-dev/tree/v1.0.25
355
- changelog_uri: https://github.com/kettle-rb/kettle-dev/blob/v1.0.25/CHANGELOG.md
336
+ source_code_uri: https://github.com/kettle-rb/kettle-dev/tree/v1.0.27
337
+ changelog_uri: https://github.com/kettle-rb/kettle-dev/blob/v1.0.27/CHANGELOG.md
356
338
  bug_tracker_uri: https://github.com/kettle-rb/kettle-dev/issues
357
- documentation_uri: https://www.rubydoc.info/gems/kettle-dev/1.0.25
339
+ documentation_uri: https://www.rubydoc.info/gems/kettle-dev/1.0.27
358
340
  funding_uri: https://github.com/sponsors/pboling
359
341
  wiki_uri: https://github.com/kettle-rb/kettle-dev/wiki
360
342
  news_uri: https://www.railsbling.com/tags/kettle-dev
metadata.gz.sig CHANGED
Binary file