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 +4 -4
- data/CHANGELOG.md +8 -10
- data/lib/reissue/rake.rb +1 -1
- data/lib/reissue/version.rb +1 -1
- data/lib/reissue.rb +2 -2
- metadata +6 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a5dba48c0385224669c8a69c5c660d6517a4cbd1fd567e81d8f3865db22c0d9c
|
4
|
+
data.tar.gz: fe1dc9b6633ead5fa21279ea7b43f67f394d36543452da65d811e12ba9ff7523
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
8
|
+
## [0.3.3] - 2025-01-17
|
9
9
|
|
10
|
-
###
|
10
|
+
### Added
|
11
11
|
|
12
|
-
-
|
12
|
+
- CODEOWNERS file
|
13
13
|
|
14
|
-
|
14
|
+
### Fixed
|
15
15
|
|
16
|
-
|
16
|
+
- Properly retain changelog on `reissue:finalize`
|
17
17
|
|
18
|
-
|
18
|
+
## [0.3.2] - 2025-01-16
|
19
19
|
|
20
|
-
###
|
20
|
+
### Fixed
|
21
21
|
|
22
|
-
-
|
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?
|
data/lib/reissue/version.rb
CHANGED
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.
|
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-
|
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.
|
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: []
|