keepachangelog 0.5.2 → 0.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -10
- data/Gemfile.lock +3 -3
- data/README.md +2 -2
- data/changelog/0.5.3/change-urls.yaml +3 -0
- data/changelog/0.5.3/yaml-print-folder.yaml +3 -0
- data/changelog/meta.yaml +1 -1
- data/features/parser.feature +4 -3
- data/keepachangelog.gemspec +3 -2
- data/lib/keepachangelog/cli.rb +3 -2
- data/lib/keepachangelog/printer/yaml.rb +1 -1
- data/package.json +2 -2
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 847022d1d7203b07b863dfc0582e4ae92755ecb2
|
4
|
+
data.tar.gz: fd822de61295804b992282a368ee3a20dc3949b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 176bea2f07b80eeb38f1c0e0a2e7c029c4c06a3290a573d52ec9d5b9fa6aad41452b705f05a8df671c8ab6ae4f8d33ef648e34643ce1e350054260b9890a69e1
|
7
|
+
data.tar.gz: d10797dd91470f663f90e2204431177cf7b7ab376dce471c703288f776217a87c6a3ebc00073fb4a55162ddb2b2432d0fcb6b9c982a56f6db4667f80ea31d96c
|
data/CHANGELOG.md
CHANGED
@@ -4,6 +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
|
+
## [0.5.3] - 2017-04-10
|
8
|
+
### Fixed
|
9
|
+
- Move project into the Basalt group on GitLab.com.
|
10
|
+
- Print the output folder when generating YAML to default location.
|
11
|
+
|
7
12
|
## [0.5.2] - 2017-04-05
|
8
13
|
### Fixed
|
9
14
|
- Fix incorrect previous version in URL in Markdown output. (#15)
|
@@ -64,13 +69,14 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
|
64
69
|
- Tool for reading Changelog in Markdown format.
|
65
70
|
- Ability to convert Changelog to YAML.
|
66
71
|
|
67
|
-
[0.5.
|
68
|
-
[0.5.
|
69
|
-
[0.5.
|
70
|
-
[0.
|
71
|
-
[0.4.
|
72
|
-
[0.
|
73
|
-
[0.3.
|
74
|
-
[0.
|
75
|
-
[0.2.
|
76
|
-
[0.
|
72
|
+
[0.5.3]: https://gitlab.com/basalt/keepachangelog/compare/0.5.2...0.5.3
|
73
|
+
[0.5.2]: https://gitlab.com/basalt/keepachangelog/compare/0.5.1...0.5.2
|
74
|
+
[0.5.1]: https://gitlab.com/basalt/keepachangelog/compare/0.5.0...0.5.1
|
75
|
+
[0.5.0]: https://gitlab.com/basalt/keepachangelog/compare/0.4.1...0.5.0
|
76
|
+
[0.4.1]: https://gitlab.com/basalt/keepachangelog/compare/0.4.0...0.4.1
|
77
|
+
[0.4.0]: https://gitlab.com/basalt/keepachangelog/compare/0.3.1...0.4.0
|
78
|
+
[0.3.1]: https://gitlab.com/basalt/keepachangelog/compare/0.3.0...0.3.1
|
79
|
+
[0.3.0]: https://gitlab.com/basalt/keepachangelog/compare/0.2.1...0.3.0
|
80
|
+
[0.2.1]: https://gitlab.com/basalt/keepachangelog/compare/0.2.0...0.2.1
|
81
|
+
[0.2.0]: https://gitlab.com/basalt/keepachangelog/compare/0.1.0...0.2.0
|
82
|
+
[0.1.0]: https://gitlab.com/basalt/keepachangelog/compare/77986bc...0.1.0
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
keepachangelog (0.5.
|
4
|
+
keepachangelog (0.5.3)
|
5
5
|
json (~> 2.0)
|
6
6
|
thor (~> 0.19)
|
7
7
|
|
@@ -56,14 +56,14 @@ GEM
|
|
56
56
|
diff-lcs (>= 1.2.0, < 2.0)
|
57
57
|
rspec-support (~> 3.5.0)
|
58
58
|
rspec-support (3.5.0)
|
59
|
-
rubocop (0.
|
59
|
+
rubocop (0.48.1)
|
60
60
|
parser (>= 2.3.3.1, < 3.0)
|
61
61
|
powerpack (~> 0.1)
|
62
62
|
rainbow (>= 1.99.1, < 3.0)
|
63
63
|
ruby-progressbar (~> 1.7)
|
64
64
|
unicode-display_width (~> 1.0, >= 1.0.1)
|
65
65
|
ruby-progressbar (1.8.1)
|
66
|
-
simplecov (0.14.
|
66
|
+
simplecov (0.14.1)
|
67
67
|
docile (~> 1.1.0)
|
68
68
|
json (>= 1.8, < 3)
|
69
69
|
simplecov-html (~> 0.10.0)
|
data/README.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
[![build status](https://gitlab.com/
|
2
|
-
[![coverage report](https://gitlab.com/
|
1
|
+
[![build status](https://gitlab.com/basalt/keepachangelog/badges/master/build.svg)](https://gitlab.com/basalt/keepachangelog/commits/master)
|
2
|
+
[![coverage report](https://gitlab.com/basalt/keepachangelog/badges/master/coverage.svg)](https://gitlab.com/basalt/keepachangelog/commits/master)
|
3
3
|
[![Gem Version](https://badge.fury.io/rb/keepachangelog.svg)](https://badge.fury.io/rb/keepachangelog)
|
4
4
|
|
5
5
|
# Changelog parser and transformer
|
data/changelog/meta.yaml
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
---
|
2
|
-
url: https://gitlab.com/
|
2
|
+
url: https://gitlab.com/basalt/keepachangelog
|
data/features/parser.feature
CHANGED
@@ -50,10 +50,11 @@ Feature: Parse changelogs
|
|
50
50
|
### New
|
51
51
|
- Feature A
|
52
52
|
"""
|
53
|
-
When I successfully run `keepachangelog --from md --to yaml --in CHANGELOG.md
|
54
|
-
Then the file "
|
53
|
+
When I successfully run `keepachangelog --from md --to yaml --in CHANGELOG.md`
|
54
|
+
Then the file "changelog/Unreleased/feature-a.yaml" should contain:
|
55
55
|
"""
|
56
56
|
---
|
57
57
|
title: Feature A
|
58
58
|
type: New
|
59
|
-
"""
|
59
|
+
"""
|
60
|
+
And the output should contain "Finished writing changelog to 'changelog'"
|
data/keepachangelog.gemspec
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
# coding: utf-8
|
2
|
+
|
2
3
|
lib = File.expand_path('../lib', __FILE__)
|
3
4
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
5
|
require 'keepachangelog/version'
|
@@ -13,13 +14,13 @@ Gem::Specification.new do |spec|
|
|
13
14
|
spec.name = 'keepachangelog'
|
14
15
|
spec.version = Keepachangelog.version
|
15
16
|
spec.authors = ['Basalt AB']
|
16
|
-
spec.email = %w
|
17
|
+
spec.email = %w[christoffer.brodd-reijer@basalt.se]
|
17
18
|
spec.licenses = ['MIT']
|
18
19
|
spec.summary = 'Parser for changelogs based on keepachangelog.com'
|
19
20
|
spec.description = 'Tool for parsing changelogs that are based on the '\
|
20
21
|
'keepachangelog.com standard. Changelogs can be dumped '\
|
21
22
|
'to JSON or YAML.'
|
22
|
-
spec.homepage = 'https://gitlab.com/
|
23
|
+
spec.homepage = 'https://gitlab.com/basalt/keepachangelog'
|
23
24
|
spec.files = gem_files
|
24
25
|
spec.bindir = 'exe'
|
25
26
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
data/lib/keepachangelog/cli.rb
CHANGED
@@ -68,8 +68,9 @@ module Keepachangelog
|
|
68
68
|
when :md, :markdown
|
69
69
|
shell.say parser.to_md
|
70
70
|
when :yaml, :yml
|
71
|
-
|
72
|
-
|
71
|
+
out = options[:out] || 'changelog'
|
72
|
+
parser.to_yaml(out)
|
73
|
+
shell.say "Finished writing changelog to '#{out}'"
|
73
74
|
else
|
74
75
|
shell.error "Unknown output format #{options[:to]}"
|
75
76
|
exit 2
|
data/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "keepachangelog",
|
3
|
-
"version": "0.5.
|
3
|
+
"version": "0.5.3",
|
4
4
|
"description": "Parser for changelogs based on keepachangelog.com",
|
5
5
|
"main": "index.js",
|
6
6
|
"scripts": {
|
@@ -8,7 +8,7 @@
|
|
8
8
|
},
|
9
9
|
"repository": {
|
10
10
|
"type": "git",
|
11
|
-
"url": "git@gitlab.com:
|
11
|
+
"url": "git@gitlab.com:basalt/keepachangelog.git"
|
12
12
|
},
|
13
13
|
"author": "Christoffer Reijer",
|
14
14
|
"license": "ISC",
|
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.3
|
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-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -162,6 +162,8 @@ files:
|
|
162
162
|
- changelog/0.5.1/13-compare-non-proper-version.yaml
|
163
163
|
- changelog/0.5.1/14-json-dates.yaml
|
164
164
|
- changelog/0.5.2/15-incorrect-previous-version.yaml
|
165
|
+
- changelog/0.5.3/change-urls.yaml
|
166
|
+
- changelog/0.5.3/yaml-print-folder.yaml
|
165
167
|
- changelog/meta.yaml
|
166
168
|
- exe/keepachangelog
|
167
169
|
- features/help.feature
|
@@ -186,7 +188,7 @@ files:
|
|
186
188
|
- spec/printer/yaml_spec.rb
|
187
189
|
- spec/spec_helper.rb
|
188
190
|
- spec/version_spec.rb
|
189
|
-
homepage: https://gitlab.com/
|
191
|
+
homepage: https://gitlab.com/basalt/keepachangelog
|
190
192
|
licenses:
|
191
193
|
- MIT
|
192
194
|
metadata: {}
|