instapusher2 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8954fd5fde89561e4d77447742be3269a8636adb
4
- data.tar.gz: 300eb6d144a0283f3ae7e3e58e1045add0220b94
3
+ metadata.gz: 8eca70f4d4e2a6107985291dfafd5d2d06cc22e9
4
+ data.tar.gz: f81d2670f5eac76508f48718063148b9d4b3a05f
5
5
  SHA512:
6
- metadata.gz: c80d452d9ca0d6d4c33ab25f5817ccb1782eff1bfa36ae3c49ac7a6fb5b8be505462b2a9ddfad719d1c6f324555d32e5d5e674dfac2dbf1a8ed31a840ef2489b
7
- data.tar.gz: 3258b184c98b2e4f5b0dde39328bc3801cf4125a2223c00daaffc1ab964eae3462493c18d793e4e4b5a9da2499b757a3cfad1618ab2264f466d1381b4517670e
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 instapusher --api-key to setup instapusher API key."
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.com/my/api_key"
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['status'] || response_body['job_status_url']
40
+ @job_status_url = response_body['status_url']
41
41
  end
42
42
 
43
43
  def url_to_submit_job
@@ -1,3 +1,3 @@
1
1
  module Instapusher2
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
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
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-28 00:00:00.000000000 Z
11
+ date: 2014-04-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: hashr