danger-changelog 0.7.0 → 0.8.0
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 +4 -4
- data/.github/workflows/danger-comment.yml +10 -0
- data/.github/workflows/danger.yml +3 -17
- data/.github/workflows/lint.yml +1 -1
- data/.github/workflows/test.yml +1 -1
- data/.rubocop.yml +6 -2
- data/.rubocop_todo.yml +112 -1
- data/CHANGELOG.md +12 -0
- data/Dangerfile +2 -2
- data/Gemfile +5 -2
- data/README.md +1 -1
- data/danger-changelog.gemspec +2 -2
- data/lib/changelog/changelog_line/changelog_entry_line.rb +7 -7
- data/lib/changelog/changelog_line/changelog_header_line.rb +4 -4
- data/lib/changelog/changelog_line/changelog_line.rb +1 -2
- data/lib/changelog/config.rb +1 -1
- data/lib/changelog/gem_version.rb +1 -1
- data/lib/changelog/parsers/intridea_format.rb +7 -4
- data/lib/changelog/parsers/keep_a_changelog.rb +5 -5
- data/lib/changelog/plugin.rb +17 -2
- data/lib/changelog/pr_metadata.rb +64 -0
- data/lib/danger_plugin.rb +2 -0
- data/spec/changelog_spec.rb +14 -18
- data/spec/config_spec.rb +15 -2
- data/spec/intridea/changelog_entry_line_spec.rb +3 -0
- data/spec/intridea/changelog_file_spec.rb +27 -1
- data/spec/intridea/changelog_line_parser_spec.rb +5 -0
- data/spec/intridea/changelog_spec.rb +20 -2
- data/spec/intridea/fixtures/validation_result.md +6 -0
- data/spec/keep_a_changelog/changelog_spec.rb +5 -2
- data/spec/plugin_spec.rb +2 -1
- data/spec/pr_metadata_spec.rb +126 -0
- data/spec/spec_helper.rb +3 -3
- metadata +10 -32
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: danger-changelog
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.8.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- dblock
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: danger-plugin-api
|
|
@@ -31,6 +30,7 @@ executables: []
|
|
|
31
30
|
extensions: []
|
|
32
31
|
extra_rdoc_files: []
|
|
33
32
|
files:
|
|
33
|
+
- ".github/workflows/danger-comment.yml"
|
|
34
34
|
- ".github/workflows/danger.yml"
|
|
35
35
|
- ".github/workflows/lint.yml"
|
|
36
36
|
- ".github/workflows/test.yml"
|
|
@@ -66,6 +66,7 @@ files:
|
|
|
66
66
|
- lib/changelog/parsers/keep_a_changelog.rb
|
|
67
67
|
- lib/changelog/parsers/validation_result.rb
|
|
68
68
|
- lib/changelog/plugin.rb
|
|
69
|
+
- lib/changelog/pr_metadata.rb
|
|
69
70
|
- lib/danger_changelog.rb
|
|
70
71
|
- lib/danger_plugin.rb
|
|
71
72
|
- spec/changelog_spec.rb
|
|
@@ -84,19 +85,21 @@ files:
|
|
|
84
85
|
- spec/intridea/fixtures/minimal.md
|
|
85
86
|
- spec/intridea/fixtures/missing_your_contribution_here.md
|
|
86
87
|
- spec/intridea/fixtures/semver.md
|
|
88
|
+
- spec/intridea/fixtures/validation_result.md
|
|
87
89
|
- spec/keep_a_changelog/changelog_spec.rb
|
|
88
90
|
- spec/keep_a_changelog/fixtures/complete.md
|
|
89
91
|
- spec/keep_a_changelog/fixtures/invalid_line.md
|
|
90
92
|
- spec/keep_a_changelog/fixtures/lines_with_links.md
|
|
91
93
|
- spec/keep_a_changelog/fixtures/missing_a_version_header.md
|
|
92
94
|
- spec/plugin_spec.rb
|
|
95
|
+
- spec/pr_metadata_spec.rb
|
|
93
96
|
- spec/spec_helper.rb
|
|
94
97
|
- spec/support/shared/changelog.rb
|
|
95
98
|
homepage: https://github.com/dblock/danger-changelog
|
|
96
99
|
licenses:
|
|
97
100
|
- MIT
|
|
98
|
-
metadata:
|
|
99
|
-
|
|
101
|
+
metadata:
|
|
102
|
+
rubygems_mfa_required: 'true'
|
|
100
103
|
rdoc_options: []
|
|
101
104
|
require_paths:
|
|
102
105
|
- lib
|
|
@@ -111,32 +114,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
111
114
|
- !ruby/object:Gem::Version
|
|
112
115
|
version: '0'
|
|
113
116
|
requirements: []
|
|
114
|
-
rubygems_version: 3.
|
|
115
|
-
signing_key:
|
|
117
|
+
rubygems_version: 3.6.8
|
|
116
118
|
specification_version: 4
|
|
117
119
|
summary: A danger.systems plugin that is OCD about your CHANGELOG.
|
|
118
|
-
test_files:
|
|
119
|
-
- spec/changelog_spec.rb
|
|
120
|
-
- spec/config_spec.rb
|
|
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
|
|
141
|
-
- spec/spec_helper.rb
|
|
142
|
-
- spec/support/shared/changelog.rb
|
|
120
|
+
test_files: []
|