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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f85f1c07a9a8a62875a705a096a6defec31a8e39
4
- data.tar.gz: 0f32a943be2acba4387df7016ac10654b1f6976e
3
+ metadata.gz: b7ce284350b7b4f261202e298057a84e911b67d1
4
+ data.tar.gz: f7f9f8d309212ef49989f283460fd2138cac4ec6
5
5
  SHA512:
6
- metadata.gz: 7d10d9c8610a5ce8a27156b6c14f483965c9e4273724a989bc8af1cb6df3e3044a7af50799b2cc92ce82ad281171e6460effc887e204b47ef1f7410a60e1db71
7
- data.tar.gz: c804a7f77d45628fe26087db70bc5694af73033c287bac402e28b69be606c82a56a37fe94063960da7636367704152700032c766b0deb531581b567e7708df07
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
- output_filename = "#{@options[:project]}_changelog.md"
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.rb -u user_name -p project_name [-t 16-digit-GitHubToken] [options]'
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.1
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.6'
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.6'
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: '0'
63
+ version: 1.9.3
64
64
  required_rubygems_version: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - ">="