instapusher 0.0.13 → 0.0.14
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.
- data/README.md +1 -1
- data/lib/instapusher/commands.rb +3 -0
- data/lib/instapusher/version.rb +1 -1
- metadata +4 -4
data/README.md
CHANGED
@@ -71,7 +71,7 @@ application name under which it will be deployed to heroku will be
|
|
71
71
|
So in this case the url of the application will be
|
72
72
|
`http://nnimbleshop-76-facebook-ip.herokuapp.com` .
|
73
73
|
|
74
|
-
There are
|
74
|
+
There are three special branches `master`, `staging` and `production`.
|
75
75
|
For these branches the url generated will be just the application name and the
|
76
76
|
branch name. For example if I execute `instapusher` from `staging`
|
77
77
|
branch then the heroku url will be
|
data/lib/instapusher/commands.rb
CHANGED
@@ -33,6 +33,9 @@ module Instapusher
|
|
33
33
|
end
|
34
34
|
response = Net::HTTP.post_form URI.parse(url), options
|
35
35
|
response_body = MultiJson.load(response.body)
|
36
|
+
|
37
|
+
puts "response_body: #{response_body.inspect}" if debug
|
38
|
+
|
36
39
|
job_status_url = response_body['status'] || response_body['job_status_url']
|
37
40
|
|
38
41
|
if job_status_url && job_status_url != ""
|
data/lib/instapusher/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: instapusher
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.14
|
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-04-
|
12
|
+
date: 2013-04-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: hashr
|
@@ -97,7 +97,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
97
97
|
version: '0'
|
98
98
|
segments:
|
99
99
|
- 0
|
100
|
-
hash: -
|
100
|
+
hash: -1966238927828892293
|
101
101
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
102
102
|
none: false
|
103
103
|
requirements:
|
@@ -106,7 +106,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
106
106
|
version: '0'
|
107
107
|
segments:
|
108
108
|
- 0
|
109
|
-
hash: -
|
109
|
+
hash: -1966238927828892293
|
110
110
|
requirements: []
|
111
111
|
rubyforge_project:
|
112
112
|
rubygems_version: 1.8.23
|