summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2015-09-22 13:42:51 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2015-09-22 13:42:51 -0700
commit1f7ebce1e4770095552bc925011630d56c19ffa2 (patch)
tree0eeb7c766b5e4ada06a4287d62b1d8b829ed1cb5
parentc724a8f81cae461b76c648de9959bd110e69c2fe (diff)
downloadffi-yajl-lcg/auto-changelog.tar.gz
add Rake tasklcg/auto-changelog
-rw-r--r--CHANGELOG.md54
-rw-r--r--Gemfile1
-rw-r--r--Rakefile6
3 files changed, 11 insertions, 50 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index aea13f8..9a5962b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -135,62 +135,16 @@
## [1.0.2](https://github.com/chef/ffi-yajl/tree/1.0.2) (2014-08-10)
[Full Changelog](https://github.com/chef/ffi-yajl/compare/1.0.1...1.0.2)
-**Merged pull requests:**
-
-- ensure opts hash is never nil [\#5](https://github.com/chef/ffi-yajl/pull/5) ([lamont-granquist](https://github.com/lamont-granquist))
-- Lcg/json opts [\#4](https://github.com/chef/ffi-yajl/pull/4) ([lamont-granquist](https://github.com/lamont-granquist))
-- change allow\_comment default to true [\#3](https://github.com/chef/ffi-yajl/pull/3) ([lamont-granquist](https://github.com/lamont-granquist))
-
-## [1.0.1](https://github.com/chef/ffi-yajl/tree/1.0.1) (2014-07-17)
-[Full Changelog](https://github.com/chef/ffi-yajl/compare/1.0.0...1.0.1)
-
-## [1.0.0](https://github.com/chef/ffi-yajl/tree/1.0.0) (2014-07-16)
-[Full Changelog](https://github.com/chef/ffi-yajl/compare/0.2.1...1.0.0)
-
-## [0.2.1](https://github.com/chef/ffi-yajl/tree/0.2.1) (2014-07-16)
-[Full Changelog](https://github.com/chef/ffi-yajl/compare/0.2.0...0.2.1)
-
-## [0.2.0](https://github.com/chef/ffi-yajl/tree/0.2.0) (2014-06-17)
-[Full Changelog](https://github.com/chef/ffi-yajl/compare/0.1.7...0.2.0)
-
-## [0.1.7](https://github.com/chef/ffi-yajl/tree/0.1.7) (2014-06-13)
-[Full Changelog](https://github.com/chef/ffi-yajl/compare/0.1.6...0.1.7)
-
-## [0.1.6](https://github.com/chef/ffi-yajl/tree/0.1.6) (2014-06-05)
-[Full Changelog](https://github.com/chef/ffi-yajl/compare/0.1.5...0.1.6)
-
-## [0.1.5](https://github.com/chef/ffi-yajl/tree/0.1.5) (2014-05-21)
-[Full Changelog](https://github.com/chef/ffi-yajl/compare/0.1.4...0.1.5)
-
**Fixed bugs:**
- can't install on Mac OS X [\#1](https://github.com/chef/ffi-yajl/issues/1)
-## [0.1.4](https://github.com/chef/ffi-yajl/tree/0.1.4) (2014-05-21)
-[Full Changelog](https://github.com/chef/ffi-yajl/compare/0.1.3...0.1.4)
-
-## [0.1.3](https://github.com/chef/ffi-yajl/tree/0.1.3) (2014-05-20)
-[Full Changelog](https://github.com/chef/ffi-yajl/compare/0.1.2...0.1.3)
-
-## [0.1.2](https://github.com/chef/ffi-yajl/tree/0.1.2) (2014-05-07)
-[Full Changelog](https://github.com/chef/ffi-yajl/compare/0.1.1...0.1.2)
-
-## [0.1.1](https://github.com/chef/ffi-yajl/tree/0.1.1) (2014-05-06)
-[Full Changelog](https://github.com/chef/ffi-yajl/compare/0.1.0...0.1.1)
-
-## [0.1.0](https://github.com/chef/ffi-yajl/tree/0.1.0) (2014-05-06)
-[Full Changelog](https://github.com/chef/ffi-yajl/compare/0.0.4...0.1.0)
-
-## [0.0.4](https://github.com/chef/ffi-yajl/tree/0.0.4) (2014-01-13)
-[Full Changelog](https://github.com/chef/ffi-yajl/compare/0.0.3...0.0.4)
-
-## [0.0.3](https://github.com/chef/ffi-yajl/tree/0.0.3) (2014-01-13)
-[Full Changelog](https://github.com/chef/ffi-yajl/compare/0.0.2...0.0.3)
+**Merged pull requests:**
-## [0.0.2](https://github.com/chef/ffi-yajl/tree/0.0.2) (2014-01-11)
-[Full Changelog](https://github.com/chef/ffi-yajl/compare/0.0.1...0.0.2)
+- ensure opts hash is never nil [\#5](https://github.com/chef/ffi-yajl/pull/5) ([lamont-granquist](https://github.com/lamont-granquist))
+- Lcg/json opts [\#4](https://github.com/chef/ffi-yajl/pull/4) ([lamont-granquist](https://github.com/lamont-granquist))
+- change allow\_comment default to true [\#3](https://github.com/chef/ffi-yajl/pull/3) ([lamont-granquist](https://github.com/lamont-granquist))
-## [0.0.1](https://github.com/chef/ffi-yajl/tree/0.0.1) (2014-01-09)
\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)* \ No newline at end of file
diff --git a/Gemfile b/Gemfile
index b6963ac..330a01b 100644
--- a/Gemfile
+++ b/Gemfile
@@ -9,6 +9,7 @@ end
group :development do
# for testing loading concurrently with yajl-ruby, not on jruby
gem 'yajl-ruby', platforms: [ :ruby, :mswin, :mingw ]
+ gem 'github_changelog_generator'
end
group :development_extras do
diff --git a/Rakefile b/Rakefile
index 983f049..e9746fb 100644
--- a/Rakefile
+++ b/Rakefile
@@ -4,12 +4,18 @@ require 'rspec/core/rake_task'
require 'rubygems/package_task'
require 'rake/extensiontask'
require 'ffi_yajl/version'
+require 'github_changelog_generator/task'
Dir[File.expand_path("../*gemspec", __FILE__)].reverse_each do |gemspec_path|
gemspec = eval(IO.read(gemspec_path))
Gem::PackageTask.new(gemspec).define
end
+GitHubChangelogGenerator::RakeTask.new :changelog do |config|
+ config.since_tag = '1.0.1'
+ config.exclude_labels = %w{duplicate question invalid wontfix changelog_skip}
+end
+
desc "Build it and ship it"
task ship: [:clean, :gem] do
sh("git tag #{FFI_Yajl::VERSION}")