keepachangelog 0.5.2 → 0.5.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2fa28be029b7aab7210ca1bbc30e7054d3c393df
4
- data.tar.gz: cfca6b5097cc2ac1bb0850d4a0d03af62ce12b81
3
+ metadata.gz: 847022d1d7203b07b863dfc0582e4ae92755ecb2
4
+ data.tar.gz: fd822de61295804b992282a368ee3a20dc3949b0
5
5
  SHA512:
6
- metadata.gz: 7144064b05003e9328583cfe534ef5e7b88b93e18bc6bc7bda9123c828df749d22000a32c1331e152678d04adaa2ad6be7fdc3fbcc35f60eb825677c12461865
7
- data.tar.gz: 8d06b83e3cfba336b0c46704618eeaa6f3eb7b31821dba21995e1f4bba0ab896b0f010b7da3d4c4b153b6a37bebb29964e27ec7c74516802b95b3b75da59971b
6
+ metadata.gz: 176bea2f07b80eeb38f1c0e0a2e7c029c4c06a3290a573d52ec9d5b9fa6aad41452b705f05a8df671c8ab6ae4f8d33ef648e34643ce1e350054260b9890a69e1
7
+ data.tar.gz: d10797dd91470f663f90e2204431177cf7b7ab376dce471c703288f776217a87c6a3ebc00073fb4a55162ddb2b2432d0fcb6b9c982a56f6db4667f80ea31d96c
@@ -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.2]: https://gitlab.com/ephracis/keepachangelog/compare/0.5.1...0.5.2
68
- [0.5.1]: https://gitlab.com/ephracis/keepachangelog/compare/0.5.0...0.5.1
69
- [0.5.0]: https://gitlab.com/ephracis/keepachangelog/compare/0.4.1...0.5.0
70
- [0.4.1]: https://gitlab.com/ephracis/keepachangelog/compare/0.4.0...0.4.1
71
- [0.4.0]: https://gitlab.com/ephracis/keepachangelog/compare/0.3.1...0.4.0
72
- [0.3.1]: https://gitlab.com/ephracis/keepachangelog/compare/0.3.0...0.3.1
73
- [0.3.0]: https://gitlab.com/ephracis/keepachangelog/compare/0.2.1...0.3.0
74
- [0.2.1]: https://gitlab.com/ephracis/keepachangelog/compare/0.2.0...0.2.1
75
- [0.2.0]: https://gitlab.com/ephracis/keepachangelog/compare/0.1.0...0.2.0
76
- [0.1.0]: https://gitlab.com/ephracis/keepachangelog/compare/77986bc...0.1.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
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- keepachangelog (0.5.2)
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.47.1)
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.0)
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/ephracis/keepachangelog/badges/master/build.svg)](https://gitlab.com/ephracis/keepachangelog/commits/master)
2
- [![coverage report](https://gitlab.com/ephracis/keepachangelog/badges/master/coverage.svg)](https://gitlab.com/ephracis/keepachangelog/commits/master)
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
@@ -0,0 +1,3 @@
1
+ ---
2
+ title: Move project into the Basalt group on GitLab.com
3
+ type: Fixed
@@ -0,0 +1,3 @@
1
+ ---
2
+ title: Print the output folder when generating YAML to default location
3
+ type: Fixed
@@ -1,2 +1,2 @@
1
1
  ---
2
- url: https://gitlab.com/ephracis/keepachangelog
2
+ url: https://gitlab.com/basalt/keepachangelog
@@ -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 --out test`
54
- Then the file "test/Unreleased/feature-a.yaml" should contain:
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'"
@@ -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(christoffer.brodd-reijer@basalt.se)
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/ephracis/keepachangelog'
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) }
@@ -68,8 +68,9 @@ module Keepachangelog
68
68
  when :md, :markdown
69
69
  shell.say parser.to_md
70
70
  when :yaml, :yml
71
- parser.to_yaml(options[:out])
72
- shell.say "Finished writing changelog to '#{options[:out]}'"
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
@@ -18,7 +18,7 @@ module Keepachangelog
18
18
 
19
19
  def write_meta(path)
20
20
  meta = {}
21
- %w(url title intro).each do |key|
21
+ %w[url title intro].each do |key|
22
22
  meta[key] = changelog[key] unless changelog[key].to_s.empty?
23
23
  end
24
24
  File.write(path, meta.to_yaml)
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "keepachangelog",
3
- "version": "0.5.2",
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:ephracis/keepachangelog.git"
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.2
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-05 00:00:00.000000000 Z
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/ephracis/keepachangelog
191
+ homepage: https://gitlab.com/basalt/keepachangelog
190
192
  licenses:
191
193
  - MIT
192
194
  metadata: {}