github_changelog_generator 1.14.2 → 1.14.3

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: 513b16262c92d0cc80e3dea3edb6c2912d655ba3
4
- data.tar.gz: c02db88fc41460cd2fffce3b89281bd1217da7b7
3
+ metadata.gz: 7b9a2c015dc8e19a8cb9cb6988775f11362ca6d9
4
+ data.tar.gz: 52aecd1cfe47d43818081c61473271a95003c672
5
5
  SHA512:
6
- metadata.gz: ebbd10c3cc747443883a531ba7b77df1c18ba2c5938e71c454c3df1464f8fb71ddcebc1c25d6699bf2eee367356cb3f51ef0d8ea4a3f0df6579ed49e9c17ee6e
7
- data.tar.gz: d7acc3f999c660848d40f2917c4dedf4b643ed81584da28598651d03528675929d74aac10dbaba125e99cf2f798e160e28501b476f215065e92ae6a24f933b7f
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 = {}) # rubocop:disable Metrics/CyclomaticComplexity
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
- client_type = @options[:github_endpoint].nil? ? Octokit::Client : Octokit::EnterpriseAdminClient
44
- @client = client_type.new(@github_options)
43
+ @client = Octokit::Client.new(@github_options)
45
44
  end
46
45
 
47
46
  def init_cache
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module GitHubChangelogGenerator
3
- VERSION = "1.14.2"
3
+ VERSION = "1.14.3"
4
4
  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: 1.14.2
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-11-12 00:00:00.000000000 Z
12
+ date: 2016-12-31 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake