keepachangelog 0.5.1 → 0.5.2
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 +4 -4
- data/CHANGELOG.md +7 -2
- data/Gemfile.lock +1 -1
- data/changelog/{undefined → 0.5.1}/13-compare-non-proper-version.yaml +0 -0
- data/changelog/{undefined → 0.5.1}/14-json-dates.yaml +0 -0
- data/changelog/0.5.2/15-incorrect-previous-version.yaml +4 -0
- data/lib/keepachangelog/printer/markdown.rb +1 -1
- data/package.json +1 -1
- data/spec/printer/markdown_spec.rb +5 -2
- metadata +5 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2fa28be029b7aab7210ca1bbc30e7054d3c393df
|
|
4
|
+
data.tar.gz: cfca6b5097cc2ac1bb0850d4a0d03af62ce12b81
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7144064b05003e9328583cfe534ef5e7b88b93e18bc6bc7bda9123c828df749d22000a32c1331e152678d04adaa2ad6be7fdc3fbcc35f60eb825677c12461865
|
|
7
|
+
data.tar.gz: 8d06b83e3cfba336b0c46704618eeaa6f3eb7b31821dba21995e1f4bba0ab896b0f010b7da3d4c4b153b6a37bebb29964e27ec7c74516802b95b3b75da59971b
|
data/CHANGELOG.md
CHANGED
|
@@ -4,7 +4,11 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
|
5
5
|
and this project adheres to [Semantic Versioning](http://semver.org/).
|
|
6
6
|
|
|
7
|
-
## [
|
|
7
|
+
## [0.5.2] - 2017-04-05
|
|
8
|
+
### Fixed
|
|
9
|
+
- Fix incorrect previous version in URL in Markdown output. (#15)
|
|
10
|
+
|
|
11
|
+
## [0.5.1] - 2017-04-04
|
|
8
12
|
### Fixed
|
|
9
13
|
- Handle arbitrary name for unreleased version when creating URL in Markdown.
|
|
10
14
|
|
|
@@ -60,7 +64,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
|
|
60
64
|
- Tool for reading Changelog in Markdown format.
|
|
61
65
|
- Ability to convert Changelog to YAML.
|
|
62
66
|
|
|
63
|
-
[
|
|
67
|
+
[0.5.2]: https://gitlab.com/ephracis/keepachangelog/compare/0.5.1...0.5.2
|
|
68
|
+
[0.5.1]: https://gitlab.com/ephracis/keepachangelog/compare/0.5.0...0.5.1
|
|
64
69
|
[0.5.0]: https://gitlab.com/ephracis/keepachangelog/compare/0.4.1...0.5.0
|
|
65
70
|
[0.4.1]: https://gitlab.com/ephracis/keepachangelog/compare/0.4.0...0.4.1
|
|
66
71
|
[0.4.0]: https://gitlab.com/ephracis/keepachangelog/compare/0.3.1...0.4.0
|
data/Gemfile.lock
CHANGED
|
File without changes
|
|
File without changes
|
data/package.json
CHANGED
|
@@ -30,9 +30,12 @@ module Keepachangelog
|
|
|
30
30
|
'changes' => { 'New' => ['Feature C'] }
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
|
-
p = MarkdownPrinter.new(versions)
|
|
33
|
+
p = MarkdownPrinter.new(versions, url: 'test.io')
|
|
34
34
|
md = p.to_s.delete("\n")
|
|
35
|
-
expect(md).to match(
|
|
35
|
+
expect(md).to match(/0\.10\.0.*0\.2\.0.*0\.1\.0/)
|
|
36
|
+
expect(md).to match('test.io/compare/0.1.0...0.2.0')
|
|
37
|
+
expect(md).to match('test.io/compare/0.2.0...0.10.0')
|
|
38
|
+
expect(md).to match('test.io/compare/0.10.0...HEAD')
|
|
36
39
|
end
|
|
37
40
|
end
|
|
38
41
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: keepachangelog
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Basalt AB
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-04-
|
|
11
|
+
date: 2017-04-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -159,9 +159,10 @@ files:
|
|
|
159
159
|
- changelog/0.5.0/10-yaml-add-period.yaml
|
|
160
160
|
- changelog/0.5.0/11-default-date.yaml
|
|
161
161
|
- changelog/0.5.0/9-allow-any-name-for-unreleased.yaml
|
|
162
|
+
- changelog/0.5.1/13-compare-non-proper-version.yaml
|
|
163
|
+
- changelog/0.5.1/14-json-dates.yaml
|
|
164
|
+
- changelog/0.5.2/15-incorrect-previous-version.yaml
|
|
162
165
|
- changelog/meta.yaml
|
|
163
|
-
- changelog/undefined/13-compare-non-proper-version.yaml
|
|
164
|
-
- changelog/undefined/14-json-dates.yaml
|
|
165
166
|
- exe/keepachangelog
|
|
166
167
|
- features/help.feature
|
|
167
168
|
- features/parser.feature
|