From 6385fffa954ab14f1398e76b10d013fc1663a3fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Murat=20Kemal=20BAYG=C3=9CN?= Date: Fri, 19 Jul 2013 14:21:14 +0300 Subject: [PATCH] #8 Change executable file name to katip --- CHANGELOG.md | 8 ++++++++ Gemfile.lock | 2 +- README.md | 4 ++-- bin/{daktilo => katip} | 0 katip.gemspec | 2 +- lib/katip.rb | 6 +++--- 6 files changed, 15 insertions(+), 7 deletions(-) rename bin/{daktilo => katip} (100%) diff --git a/CHANGELOG.md b/CHANGELOG.md index f1dfe30..b16ccbb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,14 @@ #### [Current] +#### 0.2.0 + * [61b2f06](61b2f06) Version 0.2.0 __(Murat Kemal BAYGÜN)__ + * [9bd7659](9bd7659) #7 Fix documentation __(Murat Kemal BAYGÜN)__ + * [2abca18](2abca18) #7 Organize readme, add usage for daktilo __(Murat Kemal BAYGÜN)__ + * [b939475](b939475) #7 Add output message to inform user __(Murat Kemal BAYGÜN)__ + * [99d3b3f](99d3b3f) #7 Add executable ruby file to gem to generate default output CHANGELOG.md __(Murat Kemal BAYGÜN)__ + * [7265622](7265622) #4 Add simple usage documentation on readme __(Murat Kemal BAYGÜN)__ + #### 0.1.0 * [de3acfb](de3acfb) #6 Update gemspec __(Onur Ozgur OZKAN)__ * [498c3d6](498c3d6) #6 Set gem __(Onur Ozgur OZKAN)__ diff --git a/Gemfile.lock b/Gemfile.lock index d31ee1a..80a4503 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - katip (0.1.0) + katip (0.2.0) GEM remote: https://rubygems.org/ diff --git a/README.md b/README.md index 1558c31..6f0aa40 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Katip This is a Change Logging gem for a git initialized project. Katip is a gem which dumps the change log as a list grouped by version tags. -It also has an executable ruby file **daktilo**, which can be used in any git project. +It also has an executable ruby file **katip**, which can be used in any git project. Log rows will contain links to commits, commit note and contributer name. ## Installation @@ -30,7 +30,7 @@ gem 'katip' In your git initialized project directory simply run ```sh - % daktilo + % katip Create CHANGELOG.md ``` diff --git a/bin/daktilo b/bin/katip similarity index 100% rename from bin/daktilo rename to bin/katip diff --git a/katip.gemspec b/katip.gemspec index 4c33b8c..65e210c 100644 --- a/katip.gemspec +++ b/katip.gemspec @@ -14,7 +14,7 @@ Gem::Specification.new do |spec| spec.license = 'MIT' spec.files = `git ls-files`.split($/) - spec.executables = %w[daktilo] + spec.executables = %w[katip] spec.require_paths = %w[lib] spec.add_development_dependency 'bundler', '~> 1.3' diff --git a/lib/katip.rb b/lib/katip.rb index a52ad02..8d8137a 100644 --- a/lib/katip.rb +++ b/lib/katip.rb @@ -3,7 +3,7 @@ module Katip require 'katip/railtie' if defined?(Rails) - @@daktilo = <<-SHELL + @@katip = <<-SHELL # Get tags as an array TAGS_ARRAY=(`git for-each-ref --sort='*authordate' --format='%(tag)' refs/tags | grep -v '^$'`) @@ -41,11 +41,11 @@ module Katip SHELL def self.set(param) - @@daktilo = param + @@katip = param end def self.get - @@daktilo + @@katip end end