gitstagram 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/gitstagram +0 -0
- data/lib/gitstagram/cli.rb +3 -0
- data/lib/gitstagram/git_dir.rb +1 -6
- data/lib/gitstagram/version.rb +1 -1
- metadata +2 -2
data/bin/gitstagram
CHANGED
File without changes
|
data/lib/gitstagram/cli.rb
CHANGED
data/lib/gitstagram/git_dir.rb
CHANGED
@@ -33,12 +33,7 @@ module Gitstagram
|
|
33
33
|
end
|
34
34
|
|
35
35
|
def add_post_commit
|
36
|
-
|
37
|
-
file.sub!('*||*') do |s|
|
38
|
-
File.expand_path('../gitstagram.rb', File.dirname(__FILE__))
|
39
|
-
end
|
40
|
-
|
41
|
-
File.open('./.git/hooks/post-commit', 'w', 0755) {|f| f.write(file) }
|
36
|
+
File.open('./.git/hooks/post-commit', 'w', 0755) {|f| f.write("#!/bin/sh\ngitstagram --snapshot") }
|
42
37
|
end
|
43
38
|
end
|
44
39
|
end
|
data/lib/gitstagram/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gitstagram
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-10-
|
12
|
+
date: 2012-10-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|