danger-changelog 0.6.0 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/danger.yml +23 -0
  3. data/.github/workflows/lint.yml +16 -0
  4. data/.github/workflows/test.yml +20 -0
  5. data/.gitignore +1 -0
  6. data/.rubocop.yml +10 -0
  7. data/.rubocop_todo.yml +1 -39
  8. data/CHANGELOG.md +11 -0
  9. data/CONTRIBUTING.md +1 -1
  10. data/Dangerfile +1 -0
  11. data/Gemfile +14 -0
  12. data/LICENSE.txt +1 -1
  13. data/README.md +20 -3
  14. data/RELEASING.md +1 -1
  15. data/danger-changelog.gemspec +0 -11
  16. data/lib/changelog/changelog_file.rb +5 -3
  17. data/lib/changelog/changelog_line/changelog_entry_line.rb +31 -1
  18. data/lib/changelog/changelog_line/changelog_header_line.rb +2 -2
  19. data/lib/changelog/changelog_line/changelog_line.rb +2 -0
  20. data/lib/changelog/changelog_line/changelog_line_parser.rb +2 -2
  21. data/lib/changelog/config.rb +4 -2
  22. data/lib/changelog/gem_version.rb +1 -1
  23. data/lib/changelog/parsers/base.rb +2 -2
  24. data/lib/changelog/parsers/intridea_format.rb +2 -1
  25. data/lib/changelog/parsers/keep_a_changelog.rb +2 -2
  26. data/lib/changelog/parsers/validation_result.rb +31 -0
  27. data/lib/changelog/parsers.rb +1 -0
  28. data/lib/changelog/plugin.rb +10 -9
  29. data/spec/changelog_spec.rb +88 -254
  30. data/spec/config_spec.rb +11 -3
  31. data/spec/{changelog_entry_line_spec.rb → intridea/changelog_entry_line_spec.rb} +1 -1
  32. data/spec/intridea/changelog_file_spec.rb +120 -0
  33. data/spec/{changelog_header_line_spec.rb → intridea/changelog_header_line_spec.rb} +1 -1
  34. data/spec/{changelog_line_parser_spec.rb → intridea/changelog_line_parser_spec.rb} +1 -1
  35. data/spec/{changelog_placeholder_line_spec.rb → intridea/changelog_placeholder_line_spec.rb} +5 -3
  36. data/spec/intridea/changelog_spec.rb +150 -0
  37. data/spec/{fixtures/changelogs → intridea/fixtures}/dates.md +3 -0
  38. data/spec/intridea/fixtures/extra_trailing_space.md +3 -0
  39. data/spec/keep_a_changelog/changelog_spec.rb +84 -0
  40. data/spec/keep_a_changelog/fixtures/invalid_line.md +23 -0
  41. data/spec/keep_a_changelog/fixtures/lines_with_links.md +14 -0
  42. data/spec/keep_a_changelog/fixtures/missing_a_version_header.md +20 -0
  43. data/spec/plugin_spec.rb +10 -0
  44. metadata +50 -173
  45. data/.travis.yml +0 -14
  46. data/spec/changelog_file_spec.rb +0 -110
  47. /data/spec/{fixtures/changelogs → intridea/fixtures}/customized.md +0 -0
  48. /data/spec/{fixtures/changelogs → intridea/fixtures}/imbalanced.md +0 -0
  49. /data/spec/{fixtures/changelogs → intridea/fixtures}/lines.md +0 -0
  50. /data/spec/{fixtures/changelogs → intridea/fixtures}/minimal.md +0 -0
  51. /data/spec/{fixtures/changelogs → intridea/fixtures}/missing_your_contribution_here.md +0 -0
  52. /data/spec/{fixtures/changelogs → intridea/fixtures}/semver.md +0 -0
  53. /data/spec/{fixtures/changelogs/keep_a_changelog.md → keep_a_changelog/fixtures/complete.md} +0 -0
