rake_commit 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/git.rb +1 -1
  2. metadata +3 -3
data/lib/git.rb CHANGED
@@ -50,7 +50,7 @@ class Git
50
50
  end
51
51
 
52
52
  def temp_commit
53
- return if Shell.backtick("git status --short").strip.empty?
53
+ return if Shell.backtick("git status") =~ /nothing to commit/m
54
54
  Shell.system "git commit -m 'rake_commit backup commit'"
55
55
  end
56
56
 
metadata CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
6
  - 0
7
- - 2
7
+ - 3
8
8
  - 0
9
- version: 0.2.0
9
+ version: 0.3.0
10
10
  platform: ruby
11
11
  authors:
12
12
  - Paul Gross
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-05-09 00:00:00 -05:00
17
+ date: 2010-05-10 00:00:00 -05:00
18
18
  default_executable:
19
19
  dependencies: []
20
20