superbot-cloud 0.1.13 → 0.1.14

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: c10739967cbc668d1244c50b38d0b8cc3dba4f8c6fdd22a8fdce31fdef52c453
4
- data.tar.gz: b1f1d0af3db49ff0b73d8dbb8e2f3110b02d29942b87551c1b8354ac3c348ef0
3
+ metadata.gz: 0aa4ee337444ceb27e938f8b42315650fc64b385d9c885e22b09e56aef614962
4
+ data.tar.gz: 55c34d3ba848b5a986b927d6754d81719114146b8f32adf483c86286587e49c9
5
5
  SHA512:
6
- metadata.gz: cd23e009917aec06984513d315510a0ec6459b1fa9153afa4c0def55c6b5b686a61fb1676ab25eb2ae01b2dc8d0dae7fcd0fe033f123a4b93b755157a547e501
7
- data.tar.gz: 78347ed794edcf7321033dc1a6e125f1a89cd29d4083b1096df2e2133b6af7bb8a696468ffd7e5bfbb5eca711785218dcd912263dc589c9f688ccffee0fb5fc8
6
+ metadata.gz: e450daded01a72904e921d5f70620ca814b0dcbd53640f03c256b9b9e1e5d0c37e79add35fc0eec12362e5fe96cbace41b885b34764f24370ab0f92e19c60fff
7
+ data.tar.gz: 9e8505d9576a01fb3e32e54af65934e772a00a05a956ffd05cc165e9f04a9100cbdcd0e5df11a7cd73453b970b710d6422f3ddb7bb364619bcccd016c991d99e
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- superbot-cloud (0.1.13)
4
+ superbot-cloud (0.1.14)
5
5
  marcel (= 0.3.3)
6
6
  multipart-post (= 2.0.0)
7
7
 
@@ -60,13 +60,13 @@ GEM
60
60
  rack-protection (= 2.0.3)
61
61
  tilt (~> 2.0)
62
62
  sinatra-silent (0.0.1)
63
- superbot (0.1.16)
63
+ superbot (0.1.18)
64
64
  clamp (= 1.2.1)
65
65
  kommando (~> 0.1)
66
66
  launchy (= 2.4.3)
67
67
  sinatra (= 2.0.3)
68
68
  sinatra-silent (= 0.0.1)
69
- superbot-cloud (~> 0.1.11)
69
+ superbot-cloud (~> 0.1.13)
70
70
  zaru (= 0.2.0)
71
71
  tilt (2.0.8)
72
72
  unicode-display_width (1.4.0)
@@ -80,7 +80,7 @@ DEPENDENCIES
80
80
  rake (~> 10.0)
81
81
  rspec (~> 3.0)
82
82
  rubocop (~> 0.53)
83
- superbot (~> 0.1.16)
83
+ superbot (~> 0.1.18)
84
84
  superbot-cloud!
85
85
 
86
86
  BUNDLED WITH
@@ -5,7 +5,7 @@ require 'net/http/post/multipart'
5
5
  module Superbot
6
6
  module Cloud
7
7
  module Api
8
- BASE_URI = "http://#{Superbot::DOMAIN}/api/v1"
8
+ BASE_URI = "#{Superbot::URI_SCHEME}://#{Superbot::DOMAIN}/api/v1"
9
9
  ENDPOINT_MAP = {
10
10
  login: { method: :post, endpoint: 'sessions' },
11
11
  token: { method: :post, endpoint: 'token' },
@@ -31,6 +31,7 @@ module Superbot
31
31
  end
32
32
 
33
33
  response = Net::HTTP.start(uri.hostname, uri.port, use_ssl: uri.scheme == 'https') do |http|
34
+ http.verify_mode = OpenSSL::SSL::VERIFY_PEER
34
35
  http.request(req)
35
36
  end
36
37
  parsed_response = response.class.body_permitted? && JSON.parse(response.body, symbolize_names: true) || {}
@@ -11,8 +11,8 @@ module Superbot
11
11
  class CloudCommand < Clamp::Command
12
12
  subcommand ['version'], 'Superbot cloud version', Cloud::VersionCommand
13
13
  subcommand ['login'], 'Login to superbot cloud', Cloud::LoginCommand
14
- subcommand(['org'], 'Manage your organizations', Cloud::OrganizationCommand) if ENV['SUPERBOT_FEAT_CLOUD_ORG'] == 'true'
15
- subcommand ['test'], "Manage your tests", Cloud::TestCommand if ENV['SUPERBOT_FEAT_CLOUD_TEST'] == 'true'
14
+ subcommand(['org'], 'Manage your organizations', Cloud::OrganizationCommand)
15
+ subcommand ['test'], "Manage your tests", Cloud::TestCommand
16
16
 
17
17
  option ['-v', '--version'], :flag, "Show version information" do
18
18
  puts Superbot::Cloud::VERSION
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Superbot
4
4
  module Cloud
5
- VERSION = "0.1.13"
5
+ VERSION = "0.1.14"
6
6
  end
7
7
  end
@@ -36,7 +36,7 @@ Gem::Specification.new do |spec|
36
36
  spec.add_runtime_dependency "multipart-post", "2.0.0"
37
37
  spec.add_runtime_dependency "marcel", "0.3.3"
38
38
 
39
- spec.add_development_dependency "superbot", "~> 0.1.16"
39
+ spec.add_development_dependency "superbot", "~> 0.1.18"
40
40
  spec.add_development_dependency "bundler", "~> 1.16"
41
41
  spec.add_development_dependency "rake", "~> 10.0"
42
42
  spec.add_development_dependency "rspec", "~> 3.0"
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.1.13
4
+ version: 0.1.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Superbots
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-11-19 00:00:00.000000000 Z
11
+ date: 2018-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: multipart-post
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 0.1.16
47
+ version: 0.1.18
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 0.1.16
54
+ version: 0.1.18
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: bundler
57
57
  requirement: !ruby/object:Gem::Requirement