@@ -0,0 +1,150 @@
1
+ require 'spec_helper'
2
+
3
+ describe Danger::Changelog do
4
+ describe 'with Dangerfile' do
5
+ let(:dangerfile) { testing_dangerfile }
6
+ let(:changelog) { dangerfile.changelog }
7
+ let(:status_report) { changelog.status_report }
8
+
9
+ describe 'in a PR' do
10
+ before do
11
+ # typical PR JSON looks like https://raw.githubusercontent.com/danger/danger/bffc246a11dac883d76fc6636319bd6c2acd58a3/spec/fixtures/pr_response.json
12
+ changelog.env.request_source.pr_json = {
13
+ 'number' => 123,
14
+ 'title' => 'being dangerous',
15
+ 'html_url' => 'https://github.com/dblock/danger-changelog/pull/123',
16
+ 'user' => {
17
+ 'login' => 'dblock'
18
+ }
19
+ }
20
+ end
21
+
22
+ context 'is_changelog_format_correct?' do
23
+ subject do
24
+ changelog.filename = filename
25
+ changelog.is_changelog_format_correct?
26
+ end
27
+
28
+ context 'without a CHANGELOG file' do
29
+ let(:filename) { 'does-not-exist' }
30
+ it 'complains' do
31
+ expect(subject).to be false
32
+ expect(status_report[:errors]).to eq ['The does-not-exist file does not exist.']
33
+ end
34
+ end
35
+
36
+ context 'with CHANGELOG changes' do
37
+ let(:filename) { File.expand_path('fixtures/minimal.md', __dir__) }
38
+
39
+ before do
40
+ allow(changelog.git).to receive(:modified_files).and_return([filename])
41
+ allow(changelog.git).to receive(:added_files).and_return([])
42
+ end
43
+
44
+ it 'has no complaints' do
45
+ expect(subject).to be true
46
+ expect(status_report[:errors]).to eq []
47
+ expect(status_report[:warnings]).to eq []
48
+ expect(status_report[:markdowns]).to eq []
49
+ end
50
+
51
+ context 'customized' do
52
+ before do
53
+ changelog.placeholder_line = "* Nothing yet.\n"
54
+ end
55
+
56
+ let(:filename) { File.expand_path('fixtures/customized.md', __dir__) }
57
+ it 'is ok' do
58
+ expect(subject).to be true
59
+ expect(status_report[:errors]).to eq []
60
+ expect(status_report[:warnings]).to eq []
61
+ expect(status_report[:markdowns]).to eq []
62
+ end
63
+ end
64
+
65
+ context 'missing your contribution here' do
66
+ let(:filename) { File.expand_path('fixtures/missing_your_contribution_here.md', __dir__) }
67
+
68
+ context 'when placeholder line is customized' do
69
+ before do
70
+ changelog.placeholder_line = "* Nothing yet.\n"
71
+ end
72
+
73
+ it 'complains' do
74
+ expect(subject).to be false
75
+ expect(status_report[:errors]).to eq ["Please put back the `* Nothing yet.` line into #{filename}."]
76
+ expect(status_report[:warnings]).to eq []
77
+ expect(status_report[:markdowns]).to eq []
78
+ end
79
+ end
80
+
81
+ context 'when placeholder line is default' do
82
+ it 'complains' do
83
+ expect(subject).to be false
84
+ expect(status_report[:errors]).to eq ["Please put back the `* Your contribution here.` line into #{filename}."]
85
+ expect(status_report[:warnings]).to eq []
86
+ expect(status_report[:markdowns]).to eq []
87
+ end
88
+ end
89
+
90
+ context 'when placeholder line is nil' do
91
+ before do
92
+ changelog.placeholder_line = nil
93
+ end
94
+
95
+ it 'is ok' do
96
+ expect(subject).to be true
97
+ expect(status_report[:errors]).to eq []
98
+ expect(status_report[:warnings]).to eq []
99
+ expect(status_report[:markdowns]).to eq []
100
+ end
101
+ end
102
+ end
103
+
104
+ context 'minimal example' do
105
+ let(:filename) { File.expand_path('fixtures/minimal.md', __dir__) }
106
+ it 'is ok' do
107
+ expect(subject).to be true
108
+ expect(status_report[:errors]).to eq []
109
+ expect(status_report[:warnings]).to eq []
110
+ expect(status_report[:markdowns]).to eq []
111
+ end
112
+
113
+ context 'when placeholder line is nil' do
114
+ before do
115
+ changelog.placeholder_line = nil
116
+ end
117
+
118
+ it 'complains' do
119
+ expect(subject).to be false
120
+ expect(status_report[:errors]).to eq ["One of the lines below found in #{filename} doesn't match the [expected format](https://github.com/dblock/danger-changelog/blob/master/README.md#whats-a-correctly-formatted-changelog-file). Please make it look like the other lines, pay attention to version numbers, periods, spaces and date formats."]
121
+ expect(status_report[:warnings]).to eq []
122
+ expect(status_report[:markdowns].map(&:message)).to eq [
123
+ "```markdown\n* Your contribution here.\ndoes not include a pull request link, does not include an author link\n```\n"
124
+ ]
125
+ end
126
+ end
127
+ end
128
+
129
+ context 'with bad lines' do
130
+ let(:filename) { File.expand_path('fixtures/lines.md', __dir__) }
131
+ it 'complains' do
132
+ expect(subject).to be false
133
+ expect(status_report[:errors]).to eq ["One of the lines below found in #{filename} doesn't match the [expected format](https://github.com/dblock/danger-changelog/blob/master/README.md#whats-a-correctly-formatted-changelog-file). Please make it look like the other lines, pay attention to version numbers, periods, spaces and date formats."]
134
+ expect(status_report[:warnings]).to eq []
135
+ expect(status_report[:markdowns].map(&:message)).to eq [
136
+ "```markdown\nMissing star - [@dblock](https://github.com/dblock).\ndoes not start with a star, does not include a pull request link\n```\n",
137
+ "```markdown\n* [#1](https://github.com/dblock/danger-changelog/pull/1) - Not a colon - [@dblock](https://github.com/dblock).\n```\n",
138
+ "```markdown\n* [#1](https://github.com/dblock/danger-changelog/pull/1): No final period - [@dblock](https://github.com/dblock)\nis missing a period at the end of the line\n```\n",
139
+ "```markdown\n# [#1](https://github.com/dblock/danger-changelog/pull/1): Hash instead of star - [@dblock](https://github.com/dblock).\ndoes not start with a star\n```\n",
140
+ "```markdown\n* [#1](https://github.com/dblock/danger-changelog/pull/1): Extra period. - [@dblock](https://github.com/dblock).\nhas an extra period or comma at the end of the description\n```\n",
141
+ "```markdown\n* [#1](https://github.com/dblock/danger-changelog/pull/1): Unbalanced ( - [@dblock](https://github.com/dblock).\ntoo many parenthesis\n```\n",
142
+ "```markdown\n* [#1](https://github.com/dblock/danger-changelog/pull/1): Unbalanced ] - [@dblock](https://github.com/dblock).\ntoo many parenthesis\n```\n"
143
+ ]
144
+ end
145
+ end
146
+ end
147
+ end
148
+ end
149
+ end
150
+ end
@@ -11,3 +11,6 @@
11
11
  ### 1.2.3 (2018/13)
