superbot-cloud 0.3.2 → 0.3.3

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: dfc06683e5aa75a71bae0c6d901d98f3a57c20f0cf68213adac360d9e68c4b72
4
- data.tar.gz: 8fb6775f14032ae1aede832aa873e07707e8fa1106d713df05a3a06c502d5ca6
3
+ metadata.gz: f2a886e3702c71e296e2d610682a65939ad1725bf25313c142ce151e13cc4c50
4
+ data.tar.gz: 1fba2349f03ebfb382bde48f19e52f4357f1012a75c6f744738e4b4d6e590218
5
5
  SHA512:
6
- metadata.gz: 33a742bbd390ac2cd059a10e390abf7cc179d906c8ca5323d38af9467ec24e573b2b6cfbe13ecdbce872e6bf5dd0202c6a476961828d0c41d75c4e96a5477879
7
- data.tar.gz: 14e23eb4b1244ca56551fa25e9167eaa203f0cb9bd1da5f2b28149860516e7abc3f32aecd931c60a0ebc93c49470cbb30d241e0686165bdafc1ddec98b41e0b7
6
+ metadata.gz: '0787d8bde10d2429ab455f540aaeb3a1e16df3f7ba3a929d59b5aafc7118e0814e25972a7024eaa4d24af881caea6ba5c9758f1e292b5e679cedfb8312ae1687'
7
+ data.tar.gz: a7c47127634f3598e5d71a4b4bd0ab4590952af21209a0a41b0e932a119c345da8e4589387ad7a0e9709e4640fcf0435725a7cbaaf016a693b1f82b3ab030e03
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- superbot-cloud (0.3.2)
4
+ superbot-cloud (0.3.3)
5
5
  marcel (= 0.3.3)
6
6
  multipart-post (= 2.0.0)
7
7
 
@@ -5,17 +5,18 @@ module Superbot
5
5
  module CLI
6
6
  module Run
7
7
  class ConsoleCommand < BaseCommand
8
- parameter "ID", "the ID of run to bots", required: true
8
+ parameter "ID", "the ID of run to connect", required: true
9
9
 
10
10
  def execute
11
11
  abort "Run is not active anymore" if fetch_interaction[:status] == 'aborted'
12
- loop do
13
- printf '> '
14
- input = $stdin.gets
15
- exit if input.nil?
16
- cmd, arg = input.rstrip.split(' ')
17
- invoke_command(cmd, arg)
18
- end
12
+ Pry.start
13
+ # loop do
14
+ # printf '> '
15
+ # input = $stdin.gets
16
+ # exit if input.nil?
17
+ # cmd, arg = input.rstrip.split(' ')
18
+ # invoke_command(cmd, arg)
19
+ # end
19
20
  end
20
21
 
21
22
  private
@@ -5,7 +5,7 @@ module Superbot
5
5
  module CLI
6
6
  module Run
7
7
  class CreateCommand < BaseCommand
8
- parameter "NAME", "the name of the test to delete", required: true
8
+ parameter "NAME", "the name of the test to create run for", required: true
9
9
  option ['--region'], 'REGION', 'Region for remote webdriver'
10
10
 
11
11
  def execute
@@ -4,7 +4,7 @@ module Superbot
4
4
  module Cloud
5
5
  module Validations
6
6
  def require_login
7
- return if Superbot::Cloud.credentials
7
+ return if Superbot::Cloud.credentials || ENV['SUPERBOT_TOKEN']
8
8
 
9
9
  abort "You are not logged in, use `superbot cloud login` to login"
10
10
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Superbot
4
4
  module Cloud
5
- VERSION = "0.3.2"
5
+ VERSION = "0.3.3"
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.2
4
+ version: 0.3.3
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-26 00:00:00.000000000 Z
11
+ date: 2019-03-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: multipart-post