parse_a_changelog 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (6) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +8 -1
  3. data/README.md +4 -4
  4. data/VERSION +1 -1
  5. data/lib/grammar.tt +10 -2
  6. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7554d0c8b61929dd6e2c3ae089954703938cec271e1273624ceb91c47f774697
4
- data.tar.gz: e5251b1ad88ca6c3a51f18cccf4b3e89e68d69c65c7c54f57cd8e04ab1c1006e
3
+ metadata.gz: 386dfd71c49f61ffdd42469141d5a687d4facdd7e2322303a3dd34a92a3b028b
4
+ data.tar.gz: d2799e8f10212c91a043e96360ae7597c996c4c7ae4cfee125bd0a9d21227cd8
5
5
  SHA512:
6
- metadata.gz: d94580da8e01d3c1d028c8853158e2f2f4a7ddfa77ec6a0145bb02a950267e9689af2b560c2a365e5ad42bf100595ede7a3f9e7cce2c51f2300244dcd8de752d
7
- data.tar.gz: 96e751ca80a824eaeb94d14232eff9a68439d5ffa78b8cd4d0b22e0e4aac95a47a499f367693752438bb54cd6a9ee1008451ec3672c87031d1c34027891cec16
6
+ metadata.gz: c88acee63ea012d034a5e32fa0dea5dd91da06b99a67e69720df013f8e7f565904c02ff754542b6bcb83f8a9558bf4c1ec882221951bb1ff2915f8144a7b7e6c
7
+ data.tar.gz: e0272cdd7d0a62cc0f04447641fd7531b66facaaf411475cd35285f549f82ff193a1f826cb541910b636fc9155d60fc7e07c5383b5e2afbd3478f1e78a975da3
@@ -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.0...HEAD
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 --rm -v "$PWD":/app ruby:2.6 bash -ec "
31
- gem install parse_a_changelog
32
- parse /app/CHANGELOG.md
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
+ 1.0.2
@@ -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
- ('HEAD' / 'v' release_version)
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.1
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-03-06 00:00:00.000000000 Z
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.0.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