parse_a_changelog 1.1.0 → 1.2.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 +10 -2
  5. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e045590cfc9f23d38e8f2defb7eef9e0922d03abb4912a8b7b89f241e71e1163
4
- data.tar.gz: 22fb2fbc1e1a1cdee66307a2808b83ca1469028d9bae4f94e86f260f6169e1f5
3
+ metadata.gz: dc6ea631789752275f5afc1bb3e94e3752827eb2753b8b9805ef3a836519266c
4
+ data.tar.gz: 3c68137deda564cac32e076068f53e524df8b8c0de945acab05854dc6aef9446
5
5
  SHA512:
6
- metadata.gz: 4c7f832c309f8ce46d459ba44016213b89ecd5465e6a6395f8b8fe2142deae05da2894a133fead184b0fc9d555eba54cc6251c211c267dfe8e1feff98496aa44
7
- data.tar.gz: 3dd90696a9fd42f3e05ec0d3c3f2faed89dc0fb50089382cd144f3772288ad6ef3272da5a31ed440ef38fc323582b0a73cd20dce1b0a29b3082bdf1c1259c713
6
+ metadata.gz: 3d5df26f7560aa96d37b61ca99fc46fad02f536d2ecab9e24a43e835d6296bb9df084f999232df862af26cf108e87c5cfa31d68d926c7c2e732e01036eee3050
7
+ data.tar.gz: 50024c9454ba8abb7b0c72693d4638ffa5b9e85707826873b25ed6e1d384c1e2d4d23b324a1e567298a16ad195adac7edbcbf911c1e0ca322c5e7ef3837ad3d0
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.2.0] - 2021-06-20
10
+ ### Changed
11
+ - Allow CHANGELOG without SemVer declaration.
12
+ [cyberark/parse-a-changelog#37](https://github.com/cyberark/parse-a-changelog/issues/37)
13
+
9
14
  ## [1.1.0] - 2020-11-12
10
15
  ### Added
11
16
  - Allow for metadata section in version string.
@@ -72,7 +77,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
72
77
  - Open source license and contributing information
73
78
  - Change log and versioning information
74
79
 
75
- [Unreleased]: https://github.com/cyberark/parse-a-changelog/compare/v1.1.0...HEAD
80
+ [Unreleased]: https://github.com/cyberark/parse-a-changelog/compare/v1.2.0...HEAD
81
+ [1.2.0]: https://github.com/cyberark/parse-a-changelog/compare/v1.1.0...v1.2.0
76
82
  [1.1.0]: https://github.com/cyberark/parse-a-changelog/compare/v1.0.2...v1.1.0
77
83
  [1.0.2]: https://github.com/cyberark/parse-a-changelog/compare/v1.0.1...v1.0.2
78
84
  [1.0.1]: https://github.com/cyberark/parse-a-changelog/compare/v1.0.0...v1.0.1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.0
1
+ 1.2.0
data/lib/grammar.tt CHANGED
@@ -7,11 +7,19 @@ grammar KeepAChangelog
7
7
  '# Changelog' new_line
8
8
  'All notable changes to this project will be documented in this file.' new_line
9
9
  new_line
10
- 'The format is based on [Keep a Changelog](http' 's'? '://keepachangelog.com/en/1.0.0/)' new_line
11
- 'and this project adheres to [Semantic Versioning](http' 's'? '://semver.org/spec/v2.0.0.html).' new_line
10
+ keep_a_changelog_format '.'? new_line
11
+ (semver_convention new_line)?
12
12
  new_line
13
13
  end
14
14
 
15
+ rule keep_a_changelog_format
16
+ 'The format is based on [Keep a Changelog](http' 's'? '://keepachangelog.com/en/1.0.0/)'
17
+ end
18
+
19
+ rule semver_convention
20
+ 'and this project adheres to [Semantic Versioning](http' 's'? '://semver.org/spec/v2.0.0.html).'
21
+ end
22
+
15
23
  rule unreleased_section
16
24
  unreleased_header change_section? (new_line change_section)*
17
25
  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.1.0
4
+ version: 1.2.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: 2020-11-12 00:00:00.000000000 Z
11
+ date: 2021-06-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: treetop
@@ -100,7 +100,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
100
100
  - !ruby/object:Gem::Version
101
101
  version: '0'
102
102
  requirements: []
103
- rubygems_version: 3.1.2
103
+ rubygems_version: 3.1.6
104
104
  signing_key:
105
105
  specification_version: 4
106
106
  summary: A validator for the keep-a-changelog format