px_github_changelog_generator 0.0.0 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/github_changelog_generator/generator/generator.rb +7 -7
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7e215dea03333908a1a8eac3bc0d97f22c0070f78d99e6d3e3a075195fbd3923
|
4
|
+
data.tar.gz: ee0d436228e3ff18a7220120bb84bf9ff3da4a28022fb8c12722174fbdff14a6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4c147b5325bf54b64487cd24aecf384ccb8719d92390212002394e58ff35d1e977f24398f5c2250e2e1f8091c3602041cb7a3255451ac250c90e4277e41e1f83
|
7
|
+
data.tar.gz: 341ffa000fbe6f375caa3b0f09b28233d673d9c12ebf5a1b564a90e913714491d81f9aa802f9ba181f7768f51b93a4adc23f8775740820645b110a5aef73ac7c
|
@@ -26,11 +26,11 @@ module GitHubChangelogGenerator
|
|
26
26
|
class Generator
|
27
27
|
attr_accessor :options, :filtered_tags, :tag_section_mapping, :sorted_tags
|
28
28
|
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
29
|
+
# CREDIT_LINE = <<~CREDIT
|
30
|
+
# \\* *Test This Changelog was automatically generated \
|
31
|
+
# by [github_changelog_generator]\
|
32
|
+
# (https://github.com/github-changelog-generator/github-changelog-generator)*
|
33
|
+
# CREDIT
|
34
34
|
|
35
35
|
# A Generator responsible for all logic, related with changelog generation from ready-to-parse issues
|
36
36
|
#
|
@@ -158,7 +158,7 @@ module GitHubChangelogGenerator
|
|
158
158
|
def remove_old_fixed_string(log)
|
159
159
|
log.gsub!(/#{Regexp.escape(@options[:frontmatter])}/, "") if @options[:frontmatter]
|
160
160
|
log.gsub!(/#{Regexp.escape(@options[:header])}\n{,2}/, "")
|
161
|
-
|
161
|
+
# log.gsub!(/\n{,2}#{Regexp.escape(CREDIT_LINE)}/, "") # Remove old credit lines
|
162
162
|
log
|
163
163
|
end
|
164
164
|
|
@@ -170,7 +170,7 @@ module GitHubChangelogGenerator
|
|
170
170
|
ins += @options[:frontmatter] if @options[:frontmatter]
|
171
171
|
ins += "#{@options[:header]}\n\n"
|
172
172
|
log.insert(0, ins)
|
173
|
-
|
173
|
+
# log += "\n\n#{CREDIT_LINE}"
|
174
174
|
log
|
175
175
|
end
|
176
176
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: px_github_changelog_generator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Robert
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-01-
|
11
|
+
date: 2023-01-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|