gem_toys 0.7.0 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/lib/gem_toys/template/release/changelog.rb +2 -2
- data/lib/gem_toys/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: 061a23d19180942f3cb7ca6f4b43bfc5e48b5247e1ca45ec77969c0308cdf3aa
|
4
|
+
data.tar.gz: b57ac1d9e07c4a7f72ffaa3ff0e9d366160a47ffb2695232a7b928821ee0484c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cec712bb01c015ba34dde170c5d7d855f56008e7234da72df02d8ed342dd9eb458ee06d7e4175e473dad213bba8f0229ca356fbc28a16ef06b42fe92186ea1b6
|
7
|
+
data.tar.gz: 5f0475c31feef1a52e77f59f4e30965c55401baa04fc425ca5a8864e9d6c0900d85e5fa06eac8936e2b09af0c498651e013e513cc1138b03f30e638c2678f540
|
data/CHANGELOG.md
CHANGED
@@ -2,8 +2,20 @@
|
|
2
2
|
|
3
3
|
## master (unreleased)
|
4
4
|
|
5
|
+
## 0.7.1 (2021-03-04)
|
6
|
+
|
7
|
+
* Fix error about non-renamed `version` in one of aborts.
|
8
|
+
* Improve Regexp for date of existing release.
|
9
|
+
Catch only content inside the last parentheses.
|
10
|
+
|
5
11
|
## 0.7.0 (2021-03-04)
|
6
12
|
|
13
|
+
* Add `:changelog_file_name` option.
|
14
|
+
* Add `:version_tag_prefix` option.
|
15
|
+
* Change date format for `versions` tool.
|
16
|
+
* Add documentation about `:version_file_path` option.
|
17
|
+
* Split `release` tool into modules for RuboCop satisfaction.
|
18
|
+
|
7
19
|
## 0.6.1 (2021-02-10)
|
8
20
|
|
9
21
|
* Gently abort when `unreleased_title` not found.
|
@@ -15,9 +15,9 @@ module GemToys
|
|
15
15
|
existing_line = @changelog_lines.find { |line| line.start_with? "## #{@new_version} " }
|
16
16
|
|
17
17
|
if existing_line
|
18
|
-
return if (existing_date = existing_line.
|
18
|
+
return if (existing_date = existing_line.scan(/\(([^()]+)\)/).last.first) == @today
|
19
19
|
|
20
|
-
abort "There is already #{
|
20
|
+
abort "There is already #{new_version} version with date #{existing_date}"
|
21
21
|
end
|
22
22
|
|
23
23
|
File.write changelog_file_path, new_changelog_content
|
data/lib/gem_toys/version.rb
CHANGED