github_changelog_generator 1.11.3 → 1.11.4

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: 65ee8808245b1e62acdf99136db788900bb7d759
4
- data.tar.gz: 19567ce6d79a4b9a703dd1155d58cf2b7eaf2c29
3
+ metadata.gz: f5f99a5f4de3c617ef669f3cf2b5fc76836d4f63
4
+ data.tar.gz: 01a940fb00a5ac5986313034fe500308775c8be9
5
5
  SHA512:
6
- metadata.gz: e4f006e450a0bf80f42a1ea20b9d6768e80c2e6a6338666ab18f018e394a48dcfdd01e82563fdadab86077b7600918827f02ac38c5076031809f069beb1516b5
7
- data.tar.gz: 2283d643830b9a55221105ce0daa62cb7a66aa81ca85ffcbb4befba34c987b38b431dc3dd22b722ac22d32590e18a9ce2f2c9c7030a175188b05fbd5420478b7
6
+ metadata.gz: 7224cf39ae804881780ca7ebb4df37baf890f0f4b65800298e56c7cd1318a9966062b78b9926a4904a8f7e493c7ac12a0acac59debec072057d0e37e8dcf381d
7
+ data.tar.gz: 4591be3e7578daf7a311bad67cbd5e7802964e1eee3aa7b837d9659402c4c34e1da17b1deebe9fa2b491079604d9ea0a2db573829a0ed6515d855685f06485a2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Change Log
2
2
 
3
+ ## [1.11.3](https://github.com/skywinder/github-changelog-generator/tree/1.11.3) (2016-02-25)
4
+ [Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.11.2...1.11.3)
5
+
6
+ **Closed issues:**
7
+
8
+ - Cannot install gem [\#335](https://github.com/skywinder/github-changelog-generator/issues/335)
9
+
3
10
  ## [1.11.2](https://github.com/skywinder/github-changelog-generator/tree/1.11.2) (2016-02-25)
4
11
  [Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.11.1...1.11.2)
5
12
 
data/Gemfile CHANGED
@@ -3,6 +3,10 @@ source "https://rubygems.org"
3
3
  gemspec
4
4
 
5
5
  group :test do
6
+ gem "rake"
7
+ gem "bundler"
8
+ gem "rubocop"
9
+ gem "overcommit"
6
10
  gem "coveralls", "~>0.8", require: false
7
11
  gem "simplecov", "~>0.10", require: false
8
12
  gem "codeclimate-test-reporter", "~>0.4"
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- github_changelog_generator (1.11.2)
4
+ github_changelog_generator (1.11.3)
5
5
  bundler (>= 1.7)
6
6
  colorize (~> 0.7)
7
7
  github_api (~> 0.12)
@@ -98,9 +98,13 @@ PLATFORMS
98
98
  ruby
99
99
 
100
100
  DEPENDENCIES
101
+ bundler
101
102
  codeclimate-test-reporter (~> 0.4)
102
103
  coveralls (~> 0.8)
103
104
  github_changelog_generator!
105
+ overcommit
106
+ rake
107
+ rubocop
104
108
  simplecov (~> 0.10)
105
109
 
106
110
  BUNDLED WITH
data/Rakefile CHANGED
@@ -9,15 +9,31 @@ require "overcommit"
9
9
  RuboCop::RakeTask.new
10
10
  RSpec::Core::RakeTask.new(:rspec)
11
11
 
12
- task :create_man do |_t|
13
- os_prefix = "/usr/local"
14
- man_prefix = Pathname("#{os_prefix}/share/man/man1")
15
- man_pages = "man/git-*"
12
+ task :copy_man_page_to_manpath do |_t|
13
+ known_manpath_paths = %w(/etc/manpath.config /etc/manpaths)
14
+ manpath = known_manpath_paths.find do |f|
15
+ path = Pathname(f)
16
+ path.file? && path.readable?
17
+ end
18
+
19
+ return unless manpath
20
+
21
+ writable_man_path = Pathname(manpath).each_line.find do |line|
22
+ path = Pathname(line.chomp)
23
+ path.directory? && path.writable?
24
+ end
25
+
26
+ return unless writable_man_path
27
+
28
+ man_prefix = Pathname("#{writable_man_path.chomp}/man1")
29
+ man_pages = "man/git-*.1"
16
30
 
17
31
  Pathname.glob(man_pages) do |path|
18
- FileUtils.cp(path, man_prefix + path.basename)
32
+ if path.exist? && man_prefix.exist? && man_prefix.writable?
33
+ FileUtils.cp(path, man_prefix + path.basename)
34
+ end
19
35
  end
20
36
  end
21
37
 
22
38
  task checks: [:rubocop, :rspec]
23
- task default: [:create_man]
39
+ task default: [:copy_man_page_to_manpath]
@@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
17
17
  spec.description = "Changelog generation has never been so easy. Fully automate changelog generation - this gem generate change log file based on tags, issues and merged pull requests from Github issue tracker."
18
18
  spec.homepage = "https://github.com/skywinder/Github-Changelog-Generator"
19
19
  spec.license = "MIT"
20
- #spec.extensions = ["Rakefile"]
20
+ spec.extensions = ["Rakefile"]
21
21
 
22
22
  spec.files = `git ls-files -z`.split("\x0")
23
23
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
@@ -1,3 +1,3 @@
1
1
  module GitHubChangelogGenerator
2
- VERSION = "1.11.3"
2
+ VERSION = "1.11.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: github_changelog_generator
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.11.3
4
+ version: 1.11.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Petr Korolev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-25 00:00:00.000000000 Z
11
+ date: 2016-02-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -115,7 +115,8 @@ email: sky4winder+github_changelog_generator@gmail.com
115
115
  executables:
116
116
  - git-generate-changelog
117
117
  - github_changelog_generator
118
- extensions: []
118
+ extensions:
119
+ - Rakefile
119
120
  extra_rdoc_files: []
120
121
  files:
121
122
  - ".coveralls.yml"
@@ -186,7 +187,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
186
187
  version: '0'
187
188
  requirements: []
188
189
  rubyforge_project:
189
- rubygems_version: 2.4.3
190
+ rubygems_version: 2.4.8
190
191
  signing_key:
191
192
  specification_version: 4
192
193
  summary: Script, that automatically generate changelog from your tags, issues, labels