Skip to content

Commit

Permalink
#8 Change executable file name to katip
Browse files Browse the repository at this point in the history
  • Loading branch information
baygunm committed Jul 19, 2013
1 parent 43fd4b2 commit 6385fff
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 7 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)__
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
katip (0.1.0)
katip (0.2.0)

GEM
remote: https://rubygems.org/
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -30,7 +30,7 @@ gem 'katip'
In your git initialized project directory simply run

```sh
% daktilo
% katip
Create CHANGELOG.md
```

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion katip.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
6 changes: 3 additions & 3 deletions lib/katip.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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 '^$'`)
Expand Down Expand Up @@ -41,11 +41,11 @@ module Katip
SHELL

def self.set(param)
@@daktilo = param
@@katip = param
end

def self.get
@@daktilo
@@katip
end

end

1 comment on commit 6385fff

@onurozgurozkan
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Please sign in to comment.