12
12
  ### 1.2.3 (2018/1/1/3)
13
13
  ### 1.2.3 - 2018/01/02
14
+ ### 1.2.3 - 2023-09-28
15
+ ### 1.2.3 - 2023-09-28Z
16
+ ### 1.2.3 - 2023-09-28T21:59:56Z
@@ -0,0 +1,3 @@
1
+ ### Changelog
2
+
3
+ * [#1](https://github.com/dblock/danger-changelog/pull/1): Extra trailing space - [@dblock](https://github.com/dblock).
@@ -0,0 +1,84 @@
1
+ require 'spec_helper'
2
+
3
+ describe Danger::Changelog do
4
+ let(:dangerfile) { testing_dangerfile }
5
+ let(:changelog) { dangerfile.changelog }
6
+ let(:status_report) { changelog.status_report }
7
+
8
+ describe 'in a PR' do
9
+ before do
10
+ changelog.env.request_source.pr_json = {
11
+ 'number' => 123,
12
+ 'title' => 'being dangerous',
13
+ 'html_url' => 'https://github.com/dblock/danger-changelog/pull/123',
14
+ 'user' => {
15
+ 'login' => 'dblock'
16
+ }
17
+ }
18
+ end
19
+
20
+ context 'is_changelog_format_correct?' do
21
+ subject do
22
+ changelog.format = :keep_a_changelog
23
+ changelog.filename = filename
24
+ changelog.is_changelog_format_correct?
25
+ end
26
+
27
+ context 'with CHANGELOG changes' do
28
+ before do
29
+ allow(changelog.git).to receive(:modified_files).and_return([filename])
30
+ allow(changelog.git).to receive(:added_files).and_return([])
31
+ end
32
+
33
+ context 'valid file' do
34
+ let(:filename) { File.expand_path('fixtures/complete.md', __dir__) }
35
+ it 'has no complaints' do
36
+ expect(subject).to be true
37
+ expect(status_report[:errors]).to eq []
38
+ expect(status_report[:warnings]).to eq []
39
+ expect(status_report[:markdowns]).to eq []
40
+ end
41
+ end
42
+
43
+ context 'with lines containing links' do
44
+ let(:filename) { File.expand_path('fixtures/lines_with_links.md', __dir__) }
45
+ it 'is valid' do
46
+ expect(subject).to be true
47
+ expect(status_report[:errors]).to eq []
48
+ expect(status_report[:warnings]).to eq []
49
+ expect(status_report[:markdowns]).to eq []
50
+ end
51
+ end
52
+
53
+ context 'missing a version header' do
54
+ let(:filename) { File.expand_path('fixtures/missing_a_version_header.md', __dir__) }
55
+ it 'complains' do
56
+ expect(subject).to be false
57
+ expect(status_report[:errors]).to eq [
58
+ "One of the lines below found in #{filename} doesn't match the [expected format](https://keepachangelog.com).",
59
+ 'The changelog is missing the version header for the Keep A Changelog format. See <https://keepachangelog.com> to see the format of the header.'
60
+ ]
61
+ expect(status_report[:warnings]).to eq []
62
+ expect(status_report[:markdowns].map(&:message)).to eq [
63
+ "```markdown\nAll notable changes to this project will be documented in this file.\n```\n"
64
+ ]
65
+ end
66
+ end
67
+
68
+ context 'invalid line' do
69
+ let(:filename) { File.expand_path('fixtures/invalid_line.md', __dir__) }
70
+ it 'complains' do
71
+ expect(subject).to be false
72
+ expect(status_report[:errors]).to eq [
73
+ "One of the lines below found in #{filename} doesn't match the [expected format](https://keepachangelog.com)."
74
+ ]
75
+ expect(status_report[:warnings]).to eq []
76
+ expect(status_report[:markdowns].map(&:message)).to eq [
77
+ "```markdown\nInvalid line by [@tylerfortune8](https://github.com/tylerfortune8).\n```\n"
78
+ ]
79
+ end
80
+ end
81
+ end
82
+ end
83
+ end
84
+ end
@@ -0,0 +1,23 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [Unreleased]
9
+
10
+ ## [1.0.0] - 2017-06-20
11
+
12
+ ### Added
13
+
14
+ Invalid line by [@tylerfortune8](https://github.com/tylerfortune8).
15
+
16
+ ### Changed
17
+
18
+ - Start using "changelog" over "change log" since it's the common usage.
19
+
20
+ ### Removed
21
+
22
+ - Section about "changelog" vs "CHANGELOG".
23
+
@@ -0,0 +1,14 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [Unreleased]
9
+
10
+ [unreleased]: https://github.com/example/example/compare/v4.1.0...master
11
+
12
+ ### Added
13
+
14
+ * [#1](https://github.com/example/example/pull/1): Added danger-changelog - [@dblock](https://github.com/dblock).
@@ -0,0 +1,20 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ ## [Unreleased]
6
+
7
+ ## [1.0.0] - 2017-06-20
8
+
9
+ ### Added
10
+
11
+ - New visual identity by [@tylerfortune8](https://github.com/tylerfortune8).
12
+
13
+ ### Changed
14
+
15
+ - Start using "changelog" over "change log" since it's the common usage.
16
+
17
+ ### Removed
18
+
19
+ - Section about "changelog" vs "CHANGELOG".
20
+
@@ -0,0 +1,10 @@
1
+ require 'spec_helper'
2
+
3
+ describe Danger::DangerChangelog do
4
+ subject do
5
+ Danger::DangerChangelog.new(nil)
6
+ end
7
+ it 'is a Danger plugin' do
8
+ expect(subject).to be_a Danger::Plugin
9
+ end
10
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: danger-changelog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - dblock
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-07-28 00:00:00.000000000 Z
11
+ date: 2023-11-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: danger-plugin-api
@@ -24,146 +24,6 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.0'
27
- - !ruby/object:Gem::Dependency
28
- name: activesupport
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: '0'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - ">="
39
- - !ruby/object:Gem::Version
40
- version: '0'
41
- - !ruby/object:Gem::Dependency
42
- name: bundler
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- version: '0'
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - ">="
53
- - !ruby/object:Gem::Version
54
- version: '0'
55
- - !ruby/object:Gem::Dependency
56
- name: guard
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - "~>"
60
- - !ruby/object:Gem::Version
61
- version: '2.14'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - "~>"
67
- - !ruby/object:Gem::Version
68
- version: '2.14'
69
- - !ruby/object:Gem::Dependency
70
- name: guard-rspec
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - "~>"
74
- - !ruby/object:Gem::Version
75
- version: '4.7'
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - "~>"
81
- - !ruby/object:Gem::Version
82
- version: '4.7'
83
- - !ruby/object:Gem::Dependency
84
- name: listen
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - '='
88
- - !ruby/object:Gem::Version
89
- version: 3.0.7
90
- type: :development
91
- prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - '='
95
- - !ruby/object:Gem::Version
96
- version: 3.0.7
97
- - !ruby/object:Gem::Dependency
98
- name: pry
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - ">="
102
- - !ruby/object:Gem::Version
103
- version: '0'
104
- type: :development
105
- prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - ">="
109
- - !ruby/object:Gem::Version
110
- version: '0'
111
- - !ruby/object:Gem::Dependency
112
- name: rake
113
- requirement: !ruby/object:Gem::Requirement
114
- requirements:
115
- - - "~>"
116
- - !ruby/object:Gem::Version
117
- version: '10.0'
118
- type: :development
119
- prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- requirements:
122
- - - "~>"
123
- - !ruby/object:Gem::Version
124
- version: '10.0'
125
- - !ruby/object:Gem::Dependency
126
- name: rspec
127
- requirement: !ruby/object:Gem::Requirement
128
- requirements:
129
- - - "~>"
130
- - !ruby/object:Gem::Version
131
- version: '3.4'
132
- type: :development
133
- prerelease: false
134
- version_requirements: !ruby/object:Gem::Requirement
135
- requirements:
136
- - - "~>"
137
- - !ruby/object:Gem::Version
138
- version: '3.4'
139
- - !ruby/object:Gem::Dependency
140
- name: rubocop
141
- requirement: !ruby/object:Gem::Requirement
142
- requirements:
143
- - - "~>"
144
- - !ruby/object:Gem::Version
145
- version: 0.61.1
146
- type: :development
147
- prerelease: false
148
- version_requirements: !ruby/object:Gem::Requirement
149
- requirements:
150
- - - "~>"
151
- - !ruby/object:Gem::Version
152
- version: 0.61.1
153
- - !ruby/object:Gem::Dependency
154
- name: yard
155
- requirement: !ruby/object:Gem::Requirement
156
- requirements:
157
- - - "~>"
158
- - !ruby/object:Gem::Version
159
- version: 0.9.11
160
- type: :development
161
- prerelease: false
162
- version_requirements: !ruby/object:Gem::Requirement
163
- requirements:
164
- - - "~>"
165
- - !ruby/object:Gem::Version
166
- version: 0.9.11
167
27
  description: A danger.systems plugin that is OCD about your CHANGELOG.
168
28
  email:
169
29
  - dblock@dblock.org
@@ -171,11 +31,13 @@ executables: []
171
31
  extensions: []
172
32
  extra_rdoc_files: []
173
33
  files:
34
+ - ".github/workflows/danger.yml"
35
+ - ".github/workflows/lint.yml"
36
+ - ".github/workflows/test.yml"
174
37
  - ".gitignore"
175
38
  - ".rspec"
176
39
  - ".rubocop.yml"
177
40
  - ".rubocop_todo.yml"
178
- - ".travis.yml"
179
41
  - CHANGELOG.md
180
42
  - CONTRIBUTING.md
181
43
  - Dangerfile
@@ -202,31 +64,39 @@ files:
202
64
  - lib/changelog/parsers/base.rb
203
65
  - lib/changelog/parsers/intridea_format.rb
204
66
  - lib/changelog/parsers/keep_a_changelog.rb
67
+ - lib/changelog/parsers/validation_result.rb
205
68
  - lib/changelog/plugin.rb
206
69
  - lib/danger_changelog.rb
207
70
  - lib/danger_plugin.rb
208
- - spec/changelog_entry_line_spec.rb
209
- - spec/changelog_file_spec.rb
210
- - spec/changelog_header_line_spec.rb
211
- - spec/changelog_line_parser_spec.rb
212
- - spec/changelog_placeholder_line_spec.rb
213
71
  - spec/changelog_spec.rb
214
72
  - spec/config_spec.rb
215
- - spec/fixtures/changelogs/customized.md
216
- - spec/fixtures/changelogs/dates.md
217
- - spec/fixtures/changelogs/imbalanced.md
218
- - spec/fixtures/changelogs/keep_a_changelog.md
219
- - spec/fixtures/changelogs/lines.md
220
- - spec/fixtures/changelogs/minimal.md
221
- - spec/fixtures/changelogs/missing_your_contribution_here.md
222
- - spec/fixtures/changelogs/semver.md
73
+ - spec/intridea/changelog_entry_line_spec.rb
74
+ - spec/intridea/changelog_file_spec.rb
75
+ - spec/intridea/changelog_header_line_spec.rb
76
+ - spec/intridea/changelog_line_parser_spec.rb
77
+ - spec/intridea/changelog_placeholder_line_spec.rb
78
+ - spec/intridea/changelog_spec.rb
79
+ - spec/intridea/fixtures/customized.md
80
+ - spec/intridea/fixtures/dates.md
81
+ - spec/intridea/fixtures/extra_trailing_space.md
82
+ - spec/intridea/fixtures/imbalanced.md
83
+ - spec/intridea/fixtures/lines.md
84
+ - spec/intridea/fixtures/minimal.md
85
+ - spec/intridea/fixtures/missing_your_contribution_here.md
86
+ - spec/intridea/fixtures/semver.md
87
+ - spec/keep_a_changelog/changelog_spec.rb
88
+ - spec/keep_a_changelog/fixtures/complete.md
89
+ - spec/keep_a_changelog/fixtures/invalid_line.md
90
+ - spec/keep_a_changelog/fixtures/lines_with_links.md
91
+ - spec/keep_a_changelog/fixtures/missing_a_version_header.md
92
+ - spec/plugin_spec.rb
223
93
  - spec/spec_helper.rb
224
94
  - spec/support/shared/changelog.rb
225
95
  homepage: https://github.com/dblock/danger-changelog
226
96
  licenses:
227
97
  - MIT
228
98
  metadata: {}
229
- post_install_message:
99
+ post_install_message:
230
100
  rdoc_options: []
231
101
  require_paths:
232
102
  - lib
@@ -241,25 +111,32 @@ required_rubygems_version: !ruby/object:Gem::Requirement
241
111
  - !ruby/object:Gem::Version
242
112
  version: '0'
243
113
  requirements: []
244
- rubygems_version: 3.0.3
245
- signing_key:
114
+ rubygems_version: 3.1.6
115
+ signing_key:
246
116
  specification_version: 4
247
117
  summary: A danger.systems plugin that is OCD about your CHANGELOG.
248
118
  test_files:
249
- - spec/changelog_entry_line_spec.rb
250
- - spec/changelog_file_spec.rb
251
- - spec/changelog_header_line_spec.rb
252
- - spec/changelog_line_parser_spec.rb
253
- - spec/changelog_placeholder_line_spec.rb
254
119
  - spec/changelog_spec.rb
255
120
  - spec/config_spec.rb
256
- - spec/fixtures/changelogs/customized.md
257
- - spec/fixtures/changelogs/dates.md
258
- - spec/fixtures/changelogs/imbalanced.md
259
- - spec/fixtures/changelogs/keep_a_changelog.md
260
- - spec/fixtures/changelogs/lines.md
261
- - spec/fixtures/changelogs/minimal.md
262
- - spec/fixtures/changelogs/missing_your_contribution_here.md
263
- - spec/fixtures/changelogs/semver.md
121
+ - spec/intridea/changelog_entry_line_spec.rb
122
+ - spec/intridea/changelog_file_spec.rb
123
+ - spec/intridea/changelog_header_line_spec.rb
124
+ - spec/intridea/changelog_line_parser_spec.rb
125
+ - spec/intridea/changelog_placeholder_line_spec.rb
126
+ - spec/intridea/changelog_spec.rb
127
+ - spec/intridea/fixtures/customized.md
128
+ - spec/intridea/fixtures/dates.md
129
+ - spec/intridea/fixtures/extra_trailing_space.md
130
+ - spec/intridea/fixtures/imbalanced.md
131
+ - spec/intridea/fixtures/lines.md
132
+ - spec/intridea/fixtures/minimal.md
133
+ - spec/intridea/fixtures/missing_your_contribution_here.md
134
+ - spec/intridea/fixtures/semver.md
135
+ - spec/keep_a_changelog/changelog_spec.rb
136
+ - spec/keep_a_changelog/fixtures/complete.md
137
+ - spec/keep_a_changelog/fixtures/invalid_line.md
138
+ - spec/keep_a_changelog/fixtures/lines_with_links.md
139
+ - spec/keep_a_changelog/fixtures/missing_a_version_header.md
140
+ - spec/plugin_spec.rb
264
141
  - spec/spec_helper.rb
265
142
  - spec/support/shared/changelog.rb
data/.travis.yml DELETED
@@ -1,14 +0,0 @@
1
- language: ruby
2
-
3
- cache:
4
- directories:
5
- - bundle
6
-
7
- rvm:
8
- - 2.3.1
9
-
10
- before_script:
11
- - bundle exec danger
12
-
13
- script:
14
- - bundle exec rake spec