superbot-cloud 0.3.1 → 0.3.2

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
  SHA256:
3
- metadata.gz: 974b01bdf05f6ef310b1d8350a3828b5fc2195e91cd46d88ca7e4298416fd800
4
- data.tar.gz: 6795a9122f33dfeeebc40804eb528a700351d760abc872275a1abe2446a8a2ab
3
+ metadata.gz: dfc06683e5aa75a71bae0c6d901d98f3a57c20f0cf68213adac360d9e68c4b72
4
+ data.tar.gz: 8fb6775f14032ae1aede832aa873e07707e8fa1106d713df05a3a06c502d5ca6
5
5
  SHA512:
6
- metadata.gz: a7a3ac1f4bf6b972cdffd1e4414f60e74bae3f6ef02c3c25f13df17eac4d9cea5d9c911c9623c621be428c4f2ac0bb38b54970923e6623e97b1858a060b71815
7
- data.tar.gz: 65595db9d9a843c7b90209171ee557be310e71a064c62dcbc0a02795c1a5683c01c3f91800f3583c757dc2a9ecfdb745dbe92559178fe547aa29c602a8146985
6
+ metadata.gz: 33a742bbd390ac2cd059a10e390abf7cc179d906c8ca5323d38af9467ec24e573b2b6cfbe13ecdbce872e6bf5dd0202c6a476961828d0c41d75c4e96a5477879
7
+ data.tar.gz: 14e23eb4b1244ca56551fa25e9167eaa203f0cb9bd1da5f2b28149860516e7abc3f32aecd931c60a0ebc93c49470cbb30d241e0686165bdafc1ddec98b41e0b7
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- superbot-cloud (0.3.1)
4
+ superbot-cloud (0.3.2)
5
5
  marcel (= 0.3.3)
6
6
  multipart-post (= 2.0.0)
7
7
 
@@ -57,7 +57,7 @@ module Superbot
57
57
  req['Authorization'] = "#{auth_type} #{Base64.urlsafe_encode64(auth_token)}"
58
58
  end
59
59
 
60
- response = Net::HTTP.start(uri.hostname, uri.port, use_ssl: uri.scheme == 'https') do |http|
60
+ response = Net::HTTP.start(uri.hostname, uri.port, use_ssl: uri.scheme == 'https', read_timeout: 300) do |http|
61
61
  http.request(req)
62
62
  end
63
63
  parsed_response = response.class.body_permitted? && JSON.parse(response.body, symbolize_names: true) || {}
@@ -22,7 +22,7 @@ module Superbot
22
22
  end
23
23
 
24
24
  def list_schedules
25
- states = all? ? nil : %w[initial processing]
25
+ states = all? ? nil : %w[initial deployed aquired]
26
26
  api_response = Superbot::Cloud::Api.request(:schedule_list, params: { organization_name: organization, 'aasm_state[]': states })
27
27
 
28
28
  abort api_response[:error] if api_response[:error]
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Superbot
4
4
  module Cloud
5
- VERSION = "0.3.1"
5
+ VERSION = "0.3.2"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: superbot-cloud
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Superbots
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-02-25 00:00:00.000000000 Z
11
+ date: 2019-02-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: multipart-post