parse_a_changelog 1.2.0 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +7 -1
  3. data/VERSION +1 -1
  4. data/lib/grammar.tt +5 -1
  5. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dc6ea631789752275f5afc1bb3e94e3752827eb2753b8b9805ef3a836519266c
4
- data.tar.gz: 3c68137deda564cac32e076068f53e524df8b8c0de945acab05854dc6aef9446
3
+ metadata.gz: 00e6ad2d290f5f06bae47ddee2972e9621f1210083644ee3918a775f5a55ae6b
4
+ data.tar.gz: bbb0a503e5c628806c07217f1e5924b660b35855397a7e425ecd6418e42c6108
5
5
  SHA512:
6
- metadata.gz: 3d5df26f7560aa96d37b61ca99fc46fad02f536d2ecab9e24a43e835d6296bb9df084f999232df862af26cf108e87c5cfa31d68d926c7c2e732e01036eee3050
7
- data.tar.gz: 50024c9454ba8abb7b0c72693d4638ffa5b9e85707826873b25ed6e1d384c1e2d4d23b324a1e567298a16ad195adac7edbcbf911c1e0ca322c5e7ef3837ad3d0
6
+ metadata.gz: d6c18d140b5e252a3556fe4310006258866b9518f87cc185fe38f87ca81447cbfa75517c5d980d137c1a518dda50e3cf0671f7e9b454d0cebfe38782296f4730
7
+ data.tar.gz: 11f832db1f87b4f09b71b9aa564ada6004a2e745ffbb6e8c7a88432f2c4d1841aa60a95d33dc8c46999152a0f362738b9775aa43c1d5a3b44f2560f4e9426a11
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.3.0] - 2023-07-12
10
+ ### Changed
11
+ - Allow versions to have 4 digits (eg., x.x.x.x)
12
+ [cyberark/parse-a-changelog#41](https://github.com/cyberark/parse-a-changelog/pulls/41)
13
+
9
14
  ## [1.2.0] - 2021-06-20
10
15
  ### Changed
11
16
  - Allow CHANGELOG without SemVer declaration.
@@ -77,7 +82,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
77
82
  - Open source license and contributing information
78
83
  - Change log and versioning information
79
84
 
80
- [Unreleased]: https://github.com/cyberark/parse-a-changelog/compare/v1.2.0...HEAD
85
+ [Unreleased]: https://github.com/cyberark/parse-a-changelog/compare/v1.3.0...HEAD
86
+ [1.2.0]: https://github.com/cyberark/parse-a-changelog/compare/v1.2.0...v1.3.0
81
87
  [1.2.0]: https://github.com/cyberark/parse-a-changelog/compare/v1.1.0...v1.2.0
82
88
  [1.1.0]: https://github.com/cyberark/parse-a-changelog/compare/v1.0.2...v1.1.0
83
89
  [1.0.2]: https://github.com/cyberark/parse-a-changelog/compare/v1.0.1...v1.0.2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.0
1
+ 1.3.0
data/lib/grammar.tt CHANGED
@@ -53,7 +53,7 @@ grammar KeepAChangelog
53
53
  end
54
54
 
55
55
  rule release_version
56
- [0-9]+ '.' [0-9]+ '.' [0-9]+ pre_release_version metadata
56
+ [0-9]+ '.' [0-9]+ '.' [0-9]+ fourth_version_digit pre_release_version metadata
57
57
  end
58
58
 
59
59
  rule pre_release_version
@@ -64,6 +64,10 @@ grammar KeepAChangelog
64
64
  ( '+' [0-9A-Za-z-]+ dot_separated_group* ) / ''
65
65
  end
66
66
 
67
+ rule fourth_version_digit
68
+ ( '.' [0-9]+) / ''
69
+ end
70
+
67
71
  rule dot_separated_group
68
72
  '.' [0-9A-Za-z-]+
69
73
  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.2.0
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Tuttle
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-20 00:00:00.000000000 Z
11
+ date: 2023-07-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: treetop