reissue 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -6
- data/README.md +1 -1
- data/lib/reissue/rake.rb +2 -1
- data/lib/reissue/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c277981b6bc7dc46a2ae0d84bddd6b8f04a7328d2bd0949d380bb948cb3acbff
|
4
|
+
data.tar.gz: d9078fed64c4fc984e150a6c03bcdcd912663e3f8c9d550b571b8ba77b55a644
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d1677cb2633cc8b3b19c5842fb7edbc7ef46e6f8299b5a8886385822ad07f2657f2f3ff44c77a0bb68027c3227a4ce8ec298bd00b8d585f765368f2a64f4673
|
7
|
+
data.tar.gz: 27d09c82326c667a357cd77c8f1536dbb163e72445ff6b1d02f97738a1bcc0ba28080e74f2ab2e21d6cf42fbf3c43c0e6b54607b9c4052e7791603f47c14e046
|
data/CHANGELOG.md
CHANGED
@@ -5,6 +5,12 @@ 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.1.7] - 2024-06-10
|
9
|
+
|
10
|
+
### Fixed
|
11
|
+
|
12
|
+
- Pass the version_redo_proc to the Reissue.call in the reissue task.
|
13
|
+
|
8
14
|
## [0.1.6] - 2024-06-10
|
9
15
|
|
10
16
|
### Added
|
@@ -14,9 +20,3 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
|
14
20
|
### Fixed
|
15
21
|
|
16
22
|
- Incorrect testing of Reissue.reformat
|
17
|
-
|
18
|
-
## [0.1.5] - 2024-06-09
|
19
|
-
|
20
|
-
### Fixed
|
21
|
-
|
22
|
-
- Fixed incorrect handling of missing empty last line
|
data/README.md
CHANGED
@@ -93,7 +93,7 @@ Reissue::Task.create :your_name_and_namespace do |task|
|
|
93
93
|
task.version_limit = 5
|
94
94
|
|
95
95
|
# Optional: A Proc to format the version number. Receives a Gem::Version object, and segment.
|
96
|
-
task.
|
96
|
+
task.version_redo_proc = ->(version, segment) do
|
97
97
|
# your special versioning logic
|
98
98
|
end
|
99
99
|
|
data/lib/reissue/rake.rb
CHANGED
@@ -49,13 +49,14 @@ module Reissue
|
|
49
49
|
@commit = true
|
50
50
|
@commit_finalize = true
|
51
51
|
@version_limit = 2
|
52
|
+
@version_redo_proc = nil
|
52
53
|
end
|
53
54
|
|
54
55
|
def define
|
55
56
|
desc description
|
56
57
|
task name, [:segment] do |task, args|
|
57
58
|
segment = args[:segment] || "patch"
|
58
|
-
new_version = Reissue.call(segment:, version_file:, version_limit:)
|
59
|
+
new_version = Reissue.call(segment:, version_file:, version_limit:, version_redo_proc:)
|
59
60
|
if defined?(Bundler)
|
60
61
|
Bundler.with_unbundled_env do
|
61
62
|
system("bundle install")
|
data/lib/reissue/version.rb
CHANGED