bake-modernize 0.61.0 → 0.62.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: 9e4b0b39c09795d386c79a00ca6b6ee8fe14365b6653ef96a5e89171d6cbed2f
4
- data.tar.gz: 9e69e65ee1a2da00295b425ef16df650a67ff93d06f1573f0515d6ab4cad349f
3
+ metadata.gz: 7b8c84fb38c24a7df3e697bde00f9e28d5725ff4435c36bc1943c3f3d9639e57
4
+ data.tar.gz: b1b37a9bb7567882ef2bf29ea5341e2f655a71753bfdb8ae83ef8932b492fc4a
5
5
  SHA512:
6
- metadata.gz: 91a9ef1fa66f27cd1cb13989a3c8e610e93598c74f2a8058da17b5f7ce8f072b613e4f7e5c828b9934842739ac57b24f937fd1eb3d2cc4abbfb30046e5f30b19
7
- data.tar.gz: 425c31215daed9ed88e7827885347211afa152c2f97c77a2e73420358638b7c64a6d4b4f7485dc252dc5686b4734ec07e844fb01ee2ad8f33cbea8d82b461126
6
+ metadata.gz: bcf556c3cc4c36c933fb83cec422ab2d11571ba92d548574f076caad8a6bc7738f501490edea101fb9420ea66d1ad6e76da47d0b1bc14424d115a443195d394b
7
+ data.tar.gz: 141b31cac4965846e143316b60065c32ad8a282d4e82c9d63287ebbf4be83f488ae90fcea489fb3e4a59c7c5d9eb01a2b0a3a569ff939e9c16ae2c59e3da9fb1
checksums.yaml.gz.sig CHANGED
Binary file
@@ -67,7 +67,9 @@ bundle exec bake modernize:releases:github
67
67
 
68
68
  This task adds `bake-gem-github` to maintenance dependencies, removes the direct `bake-gem` dependency when present, and updates release notes and Bake hooks. `bake-gem-github` supplies `bake-gem` and `bake-releases` as dependencies. Existing `bake-gem-github` version requirements are preserved.
69
69
 
70
- Keep `after_gem_release_version_increment`, which updates release notes and project documentation. GitHub publishing replaces the `after_gem_release` call to `releases:github:release`. When merging an existing `bake.rb`, review the generated edit to ensure it removes that call while preserving unrelated custom behavior. Subsequent `modernize:releases` runs select the same template based on the target project's dependencies and do not add the publishing hook back. Contributing instructions also use `gem:github:release:patch` for projects that have adopted it.
70
+ Keep `after_gem_release_version_increment`, which runs `modernize:license` to refresh `license.md` and Ruby copyright headers before updating release notes and project documentation. This copyright refresh is included in the generated hook for both `bake-gem` and `bake-gem-github`. When upgrading an existing project, run `bundle exec bake modernize:releases` and review the merged `bake.rb` to include the new call.
71
+
72
+ GitHub publishing replaces the `after_gem_release` call to `releases:github:release`. When merging an existing `bake.rb`, review the generated edit to ensure it removes that call while preserving unrelated custom behavior. Subsequent `modernize:releases` runs select the same template based on the target project's dependencies and do not add the publishing hook back. Contributing instructions also use `gem:github:release:patch` for projects that have adopted it.
71
73
 
72
74
  Configure the release workflows separately using the installed gem's setup task. Pass the actual required CI job names; for example, a repository using the standard Ruby matrix and coverage workflows might use:
73
75
 
@@ -5,6 +5,6 @@
5
5
 
6
6
  module Bake
7
7
  module Modernize
8
- VERSION = "0.61.0"
8
+ VERSION = "0.62.0"
9
9
  end
10
10
  end
data/license.md CHANGED
@@ -3,6 +3,7 @@
3
3
  Copyright, 2020-2026, by Samuel Williams.
4
4
  Copyright, 2021-2023, by Olle Jonsson.
5
5
  Copyright, 2025, by Copilot.
6
+ Copyright, 2026, by Sampo Kuokkanen.
6
7
 
7
8
  Permission is hereby granted, free of charge, to any person obtaining a copy
8
9
  of this software and associated documentation files (the "Software"), to deal
data/readme.md CHANGED
@@ -14,6 +14,10 @@ Please see the [project documentation](https://ioquatix.github.io/bake-modernize
14
14
 
15
15
  Please see the [project releases](https://ioquatix.github.io/bake-modernize/releases/index) for all releases.
16
16
 
17
+ ### v0.62.0
18
+
19
+ - Refresh `license.md` and Ruby copyright headers with `modernize:license` after version increments in generated release hooks.
20
+
17
21
  ### v0.61.0
18
22
 
19
23
  - Provide agent context for updating gems and configuring GitHub releases.
data/releases.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Releases
2
2
 
3
+ ## v0.62.0
4
+
5
+ - Refresh `license.md` and Ruby copyright headers with `modernize:license` after version increments in generated release hooks.
6
+
3
7
  ## v0.61.0
4
8
 
5
9
  - Provide agent context for updating gems and configuring GitHub releases.
@@ -3,10 +3,11 @@
3
3
  # Released under the MIT License.
4
4
  # Copyright, 2025-2026, by Samuel Williams.
5
5
 
6
- # Update the project documentation with the new version number.
6
+ # Update copyrights and project documentation for the new version.
7
7
  #
8
8
  # @parameter version [String] The new version number.
9
9
  def after_gem_release_version_increment(version)
10
+ context["modernize:license"].call
10
11
  context["releases:update"].call(version)
11
12
  context["utopia:project:update"].call
12
13
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bake-modernize
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.61.0
4
+ version: 0.62.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
metadata.gz.sig CHANGED
Binary file