superbot-teleport 0.3.4 → 0.3.5

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: 64e18889f7b337fa8b3ccd27e27dbe2e650ff130c4911d896d2c25e717d62b35
4
- data.tar.gz: 97ecf6e680521e3e73b5aaf07c69ca246ed641724f9a706391fdc42a37ca0336
3
+ metadata.gz: f32d99a436bd9592983b184dd0b978c9f7cafd2c60edc28195636560d2bb8b78
4
+ data.tar.gz: bd89ec539f65b070210e4748b820e186e9fa1f60f948a64e745403e1f4cccd98
5
5
  SHA512:
6
- metadata.gz: '085af1d671d0b707ce1b252fc1c893a579bb63d63a8ef17d1096fee160f9bf1867a080e162a77cc1765e9963f27606a7c36f0e8e84d4284282abacb250144ff7'
7
- data.tar.gz: 8dbccbac72c107bd2815fd878ea77912b41385fb1652482f2215e1aaad09a7862ba0467d8fecc560c4e6efa3d903465d3b150cb2ab7ac483500bde1351c0ef6c
6
+ metadata.gz: 5c3a09f692fcc1ceda5643cf96cdffe3c1c00e79663302fba99bd1bac90cd56d502799500561b40590b487936f90ae5751469c25510a079958286f925bb4b044
7
+ data.tar.gz: 11da1d0f757e3266ec99856c6cff93d11415dbfc045a58e83bf4786040c651f573563ff6fc49861a0803aba48b8ea0f3c7b70556f3504e1721bce9270eca0063
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- superbot-teleport (0.3.4)
4
+ superbot-teleport (0.3.5)
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', environment_variable: "SUPERBOT_SOURCE"
24
+ option ['--source'], 'SOURCE', "Source deployment for webdriver session", environment_variable: "SUPERBOT_SOURCE"
25
25
 
26
26
  def execute
27
27
  validate_teleport_options(browser, organization, session)
@@ -1,5 +1,5 @@
1
1
  module Superbot
2
2
  module Teleport
3
- VERSION = "0.3.4"
3
+ VERSION = "0.3.5"
4
4
  end
5
5
  end
@@ -14,8 +14,8 @@ module Superbot
14
14
  persistent: true,
15
15
  headers: { 'Authorization' => Superbot::Cloud.authorization_header },
16
16
  connect_timeout: 3,
17
- read_timeout: 10,
18
- write_timeout: 10
17
+ read_timeout: 500,
18
+ write_timeout: 500
19
19
  )
20
20
 
21
21
  sinatra.helpers do
@@ -73,9 +73,9 @@ module Superbot
73
73
  params,
74
74
  headers: headers.merge('Idempotency-Key' => SecureRandom.hex),
75
75
  body: parsed_body.to_json,
76
- write_timeout: 10,
77
- read_timeout: 10,
78
- retry_interval: 10
76
+ write_timeout: 500,
77
+ read_timeout: 500,
78
+ retry_interval: 60
79
79
  )
80
80
  settings.teleport_options[:session] = JSON.parse(session_response.body)['sessionId']
81
81
 
@@ -87,7 +87,7 @@ module Superbot
87
87
  if settings.teleport_options[:base_url] && parsed_body['url']
88
88
  parsed_body['url'] = URI.join(
89
89
  settings.teleport_options[:base_url],
90
- URI(parsed_body['url']).path
90
+ URI(parsed_body['url']).path.to_s
91
91
  ).to_s
92
92
  end
93
93
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: superbot-teleport
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Superbot HQ