github_changelog_generator 1.14.2 → 1.14.3
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/README.md +2 -0
- data/lib/github_changelog_generator/octo_fetcher.rb +2 -3
- data/lib/github_changelog_generator/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7b9a2c015dc8e19a8cb9cb6988775f11362ca6d9
|
|
4
|
+
data.tar.gz: 52aecd1cfe47d43818081c61473271a95003c672
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ed46e2b1953fddca0d6eb5cd99ecd293a7cbf0900bc661986401d7b4d1cff1c7c74a0e10da1f6abfb0f3a71ba07a9877df2f3c0727ec818168034b7e914aae54
|
|
7
|
+
data.tar.gz: c665a3f40ecfbf48ec81976946e7444bb97e4e107db6ed379a3d792f6db46442e642acbc84844371a6849773b5d14be3315a9c1b280d91e0bbb2c7fa8b60ab0c
|
data/README.md
CHANGED
|
@@ -151,6 +151,8 @@ end
|
|
|
151
151
|
|
|
152
152
|
All command line options can be passed to the `rake` task as `config` parameters. And since you're naming the `rake` task yourself, you can create as many as you want.
|
|
153
153
|
|
|
154
|
+
You can look for params names from the [parser source code (#setup_parser)](https://github.com/skywinder/github-changelog-generator/blob/master/lib/github_changelog_generator/parser.rb). For example, to translate the bugs label to Portuguese, instead of setting `config.bugs_label`, you have to set `config.bug_prefix`, and so on.
|
|
155
|
+
|
|
154
156
|
## Features and advantages of this project
|
|
155
157
|
- Generate canonical, neat change log file, followed by [basic change log guidelines](http://keepachangelog.com) :gem:
|
|
156
158
|
- Optionally generate **Unreleased** changes (closed issues that have not released yet) :dizzy:
|
|
@@ -23,7 +23,7 @@ module GitHubChangelogGenerator
|
|
|
23
23
|
# @option options [Boolean] :http_cache Use ActiveSupport::Cache::FileStore to cache http requests
|
|
24
24
|
# @option options [Boolean] :cache_file If using http_cache, this is the cache file path
|
|
25
25
|
# @option options [Boolean] :cache_log If using http_cache, this is the cache log file path
|
|
26
|
-
def initialize(options = {})
|
|
26
|
+
def initialize(options = {})
|
|
27
27
|
@options = options || {}
|
|
28
28
|
@user = @options[:user]
|
|
29
29
|
@project = @options[:project]
|
|
@@ -40,8 +40,7 @@ module GitHubChangelogGenerator
|
|
|
40
40
|
@github_options[:access_token] = @github_token unless @github_token.nil?
|
|
41
41
|
@github_options[:api_endpoint] = @options[:github_endpoint] unless @options[:github_endpoint].nil?
|
|
42
42
|
|
|
43
|
-
|
|
44
|
-
@client = client_type.new(@github_options)
|
|
43
|
+
@client = Octokit::Client.new(@github_options)
|
|
45
44
|
end
|
|
46
45
|
|
|
47
46
|
def init_cache
|
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: 1.14.
|
|
4
|
+
version: 1.14.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Petr Korolev
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2016-
|
|
12
|
+
date: 2016-12-31 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rake
|