instapusher2 0.0.4 → 0.0.5
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.
- checksums.yaml +4 -4
- data/lib/instapusher2/commands.rb +1 -1
- data/lib/instapusher2/configuration.rb +1 -1
- data/lib/instapusher2/job_submission.rb +1 -1
- data/lib/instapusher2/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8eca70f4d4e2a6107985291dfafd5d2d06cc22e9
|
|
4
|
+
data.tar.gz: f81d2670f5eac76508f48718063148b9d4b3a05f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8c4d3415033337b96d205fc8d24a7d13604340a51bf57d2374e036ac6a7e09ca0359e741135bafb5df8d8b0f8e06f8cc25c403e6c800ccc5639c4778a2de759b
|
|
7
|
+
data.tar.gz: 060b6403ffe39db8988eeb7ee42e02d55476dc7d66e3508413461858dd890f24f05744c21f7d719a9c85b4e597d9994dcd84c6b2ca89fa2f4466ef6768a87f99
|
|
@@ -50,7 +50,7 @@ module Instapusher2
|
|
|
50
50
|
|
|
51
51
|
if @api_key.to_s.length == 0
|
|
52
52
|
puts ''
|
|
53
|
-
abort "No instapusher API key was found. Please execute
|
|
53
|
+
abort "No instapusher API key was found. Please execute instapusher2 --api-key to setup instapusher API key."
|
|
54
54
|
|
|
55
55
|
elsif debug
|
|
56
56
|
puts "api_key is #{@api_key}"
|
|
@@ -23,7 +23,7 @@ module Instapusher2
|
|
|
23
23
|
|
|
24
24
|
def ask_for_api_key
|
|
25
25
|
puts ""
|
|
26
|
-
puts "Note: Your instapusher API key is available at http://www.instapusher.
|
|
26
|
+
puts "Note: Your instapusher API key is available at http://www.instapusher.net/my/api_key"
|
|
27
27
|
puts ""
|
|
28
28
|
puts "Enter your Instapusher API key:"
|
|
29
29
|
api_key = ask
|
|
@@ -37,7 +37,7 @@ module Instapusher2
|
|
|
37
37
|
response = Net::HTTP.post_form URI.parse(url_to_submit_job), options
|
|
38
38
|
@response_body = ::JSON.parse(response.body)
|
|
39
39
|
puts "response_body: #{response_body.inspect}" if debug
|
|
40
|
-
@job_status_url = response_body['
|
|
40
|
+
@job_status_url = response_body['status_url']
|
|
41
41
|
end
|
|
42
42
|
|
|
43
43
|
def url_to_submit_job
|
data/lib/instapusher2/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: instapusher2
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Neeraj Singh
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-04-
|
|
11
|
+
date: 2014-04-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: hashr
|