From 15c21ad6f55b752f81ef7c0a9d2c8a0360f2ca8c Mon Sep 17 00:00:00 2001 From: bibendi Date: Wed, 3 Dec 2014 17:30:37 +0500 Subject: [PATCH] add new changelogger - katip --- CHANGELOG | 10 ---------- CHANGELOG.md | 12 ++++++++++++ apress-gems.gemspec | 2 +- tasks/version.rake | 7 ++++--- 4 files changed, 17 insertions(+), 14 deletions(-) delete mode 100644 CHANGELOG create mode 100644 CHANGELOG.md diff --git a/CHANGELOG b/CHANGELOG deleted file mode 100644 index 00fc325..0000000 --- a/CHANGELOG +++ /dev/null @@ -1,10 +0,0 @@ - - 2014/10/14: downgrade changelogger to 0.0.2 (bibendi) - -v0.0.3 - - 2014/10/14: Release 0.0.3 (bibendi) - - 2014/10/14: add railsc gem source (bibendi) - -v0.0.2 - - 2014/10/14: Release 0.0.2 (bibendi) - - 2014/10/14: fix check git (bibendi) - - 2014/10/14: first (bibendi) diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..a92cf49 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,12 @@ +#### v0.0.4 + * [861228d](../../commit/861228d) - __(bibendi)__ Release 0.0.4 + * [1d8ec9b](../../commit/1d8ec9b) - __(bibendi)__ downgrade changelogger to 0.0.2 + +#### v0.0.3 + * [ec54bda](../../commit/ec54bda) - __(bibendi)__ Release 0.0.3 + * [5d4efb5](../../commit/5d4efb5) - __(bibendi)__ add railsc gem source + +#### v0.0.2 + * [af1fe22](../../commit/af1fe22) - __(bibendi)__ Release 0.0.2 + * [5903a08](../../commit/5903a08) - __(bibendi)__ fix check git + * [9e46c68](../../commit/9e46c68) - __(bibendi)__ first diff --git a/apress-gems.gemspec b/apress-gems.gemspec index aaab6b1..ea46e74 100644 --- a/apress-gems.gemspec +++ b/apress-gems.gemspec @@ -20,6 +20,6 @@ Gem::Specification.new do |spec| spec.add_development_dependency 'bundler', '>= 1.6' spec.add_development_dependency 'rake' - spec.add_runtime_dependency 'changelogger', '= 0.0.2' # rails3.1 thor 0.14.16 + spec.add_runtime_dependency 'katip' spec.add_runtime_dependency 'multipart-post' end diff --git a/tasks/version.rake b/tasks/version.rake index 950cf7f..fc2433e 100644 --- a/tasks/version.rake +++ b/tasks/version.rake @@ -28,7 +28,8 @@ namespace :version do desc 'Generate CHANGELOG file' task :changelog do - spawn "bundle exec changelogger '#{Dir.pwd}' --top_version='v#{current_version}' > CHANGELOG" - spawn "git add CHANGELOG" + require 'katip' + Katip::ChangeLogger.new.log_changes + spawn "git add CHANGELOG.md" end -end \ No newline at end of file +end