superbot-cloud 0.1.8 → 0.1.9

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: a8829fdd1bbd5571e3f0fdce21c21ea87ad77ee463fdff9b491f6afcfafa942b
4
- data.tar.gz: d3a047ec7572c38651d0330479ff3d83701b92e54479c146d76a8e5572bd9d17
3
+ metadata.gz: f5bd835b5b98790f2f3781fa2ff283288e549a3bff592d56bc088fd70261297b
4
+ data.tar.gz: d7d43561f6b36cd25e4ff4b166c4f6cfd3e7f920ac14965a138a1998c483b463
5
5
  SHA512:
6
- metadata.gz: 1e4b7c6dc679713f7b0f2ce6759f483feb0d65a0e96400feafed564cc66a92c9a3ab7136247197f053d6d363d31680d3282f0e0b0585beb729b674f6976004f1
7
- data.tar.gz: dfb9721a1b6c5030dcfb9c69462ce983faec24acb49ef451de68c7364ead441a060336ea749b97aec46d8c5b584edb17341d4762a0c9b4d724d3d289bd78783b
6
+ metadata.gz: 4d7a961ce5eb71bd5d87bc953f5745bca6be8b4eff9f5d5065a25f47340cd69769189f4e6a676ee95de3438522c98ee438fd1b5182b71afc1f8ac7f394d54f3f
7
+ data.tar.gz: aade2c3fd1d8eda888b39bc4f25b2a5caf29cdbcd187d381b0ed7b0c65a5f89059d9d5746d224a6d56939e4719043c6f551e6674aba1db7beee01ca40d478565
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- superbot-cloud (0.1.8)
4
+ superbot-cloud (0.1.9)
5
5
  marcel (= 0.3.3)
6
6
  multipart-post (= 2.0.0)
7
7
 
@@ -36,7 +36,7 @@ module Superbot
36
36
  parsed_response = response.class.body_permitted? && JSON.parse(response.body, symbolize_names: true) || {}
37
37
  return parsed_response if response.is_a? Net::HTTPSuccess
38
38
 
39
- abort parsed_response[:errors]
39
+ abort parsed_response[:error]
40
40
  end
41
41
  end
42
42
  end
@@ -16,7 +16,7 @@ module Superbot
16
16
 
17
17
  def list_tests
18
18
  api_response = Superbot::Cloud::Api.request(:test_list, params: { organization_name: organization })
19
- abort api_response[:errors] if api_response[:errors]
19
+ abort api_response[:error] if api_response[:error]
20
20
  puts "Organization: #{api_response[:organization]}"
21
21
  puts "Tests:"
22
22
  api_response[:tests].each do |test|
@@ -37,7 +37,7 @@ module Superbot
37
37
  }
38
38
  )
39
39
 
40
- print filename, ' - ', api_response[:errors] || 'Success'
40
+ print filename, ' - ', api_response[:error] || 'Success'
41
41
  puts
42
42
  end
43
43
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Superbot
4
4
  module Cloud
5
- VERSION = "0.1.8"
5
+ VERSION = "0.1.9"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: superbot-cloud
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Superbots