github_changelog_generator 1.10.1 → 1.10.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +40 -0
- data/.rubocop_todo.yml +15 -6
- data/.travis.yml +1 -1
- data/CHANGELOG.md +33 -0
- data/Gemfile.lock +28 -36
- data/README.md +72 -67
- data/Rakefile +17 -1
- data/bin/git-generate-changelog +4 -0
- data/github_changelog_generator.gemspec +4 -4
- data/lib/github_changelog_generator.rb +1 -1
- data/lib/github_changelog_generator/fetcher.rb +5 -5
- data/lib/github_changelog_generator/generator/generator_generation.rb +25 -23
- data/lib/github_changelog_generator/generator/generator_processor.rb +13 -13
- data/lib/github_changelog_generator/generator/generator_tags.rb +12 -12
- data/lib/github_changelog_generator/helper.rb +6 -6
- data/lib/github_changelog_generator/parser.rb +3 -0
- data/lib/github_changelog_generator/parser_file.rb +2 -2
- data/lib/github_changelog_generator/task.rb +2 -2
- data/lib/github_changelog_generator/version.rb +1 -1
- data/man/git-generate-changelog.1 +252 -0
- data/man/git-generate-changelog.html +262 -0
- data/man/git-generate-changelog.md +179 -0
- data/spec/files/github_changelog_params_327 +1 -0
- data/spec/spec_helper.rb +5 -5
- data/spec/unit/parse_file_spec.rb +14 -0
- metadata +39 -17
@@ -36,6 +36,20 @@ describe GitHubChangelogGenerator::ParserFile do
|
|
36
36
|
unreleased: false,
|
37
37
|
header: "=== Changelog ==="))
|
38
38
|
end
|
39
|
+
|
40
|
+
context "turns exclude-labels into an Array", bug: '#327' do
|
41
|
+
let(:options) do
|
42
|
+
{
|
43
|
+
params_file: "spec/files/github_changelog_params_327"
|
44
|
+
}
|
45
|
+
end
|
46
|
+
it "reads exclude_labels into an Array" do
|
47
|
+
pending("Related with Bug #327.")
|
48
|
+
expect { parse.parse! }.to change { options[:exclude_labels] }
|
49
|
+
.from(nil)
|
50
|
+
.to(["73a91042-da6f-11e5-9335-1040f38d7f90", "7adf83b4-da6f-11e5-ae18-1040f38d7f90"])
|
51
|
+
end
|
52
|
+
end
|
39
53
|
end
|
40
54
|
end
|
41
55
|
end
|
metadata
CHANGED
@@ -1,78 +1,94 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: github_changelog_generator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.10.
|
4
|
+
version: 1.10.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Petr Korolev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-02-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: rake
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0
|
19
|
+
version: '10.0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '0
|
26
|
+
version: '10.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '1.7'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '1.7'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: github_api
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
48
|
-
type: :
|
47
|
+
version: '0.12'
|
48
|
+
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
54
|
+
version: '0.12'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: colorize
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
62
|
-
type: :
|
61
|
+
version: '0.7'
|
62
|
+
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
68
|
+
version: '0.7'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: overcommit
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0.31'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0.31'
|
69
83
|
description: Changelog generation has never been so easy. Fully automate changelog
|
70
84
|
generation - this gem generate change log file based on tags, issues and merged
|
71
85
|
pull requests from Github issue tracker.
|
72
86
|
email: sky4winder+github_changelog_generator@gmail.com
|
73
87
|
executables:
|
88
|
+
- git-generate-changelog
|
74
89
|
- github_changelog_generator
|
75
|
-
extensions:
|
90
|
+
extensions:
|
91
|
+
- Rakefile
|
76
92
|
extra_rdoc_files: []
|
77
93
|
files:
|
78
94
|
- ".coveralls.yml"
|
@@ -88,6 +104,7 @@ files:
|
|
88
104
|
- Gemfile.lock
|
89
105
|
- README.md
|
90
106
|
- Rakefile
|
107
|
+
- bin/git-generate-changelog
|
91
108
|
- bin/github_changelog_generator
|
92
109
|
- github_changelog_generator.gemspec
|
93
110
|
- images/logo.jpg
|
@@ -105,9 +122,13 @@ files:
|
|
105
122
|
- lib/github_changelog_generator/reader.rb
|
106
123
|
- lib/github_changelog_generator/task.rb
|
107
124
|
- lib/github_changelog_generator/version.rb
|
125
|
+
- man/git-generate-changelog.1
|
126
|
+
- man/git-generate-changelog.html
|
127
|
+
- man/git-generate-changelog.md
|
108
128
|
- spec/files/angular.js.md
|
109
129
|
- spec/files/bundler.md
|
110
130
|
- spec/files/github-changelog-generator.md
|
131
|
+
- spec/files/github_changelog_params_327
|
111
132
|
- spec/files/github_changelog_params_empty
|
112
133
|
- spec/files/github_changelog_params_incorrect
|
113
134
|
- spec/files/github_changelog_params_override
|
@@ -146,6 +167,7 @@ test_files:
|
|
146
167
|
- spec/files/angular.js.md
|
147
168
|
- spec/files/bundler.md
|
148
169
|
- spec/files/github-changelog-generator.md
|
170
|
+
- spec/files/github_changelog_params_327
|
149
171
|
- spec/files/github_changelog_params_empty
|
150
172
|
- spec/files/github_changelog_params_incorrect
|
151
173
|
- spec/files/github_changelog_params_override
|