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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f32d99a436bd9592983b184dd0b978c9f7cafd2c60edc28195636560d2bb8b78
4
- data.tar.gz: bd89ec539f65b070210e4748b820e186e9fa1f60f948a64e745403e1f4cccd98
3
+ metadata.gz: 21608df2202349dc253a3a7d9bd7198e1a85a88adc34426e42f2c452bd577bb2
4
+ data.tar.gz: 68f9315d65367edfa9064339ec0a29173ed6715e808e69da6cea758f6c7cb5f9
5
5
  SHA512:
6
- metadata.gz: 5c3a09f692fcc1ceda5643cf96cdffe3c1c00e79663302fba99bd1bac90cd56d502799500561b40590b487936f90ae5751469c25510a079958286f925bb4b044
7
- data.tar.gz: 11da1d0f757e3266ec99856c6cff93d11415dbfc045a58e83bf4786040c651f573563ff6fc49861a0803aba48b8ea0f3c7b70556f3504e1721bce9270eca0063
6
+ metadata.gz: 2493dd94547974cd299a55b2e9dffb1cb563b661362e6a6936140f2cbfd15acc80180e8bac7686b18180d83c2026d90b2e065e06efbf4908ba1c8d1c1927bc6a
7
+ data.tar.gz: 373bf3c864187635acf664b30fe7f10c28421777f82d912f295ac8d2a2e2c2f5504361dc8ed7e47e41d92069fd9eb6bda2ff9ce955503b9ccec1c9a3586c743f
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- superbot-teleport (0.3.5)
4
+ superbot-teleport (0.3.6)
5
5
  excon
6
6
 
7
7
  GEM
@@ -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 ['--source'], 'SOURCE', "Source deployment for webdriver session", environment_variable: "SUPERBOT_SOURCE"
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
- source: source
43
+ tag: tag
44
44
  )
45
45
 
46
46
  at_exit do
@@ -1,5 +1,5 @@
1
1
  module Superbot
2
2
  module Teleport
3
- VERSION = "0.3.5"
3
+ VERSION = "0.3.6"
4
4
  end
5
5
  end
@@ -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[:source]
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']['source'] ||= settings.teleport_options[:source]
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.5
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-06 00:00:00.000000000 Z
11
+ date: 2019-03-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: excon