impatient 1.0.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/imp +7 -2
- data/lib/impatient.rb +1 -1
- metadata +3 -3
data/bin/imp
CHANGED
@@ -3,6 +3,7 @@
|
|
3
3
|
require 'impatient'
|
4
4
|
|
5
5
|
$open_when_ready = false
|
6
|
+
$push_master = true
|
6
7
|
|
7
8
|
ARGV.each do |arg|
|
8
9
|
case arg
|
@@ -19,15 +20,19 @@ ARGV.each do |arg|
|
|
19
20
|
puts "====================\n\n"
|
20
21
|
puts "-h or --help - Show this message"
|
21
22
|
puts "-v or --version - Show the current version of Impatient gem"
|
22
|
-
puts "-o or --open - Open the Heroku app once it's ready to go
|
23
|
+
puts "-o or --open - Open the Heroku app once it's ready to go"
|
24
|
+
puts "-n or --no-push - Don't automatically push the master branch to Heroku as part of the process\n\n"
|
23
25
|
puts "--------------------------------------------"
|
24
26
|
puts "by Tim Rogers (https://github.com/timrogers)"
|
25
27
|
puts "--------------------------------------------\n\n"
|
26
28
|
exit
|
29
|
+
when "-n", "--no-push"
|
30
|
+
$push_master = false
|
27
31
|
when "-o", "--open"
|
28
32
|
puts "I'll open the app once it's ready.\n\n"
|
29
33
|
$open_when_ready = true
|
30
34
|
end
|
31
35
|
end
|
32
36
|
|
33
|
-
|
37
|
+
`git push heroku master` unless $push_master == false
|
38
|
+
Impatient.execute($open_when_ready)
|
data/lib/impatient.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: impatient
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.1
|
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-08-
|
12
|
+
date: 2012-08-16 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Some of us are impatient. At least, I am - when I deploy an update to
|
15
15
|
my app to Heroku, I want to know whether it's ready. This tells you.
|
@@ -44,5 +44,5 @@ rubyforge_project:
|
|
44
44
|
rubygems_version: 1.8.24
|
45
45
|
signing_key:
|
46
46
|
specification_version: 3
|
47
|
-
summary:
|
47
|
+
summary: Push your Heroku app and find out once it's ready to go
|
48
48
|
test_files: []
|