mobi_check_in 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/mobi_check_in.rb +6 -2
- data/lib/mobi_check_in/version.rb +1 -1
- metadata +3 -3
data/lib/mobi_check_in.rb
CHANGED
@@ -105,8 +105,12 @@ module MobiCheckIn
|
|
105
105
|
end
|
106
106
|
|
107
107
|
def self.amend
|
108
|
-
|
109
|
-
|
108
|
+
if `git log --branches --not --remotes --oneline` == ""
|
109
|
+
puts "You have no unpushed commits to amend to"
|
110
|
+
else
|
111
|
+
command = "git commit --amend -C HEAD"
|
112
|
+
system(command)
|
113
|
+
end
|
110
114
|
end
|
111
115
|
|
112
116
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mobi_check_in
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.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: 2013-01-
|
12
|
+
date: 2013-01-30 00:00:00.000000000Z
|
13
13
|
dependencies: []
|
14
14
|
description: A check in gem
|
15
15
|
email:
|
@@ -56,7 +56,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
56
56
|
version: '0'
|
57
57
|
requirements: []
|
58
58
|
rubyforge_project:
|
59
|
-
rubygems_version: 1.
|
59
|
+
rubygems_version: 1.7.2
|
60
60
|
signing_key:
|
61
61
|
specification_version: 3
|
62
62
|
summary: A way to check in
|