reissue 0.3.2 → 0.3.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4cc74e34e41fc5b950be6012c3b517235f0a6537f30c09ae17c6f8d66240407a
4
- data.tar.gz: 19f8f5b5bb7cdce525e26d3def6c18139462def2b9ac5c936659a7f4608bf213
3
+ metadata.gz: a5dba48c0385224669c8a69c5c660d6517a4cbd1fd567e81d8f3865db22c0d9c
4
+ data.tar.gz: fe1dc9b6633ead5fa21279ea7b43f67f394d36543452da65d811e12ba9ff7523
5
5
  SHA512:
6
- metadata.gz: 84e988380692e405e2e173e2e87cb9e6088328e120640c4a482b3e737985961abe40f1ecadffd674113489f635101d0f75777d56635a3636b054f27c275c1be7
7
- data.tar.gz: 02f0db508076455faf195b7f1b0ecd8d8ab3b1e772e61f335935b48f2bde96aee76aa6a89c9a8e39c44d358fe3d2d70d1fe41c2d4bd2ccdb445c0b103ed4b853
6
+ metadata.gz: 602db215d03fc43201417a833ca54d415293d947fd78c2ca36b94c698fcdc634c895b1a92b2c66fa7e274a738fb68dd3cd4b75d6d8ed342af5ff5ec6018b1e6d
7
+ data.tar.gz: ac01da29894ea7f2760e2b0e678d8b449c98aac52f30863f068709910732d306b506f40fb067597f9fd752a96eae610c0064ce1fd12f09d2b51a80f776bf16ce
data/CHANGELOG.md CHANGED
@@ -5,20 +5,18 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](http://keepachangelog.com/)
6
6
  and this project adheres to [Semantic Versioning](http://semver.org/).
7
7
 
8
- ## [0.3.2] - 2025-01-16
8
+ ## [0.3.3] - 2025-01-17
9
9
 
10
- ### Fixed
10
+ ### Added
11
11
 
12
- - Parser will handle nil changes
12
+ - CODEOWNERS file
13
13
 
14
- ## [0.3.1] - 2025-01-16
14
+ ### Fixed
15
15
 
16
- ### Added
16
+ - Properly retain changelog on `reissue:finalize`
17
17
 
18
- - Add `retain_changelogs` option to control how to retain the changelog files for the previous versions.
18
+ ## [0.3.2] - 2025-01-16
19
19
 
20
- ### Changed
20
+ ### Fixed
21
21
 
22
- - Set the name of the `reissue:branch` argument to `branch_name` to be clearer.
23
- - Inject the constants in the `create` method.
24
- - Updated the tested Ruby version to 3.4.
22
+ - Parser will handle nil changes
data/lib/reissue/rake.rb CHANGED
@@ -148,7 +148,7 @@ module Reissue
148
148
  desc "Finalize the changelog for an unreleased version to set the release date."
149
149
  task "#{name}:finalize", [:date] do |task, args|
150
150
  date = args[:date] || Time.now.strftime("%Y-%m-%d")
151
- version, date = formatter.finalize(date, changelog_file:)
151
+ version, date = formatter.finalize(date, changelog_file:, retain_changelogs:)
152
152
  finalize_message = "Finalize the changelog for version #{version} on #{date}"
153
153
  if commit_finalize
154
154
  tasker["#{name}:branch"].invoke("reissue/#{version}") if finalize_with_branch?
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Reissue
4
- VERSION = "0.3.2"
4
+ VERSION = "0.3.3"
5
5
  end
data/lib/reissue.rb CHANGED
@@ -41,9 +41,9 @@ module Reissue
41
41
  # @param changelog_file [String] The path to the changelog file.
42
42
  #
43
43
  # @return [Array] The version number and release date.
44
- def self.finalize(date = Date.today, changelog_file: "CHANGELOG.md")
44
+ def self.finalize(date = Date.today, changelog_file: "CHANGELOG.md", retain_changelogs: false)
45
45
  changelog_updater = ChangelogUpdater.new(changelog_file)
46
- changelog = changelog_updater.finalize(date:, changelog_file:)
46
+ changelog = changelog_updater.finalize(date:, changelog_file:, retain_changelogs:)
47
47
  changelog["versions"].first.slice("version", "date").values
48
48
  end
49
49
 
metadata CHANGED
@@ -1,13 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: reissue
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jim Gay
8
+ autorequire:
8
9
  bindir: exe
9
10
  cert_chain: []
10
- date: 2025-01-16 00:00:00.000000000 Z
11
+ date: 2025-01-17 00:00:00.000000000 Z
11
12
  dependencies:
12
13
  - !ruby/object:Gem::Dependency
13
14
  name: rake
@@ -49,6 +50,7 @@ metadata:
49
50
  homepage_uri: https://github.com/SOFware/reissue
50
51
  source_code_uri: https://github.com/SOFware/reissue
51
52
  changelog_uri: https://github.com/SOFware/reissue/blob/main/CHANGELOG.md
53
+ post_install_message:
52
54
  rdoc_options: []
53
55
  require_paths:
54
56
  - lib
@@ -63,7 +65,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
63
65
  - !ruby/object:Gem::Version
64
66
  version: '0'
65
67
  requirements: []
66
- rubygems_version: 3.6.2
68
+ rubygems_version: 3.5.9
69
+ signing_key:
67
70
  specification_version: 4
68
71
  summary: Keep your versions and changelogs up to date and prepared for release.
69
72
  test_files: []