superbot-cloud 0.3.1 → 0.3.2
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/Gemfile.lock +1 -1
- data/lib/superbot/cloud/api.rb +1 -1
- data/lib/superbot/cloud/cli/schedule/list_command.rb +1 -1
- data/lib/superbot/cloud/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: dfc06683e5aa75a71bae0c6d901d98f3a57c20f0cf68213adac360d9e68c4b72
|
|
4
|
+
data.tar.gz: 8fb6775f14032ae1aede832aa873e07707e8fa1106d713df05a3a06c502d5ca6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 33a742bbd390ac2cd059a10e390abf7cc179d906c8ca5323d38af9467ec24e573b2b6cfbe13ecdbce872e6bf5dd0202c6a476961828d0c41d75c4e96a5477879
|
|
7
|
+
data.tar.gz: 14e23eb4b1244ca56551fa25e9167eaa203f0cb9bd1da5f2b28149860516e7abc3f32aecd931c60a0ebc93c49470cbb30d241e0686165bdafc1ddec98b41e0b7
|
data/Gemfile.lock
CHANGED
data/lib/superbot/cloud/api.rb
CHANGED
|
@@ -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
|
|
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]
|
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.
|
|
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-
|
|
11
|
+
date: 2019-02-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: multipart-post
|