superbot-teleport 0.2.9 → 0.3.0

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: 49234eaa577cc8d0b36d1170229022d765603222b842f9a5191192b32aa4d0af
4
- data.tar.gz: 6f38f0ced550f0ebb8d400218c6687a94b8ae4e25b6511958b16e611927f5501
3
+ metadata.gz: 1dbecf8455dec836569b660a8e1568add385050f15810fdbb851ba3d259ab3a0
4
+ data.tar.gz: 637a5b240ecc0749812111fbe20d81be18330659173202ab2d9993bcec32693f
5
5
  SHA512:
6
- metadata.gz: f26e286bc638cd4a905caf05ea5950cdb4c078e0860937ea3610d1f346fad2184f3ac6ffe4cf6a7c81d93a59cd886f88bb3d3b98ae95cb221ced8e36eb1436aa
7
- data.tar.gz: 3e578db0b76f1fe09f7c72236a2e7fc8ad66da483614dd5b6a57ec41adefd1d10abb41114e153f94f9699a5ced0ebab762449deec60d4baf3fb55b8b6935fbff
6
+ metadata.gz: b1ff1f7849253d7aa478140d7cefeb50ec1891c697b778673f60747159693884bdeff428059b6b809be562e3a715d432b1cb99df29e249f2cc38bcfbde21f6f1
7
+ data.tar.gz: dd5f6d9fde6ce3a179a6ee6a6d22a9344eaf2aebf14190b117bdcd378718b1600e8a18264e66aa0fb99c23e181555f80de664f9f145ab8aafca0a8e98ce3152a
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- superbot-teleport (0.2.9)
4
+ superbot-teleport (0.3.0)
5
5
  excon
6
6
 
7
7
  GEM
@@ -1,5 +1,5 @@
1
1
  module Superbot
2
2
  module Teleport
3
- VERSION = "0.2.9"
3
+ VERSION = "0.3.0"
4
4
  end
5
5
  end
@@ -9,13 +9,10 @@ module Superbot
9
9
  $__superbot_teleport_request_for_errors = request
10
10
  end
11
11
 
12
- user_auth_creds = Superbot::Cloud.credentials&.slice(:username, :token) || {}
13
-
14
12
  sinatra.set :connection, Excon.new(
15
13
  sinatra.webdriver_url,
16
- user: user_auth_creds[:username],
17
- password: user_auth_creds[:token],
18
14
  persistent: true,
15
+ headers: { 'Authorization' => Superbot::Cloud.authorization_header },
19
16
  connect_timeout: 3,
20
17
  read_timeout: 500,
21
18
  write_timeout: 500
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.2.9
4
+ version: 0.3.0
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-02-08 00:00:00.000000000 Z
11
+ date: 2019-02-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: excon