github_changelog_generator 0.0.1 → 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.rb +2 -1
- data/lib/github_changelog_generator/parser.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b7ce284350b7b4f261202e298057a84e911b67d1
|
4
|
+
data.tar.gz: f7f9f8d309212ef49989f283460fd2138cac4ec6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fa6ea6757cbe39acff9dba293a78acf05c153a9ebe17504f08cc7da39126744ce7fae306012b08ca03183ab3024a963c2300f7861fad7cff8a0ec968043437a9
|
7
|
+
data.tar.gz: f286b75ae31ea3c1ce9118cf3e6a6145a8a8c90f02b6b8e4df42eaf779a50115c3bb5263abc127869ed750747efd03be1a85c2a07a3de03935ae15af692d4271
|
@@ -87,7 +87,8 @@ class ChangelogGenerator
|
|
87
87
|
puts log
|
88
88
|
end
|
89
89
|
|
90
|
-
|
90
|
+
log += "\n\n*This file was generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*"
|
91
|
+
output_filename = "#{@options[:project]}_CHANGELOG.md"
|
91
92
|
File.open(output_filename, 'w') { |file| file.write(log) }
|
92
93
|
|
93
94
|
puts "Done! Generated log placed in #{output_filename}"
|
@@ -6,7 +6,7 @@ class Parser
|
|
6
6
|
options = {:tag1 => nil, :tag2 => nil, :format => '%d/%m/%y'}
|
7
7
|
|
8
8
|
parser = OptionParser.new { |opts|
|
9
|
-
opts.banner = 'Usage: changelog_generator
|
9
|
+
opts.banner = 'Usage: changelog_generator -u user_name -p project_name [-t 16-digit-GitHubToken] [options]'
|
10
10
|
opts.on('-u', '--user [USER]', 'your username on GitHub') do |last|
|
11
11
|
options[:user] = last
|
12
12
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: 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
|
- Petr Korolev
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.13'
|
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: '0.13'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: github_api
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -60,7 +60,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
60
60
|
requirements:
|
61
61
|
- - ">="
|
62
62
|
- !ruby/object:Gem::Version
|
63
|
-
version:
|
63
|
+
version: 1.9.3
|
64
64
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - ">="
|