commit-meat 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2 +1,5 @@
1
+ __0.0.2__
2
+ Fixed an issue with hook path.
3
+
1
4
  __0.0.1__
2
5
  First version - stops you from committing messages with only 1 word.
@@ -3,7 +3,7 @@ module CommitMeat
3
3
 
4
4
  HOOK_PATH = File.join '.git', 'hooks', 'commit-msg'
5
5
  HOOK_DIR = File.join '.git', 'hooks'
6
- HOOK_CONTENT = File.open('lib/commit-meat/hook.rb').read
6
+ HOOK_CONTENT = File.open(File.join(File.dirname(File.expand_path(__FILE__)), 'hook.rb')).read
7
7
 
8
8
  def self.install
9
9
  if not File.directory?('.git')
@@ -1,5 +1,5 @@
1
1
  module CommitMeat
2
2
 
3
- VERSION = '0.0.1'
3
+ VERSION = '0.0.2'
4
4
 
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: commit-meat
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: