Compare commits
65 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
18aea22cd6 | ||
|
|
ce97e212c2 | ||
|
|
cd53e1cd9a | ||
|
|
677b0d8c50 | ||
|
|
8df1bbad13 | ||
|
|
86386ff7e6 | ||
|
|
197a438c09 | ||
|
|
8caa577686 | ||
|
|
d188facd92 | ||
|
|
f5bdd30d47 | ||
|
|
edb1fade20 | ||
|
|
542a0948fc | ||
|
|
aaa71d1ed0 | ||
|
|
11ea9eccb1 | ||
|
|
7ab1ee1c21 | ||
|
|
6fa2f2701e | ||
|
|
2bdaf31da7 | ||
|
|
6e8a9cb6ce | ||
|
|
867337b58e | ||
|
|
4687b0b025 | ||
|
|
eca1ffa418 | ||
|
|
7d92087f4a | ||
|
|
f1a6a79865 | ||
|
|
5b46a24f0b | ||
|
|
2a1e7daa1d | ||
|
|
c76cfd1920 | ||
|
|
d3ea8a1b0c | ||
|
|
7ea80547c5 | ||
|
|
b4dcd8a0d9 | ||
|
|
3d13f9c4b3 | ||
|
|
76df82fe0b | ||
|
|
12734dbbe1 | ||
|
|
d33dcced8f | ||
|
|
4a9f6fdd43 | ||
|
|
32f14e685b | ||
|
|
85d5352e6e | ||
|
|
637de14699 | ||
|
|
925f6fd3f0 | ||
|
|
568db9e519 | ||
|
|
9b7273f009 | ||
|
|
08cacdc5ec | ||
|
|
159173d86a | ||
|
|
c111488376 | ||
|
|
5bc90a32ae | ||
|
|
772e403e40 | ||
|
|
fe2162030b | ||
|
|
ee86b35068 | ||
|
|
93e29e8e81 | ||
|
|
5bff64de19 | ||
|
|
780ebdf0eb | ||
|
|
c5837ad9f0 | ||
|
|
17a1b23059 | ||
|
|
7205a060b3 | ||
|
|
471fe6f312 | ||
|
|
40df2c7dac | ||
|
|
aa87c803ca | ||
|
|
6962b5e7b2 | ||
|
|
407bf86e57 | ||
|
|
cff1e8c5ed | ||
|
|
8e9ff4cb8a | ||
|
|
3e045e3b42 | ||
|
|
0bfd702d21 | ||
|
|
c762f82917 | ||
|
|
b510b2c3fb | ||
|
|
f45dc26aba |
20
.travis.yml
20
.travis.yml
@@ -1,16 +1,22 @@
|
||||
sudo: false
|
||||
language: ruby
|
||||
before_install:
|
||||
- gem update --system
|
||||
- gem install bundler
|
||||
before_install:
|
||||
- gem update --system
|
||||
- gem install bundler
|
||||
rvm:
|
||||
- 2.1.0
|
||||
script:
|
||||
- bundle exec rake checks
|
||||
- 2.1.0
|
||||
script: bundle exec rake checks
|
||||
matrix:
|
||||
include:
|
||||
# Test install on clean system
|
||||
- install: true
|
||||
script:
|
||||
- gem build github_changelog_generator
|
||||
- gem install *.gem
|
||||
notifications:
|
||||
email:
|
||||
recipients:
|
||||
- sky4winder+githubchangeloggenerator@gmail.com
|
||||
- sky4winder+githubchangeloggenerator@gmail.com
|
||||
on_success: never
|
||||
on_failure: change
|
||||
addons:
|
||||
|
||||
75
CHANGELOG.md
75
CHANGELOG.md
@@ -1,12 +1,83 @@
|
||||
# Change Log
|
||||
|
||||
## [1.10.3](https://github.com/skywinder/github-changelog-generator/tree/1.10.3) (2016-02-23)
|
||||
[Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.10.2...1.10.3)
|
||||
## [1.11.6](https://github.com/skywinder/github-changelog-generator/tree/1.11.6) (2016-03-01)
|
||||
[Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.11.5...1.11.6)
|
||||
|
||||
**Fixed bugs:**
|
||||
|
||||
- Can't build on Windows [\#340](https://github.com/skywinder/github-changelog-generator/issues/340)
|
||||
|
||||
**Closed issues:**
|
||||
|
||||
- install error "Not a git repository" [\#339](https://github.com/skywinder/github-changelog-generator/issues/339)
|
||||
|
||||
**Merged pull requests:**
|
||||
|
||||
- Gemspec: Calculate date using Date stdlib [\#343](https://github.com/skywinder/github-changelog-generator/pull/343) ([olleolleolle](https://github.com/olleolleolle))
|
||||
|
||||
## [1.11.5](https://github.com/skywinder/github-changelog-generator/tree/1.11.5) (2016-03-01)
|
||||
[Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.11.4...1.11.5)
|
||||
|
||||
**Merged pull requests:**
|
||||
|
||||
- Test clean install in Travis [\#344](https://github.com/skywinder/github-changelog-generator/pull/344) ([jkeiser](https://github.com/jkeiser))
|
||||
- Update Rakefile to avoid install-breaking bug [\#341](https://github.com/skywinder/github-changelog-generator/pull/341) ([olleolleolle](https://github.com/olleolleolle))
|
||||
|
||||
## [1.11.4](https://github.com/skywinder/github-changelog-generator/tree/1.11.4) (2016-02-26)
|
||||
[Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.11.3...1.11.4)
|
||||
|
||||
**Merged pull requests:**
|
||||
|
||||
- Man page copying: only copy .1 [\#338](https://github.com/skywinder/github-changelog-generator/pull/338) ([olleolleolle](https://github.com/olleolleolle))
|
||||
|
||||
## [1.11.3](https://github.com/skywinder/github-changelog-generator/tree/1.11.3) (2016-02-25)
|
||||
[Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.11.2...1.11.3)
|
||||
|
||||
**Closed issues:**
|
||||
|
||||
- Cannot install gem [\#335](https://github.com/skywinder/github-changelog-generator/issues/335)
|
||||
|
||||
## [1.11.2](https://github.com/skywinder/github-changelog-generator/tree/1.11.2) (2016-02-25)
|
||||
[Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.11.1...1.11.2)
|
||||
|
||||
**Fixed bugs:**
|
||||
|
||||
- Getting an error on install [\#329](https://github.com/skywinder/github-changelog-generator/issues/329)
|
||||
|
||||
**Merged pull requests:**
|
||||
|
||||
- Fix installation by not running the specs - which have dependencies [\#337](https://github.com/skywinder/github-changelog-generator/pull/337) ([skywinder](https://github.com/skywinder))
|
||||
|
||||
## [1.11.1](https://github.com/skywinder/github-changelog-generator/tree/1.11.1) (2016-02-25)
|
||||
[Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.11.0...1.11.1)
|
||||
|
||||
**Merged pull requests:**
|
||||
|
||||
- Add rubocop and rspec as runtime dependencies [\#336](https://github.com/skywinder/github-changelog-generator/pull/336) ([jkeiser](https://github.com/jkeiser))
|
||||
- \[Refactor\] ParserFile class use Pathname [\#334](https://github.com/skywinder/github-changelog-generator/pull/334) ([olleolleolle](https://github.com/olleolleolle))
|
||||
- \[Refactor\] Generator\#exclude\_issues\_by\_labels simpler, tested [\#332](https://github.com/skywinder/github-changelog-generator/pull/332) ([olleolleolle](https://github.com/olleolleolle))
|
||||
|
||||
## [1.11.0](https://github.com/skywinder/github-changelog-generator/tree/1.11.0) (2016-02-24)
|
||||
[Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.10.5...1.11.0)
|
||||
|
||||
## [1.10.5](https://github.com/skywinder/github-changelog-generator/tree/1.10.5) (2016-02-24)
|
||||
[Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.10.4...1.10.5)
|
||||
|
||||
## [1.10.4](https://github.com/skywinder/github-changelog-generator/tree/1.10.4) (2016-02-24)
|
||||
[Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.10.3...1.10.4)
|
||||
|
||||
**Fixed bugs:**
|
||||
|
||||
- Rake and Bundler as runtime deps [\#333](https://github.com/skywinder/github-changelog-generator/pull/333) ([olleolleolle](https://github.com/olleolleolle))
|
||||
|
||||
**Merged pull requests:**
|
||||
|
||||
- Test case for \#327 [\#331](https://github.com/skywinder/github-changelog-generator/pull/331) ([olleolleolle](https://github.com/olleolleolle))
|
||||
- Fix crash installing on systems without overcommit [\#330](https://github.com/skywinder/github-changelog-generator/pull/330) ([jkeiser](https://github.com/jkeiser))
|
||||
|
||||
## [1.10.3](https://github.com/skywinder/github-changelog-generator/tree/1.10.3) (2016-02-23)
|
||||
[Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/1.10.2...1.10.3)
|
||||
|
||||
## [1.10.2](https://github.com/skywinder/github-changelog-generator/tree/1.10.2) (2016-02-23)
|
||||
[Full Changelog](https://github.com/skywinder/github-changelog-generator/compare/v1.11.0...1.10.2)
|
||||
|
||||
|
||||
4
Gemfile
4
Gemfile
@@ -3,6 +3,10 @@ source "https://rubygems.org"
|
||||
gemspec
|
||||
|
||||
group :test do
|
||||
gem "rake"
|
||||
gem "bundler"
|
||||
gem "rubocop"
|
||||
gem "overcommit"
|
||||
gem "coveralls", "~>0.8", require: false
|
||||
gem "simplecov", "~>0.10", require: false
|
||||
gem "codeclimate-test-reporter", "~>0.4"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
PATH
|
||||
remote: .
|
||||
specs:
|
||||
github_changelog_generator (1.11.0)
|
||||
github_changelog_generator (1.11.6)
|
||||
bundler (>= 1.7)
|
||||
colorize (~> 0.7)
|
||||
github_api (~> 0.12)
|
||||
@@ -98,9 +98,13 @@ PLATFORMS
|
||||
ruby
|
||||
|
||||
DEPENDENCIES
|
||||
bundler
|
||||
codeclimate-test-reporter (~> 0.4)
|
||||
coveralls (~> 0.8)
|
||||
github_changelog_generator!
|
||||
overcommit
|
||||
rake
|
||||
rubocop
|
||||
simplecov (~> 0.10)
|
||||
|
||||
BUNDLED WITH
|
||||
|
||||
28
Rakefile
28
Rakefile
@@ -9,15 +9,31 @@ require "overcommit"
|
||||
RuboCop::RakeTask.new
|
||||
RSpec::Core::RakeTask.new(:rspec)
|
||||
|
||||
task :create_man do |_t|
|
||||
os_prefix = "/usr/local"
|
||||
man_prefix = Pathname("#{os_prefix}/share/man/man1")
|
||||
man_pages = "man/git-*"
|
||||
task :copy_man_page_to_manpath do |_t|
|
||||
known_manpath_paths = %w(/etc/manpath.config /etc/manpaths)
|
||||
manpath = known_manpath_paths.find do |f|
|
||||
path = Pathname(f)
|
||||
path.file? && path.readable?
|
||||
end
|
||||
|
||||
next unless manpath
|
||||
|
||||
writable_man_path = Pathname(manpath).each_line.find do |line|
|
||||
path = Pathname(line.chomp)
|
||||
path.directory? && path.writable?
|
||||
end
|
||||
|
||||
next unless writable_man_path
|
||||
|
||||
man_prefix = Pathname("#{writable_man_path.chomp}/man1")
|
||||
man_pages = "man/git-*.1"
|
||||
|
||||
Pathname.glob(man_pages) do |path|
|
||||
FileUtils.cp(path, man_prefix + path.basename)
|
||||
if path.exist? && man_prefix.exist? && man_prefix.writable?
|
||||
FileUtils.cp(path, man_prefix + path.basename)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
task checks: [:rubocop, :rspec]
|
||||
task default: [:checks, :create_man]
|
||||
task default: [:copy_man_page_to_manpath]
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
# coding: utf-8
|
||||
|
||||
lib = File.expand_path("../lib", __FILE__)
|
||||
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
||||
require "github_changelog_generator/version"
|
||||
@@ -10,9 +9,9 @@ Gem::Specification.new do |spec|
|
||||
spec.default_executable = "github_changelog_generator"
|
||||
|
||||
spec.required_ruby_version = ">= 1.9.3"
|
||||
spec.authors = ["Petr Korolev"]
|
||||
spec.authors = ["Petr Korolev", "Olle Jonsson"]
|
||||
spec.email = "sky4winder+github_changelog_generator@gmail.com"
|
||||
spec.date = `date +"%Y-%m-%d"`.strip!
|
||||
|
||||
spec.summary = "Script, that automatically generate changelog from your tags, issues, labels and pull requests."
|
||||
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."
|
||||
spec.homepage = "https://github.com/skywinder/Github-Changelog-Generator"
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
module GitHubChangelogGenerator
|
||||
VERSION = "1.11.1"
|
||||
VERSION = "1.11.7"
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user