superbot-teleport 0.3.5 → 0.3.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/superbot/teleport/cli/root_command.rb +2 -2
- data/lib/superbot/teleport/version.rb +1 -1
- data/lib/superbot/teleport/web.rb +2 -2
- 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: 21608df2202349dc253a3a7d9bd7198e1a85a88adc34426e42f2c452bd577bb2
|
4
|
+
data.tar.gz: 68f9315d65367edfa9064339ec0a29173ed6715e808e69da6cea758f6c7cb5f9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2493dd94547974cd299a55b2e9dffb1cb563b661362e6a6936140f2cbfd15acc80180e8bac7686b18180d83c2026d90b2e065e06efbf4908ba1c8d1c1927bc6a
|
7
|
+
data.tar.gz: 373bf3c864187635acf664b30fe7f10c28421777f82d912f295ac8d2a2e2c2f5504361dc8ed7e47e41d92069fd9eb6bda2ff9ce955503b9ccec1c9a3586c743f
|
data/Gemfile.lock
CHANGED
@@ -21,7 +21,7 @@ module Superbot
|
|
21
21
|
option ['--keep-session'], :flag, "Keep session after teleport is closed"
|
22
22
|
option ['--session'], 'SESSION', "Session to use in teleport"
|
23
23
|
option ['--base-url'], 'BASE_URL', "Base project URL"
|
24
|
-
option ['--
|
24
|
+
option ['--tag'], 'TAG', "Deployment tag for webdriver session", environment_variable: "SUPERBOT_TAG"
|
25
25
|
|
26
26
|
def execute
|
27
27
|
validate_teleport_options(browser, organization, session)
|
@@ -40,7 +40,7 @@ module Superbot
|
|
40
40
|
keep_session: session || keep_session?,
|
41
41
|
session: session,
|
42
42
|
base_url: base_url,
|
43
|
-
|
43
|
+
tag: tag
|
44
44
|
)
|
45
45
|
|
46
46
|
at_exit do
|
@@ -61,11 +61,11 @@ module Superbot
|
|
61
61
|
|
62
62
|
parsed_body['organization_name'] = settings.teleport_options[:organization]
|
63
63
|
|
64
|
-
if settings.teleport_options[:region] || settings.teleport_options[:
|
64
|
+
if settings.teleport_options[:region] || settings.teleport_options[:tag]
|
65
65
|
parsed_body['desiredCapabilities'] ||= {}
|
66
66
|
parsed_body['desiredCapabilities']['superOptions'] ||= {}
|
67
67
|
parsed_body['desiredCapabilities']['superOptions']['region'] ||= settings.teleport_options[:region]
|
68
|
-
parsed_body['desiredCapabilities']['superOptions']['
|
68
|
+
parsed_body['desiredCapabilities']['superOptions']['tag'] ||= settings.teleport_options[:tag]
|
69
69
|
end
|
70
70
|
|
71
71
|
session_response = proxy(
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: superbot-teleport
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Superbot HQ
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-03-
|
11
|
+
date: 2019-03-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: excon
|