parse_a_changelog 1.0.1 → 1.0.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 +8 -1
- data/README.md +4 -4
- data/VERSION +1 -1
- data/lib/grammar.tt +10 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 386dfd71c49f61ffdd42469141d5a687d4facdd7e2322303a3dd34a92a3b028b
|
4
|
+
data.tar.gz: d2799e8f10212c91a043e96360ae7597c996c4c7ae4cfee125bd0a9d21227cd8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c88acee63ea012d034a5e32fa0dea5dd91da06b99a67e69720df013f8e7f565904c02ff754542b6bcb83f8a9558bf4c1ec882221951bb1ff2915f8144a7b7e6c
|
7
|
+
data.tar.gz: e0272cdd7d0a62cc0f04447641fd7531b66facaaf411475cd35285f549f82ff193a1f826cb541910b636fc9155d60fc7e07c5383b5e2afbd3478f1e78a975da3
|
data/CHANGELOG.md
CHANGED
@@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
6
6
|
|
7
7
|
## [Unreleased]
|
8
8
|
|
9
|
+
## [1.0.2] - 2020-08-26
|
10
|
+
### Fixed
|
11
|
+
- Added support for semver pre-releases.
|
12
|
+
[cyberark/parse-a-changelog#29](https://github.com/cyberark/parse-a-changelog/issues/29).
|
13
|
+
|
9
14
|
## [1.0.1] - 2020-03-06
|
10
15
|
### Added
|
11
16
|
- Jenkins pipeline with ruby gems publication
|
@@ -62,7 +67,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
62
67
|
- Open source license and contributing information
|
63
68
|
- Change log and versioning information
|
64
69
|
|
65
|
-
[Unreleased]: https://github.com/cyberark/parse-a-changelog/compare/v1.0.
|
70
|
+
[Unreleased]: https://github.com/cyberark/parse-a-changelog/compare/v1.0.2...HEAD
|
71
|
+
[1.0.2]: https://github.com/cyberark/parse-a-changelog/compare/v1.0.1...v1.0.2
|
72
|
+
[1.0.1]: https://github.com/cyberark/parse-a-changelog/compare/v1.0.0...v1.0.1
|
66
73
|
[1.0.0]: https://github.com/cyberark/parse-a-changelog/compare/v0.2.3...v1.0.0
|
67
74
|
[0.2.3]: https://github.com/cyberark/parse-a-changelog/compare/v0.2.2...v0.2.3
|
68
75
|
[0.2.2]: https://github.com/cyberark/parse-a-changelog/compare/v0.2.1...v0.2.2
|
data/README.md
CHANGED
@@ -27,10 +27,10 @@ Finally, here is an example bash script that runs `parse-a-changelog` on the cur
|
|
27
27
|
```
|
28
28
|
#!/bin/bash -ex
|
29
29
|
|
30
|
-
docker run
|
31
|
-
|
32
|
-
|
33
|
-
|
30
|
+
docker run \
|
31
|
+
--rm \
|
32
|
+
--volume "${PWD}/CHANGELOG.md":/CHANGELOG.md \
|
33
|
+
cyberark/parse-a-changelog
|
34
34
|
```
|
35
35
|
|
36
36
|
# Development
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.2
|
data/lib/grammar.tt
CHANGED
@@ -45,7 +45,15 @@ grammar KeepAChangelog
|
|
45
45
|
end
|
46
46
|
|
47
47
|
rule release_version
|
48
|
-
[0-9]+ '.' [0-9]+ '.' [0-9]+
|
48
|
+
[0-9]+ '.' [0-9]+ '.' [0-9]+ pre_release_version
|
49
|
+
end
|
50
|
+
|
51
|
+
rule pre_release_version
|
52
|
+
( '-' [0-9A-Za-z-]+ pre_release_group* ) / ''
|
53
|
+
end
|
54
|
+
|
55
|
+
rule pre_release_group
|
56
|
+
'.' [0-9A-Za-z-]+
|
49
57
|
end
|
50
58
|
|
51
59
|
rule release_date
|
@@ -73,6 +81,6 @@ grammar KeepAChangelog
|
|
73
81
|
end
|
74
82
|
|
75
83
|
rule diff_version
|
76
|
-
|
84
|
+
'HEAD' / ( 'v' release_version )
|
77
85
|
end
|
78
86
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: parse_a_changelog
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Tuttle
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-08-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: treetop
|
@@ -86,7 +86,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
86
86
|
- !ruby/object:Gem::Version
|
87
87
|
version: '0'
|
88
88
|
requirements: []
|
89
|
-
rubygems_version: 3.
|
89
|
+
rubygems_version: 3.1.2
|
90
90
|
signing_key:
|
91
91
|
specification_version: 4
|
92
92
|
summary: A validator for the keep-a-changelog format
|