superbot-teleport 0.2.2 → 0.2.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: 96cb38181742ba93a756ab6c90e13dcd34b7367bee42221ee60a0d4862e8c6ab
4
- data.tar.gz: 368e20344876b9f25d0505ef7a4654f250303228bd203b126855a45bd41025ab
3
+ metadata.gz: 4644e685086aa0266f66efff80dd699a4c104a3c179c477a37334e581cb501c2
4
+ data.tar.gz: 7dc4aaf614cb60f8199a68a1eb2a5eb00977f651822c2456a49c4ca2c375da07
5
5
  SHA512:
6
- metadata.gz: dec8c0595edf101a3de6dfb13fd40b5579007343dbcf47f875bbe5cf6362cb6427174bb5732e1e123149c25a89f12f560ddef49c48c9bed5e7a8328da0dd2338
7
- data.tar.gz: ff8a74f2ea4effe57ab9074126087544b2c127e79ad13aea3952c416d5cfbdb7fd8ecf23b939d8ff69cbcd4569e29092bb88615819a394b507c75b1fc343897a
6
+ metadata.gz: a1d9ad49fb4305eb133c47ae1fa8dfe7fa25f454a075270db1a5b2069e7ce87d9e082d2b619f16309176bc6f9acc3979ac5b946bd1ea1dcbb4a64d329f31b3cf
7
+ data.tar.gz: 9406cc7d3623ae47040db04e257139dea6e4b30b1d09f35a9f962e33627e9877d7a7f0e22892017d7dae2e1f75a572aceffd001e4e96425a8b4cdf87b5803414
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- superbot-teleport (0.2.2)
4
+ superbot-teleport (0.2.3)
5
5
  excon
6
6
 
7
7
  GEM
@@ -65,20 +65,20 @@ GEM
65
65
  rack-protection (= 2.0.4)
66
66
  tilt (~> 2.0)
67
67
  sinatra-silent (0.0.1)
68
- superbot (0.1.28)
68
+ superbot (0.1.30)
69
69
  clamp (= 1.2.1)
70
70
  kommando (~> 0.1)
71
71
  launchy (= 2.4.3)
72
- selenium-webdriver (~> 3.14, >= 3.14.0)
73
72
  sinatra (= 2.0.4)
74
73
  sinatra-silent (= 0.0.1)
75
- superbot-cloud (~> 0.1.18)
76
- superbot-teleport (~> 0.2.1)
74
+ superbot-cloud (~> 0.1.20)
75
+ superbot-selenium-webdriver (~> 1.0.1)
76
+ superbot-teleport (~> 0.2.2)
77
77
  zaru (= 0.2.0)
78
- superbot-cloud (0.1.18)
78
+ superbot-cloud (0.1.21)
79
79
  marcel (= 0.3.3)
80
80
  multipart-post (= 2.0.0)
81
- superbot-selenium-webdriver (1.0.0)
81
+ superbot-selenium-webdriver (1.0.1)
82
82
  chromedriver-helper (= 2.1.0)
83
83
  selenium-webdriver (= 3.141.0)
84
84
  tilt (2.0.9)
@@ -92,8 +92,8 @@ DEPENDENCIES
92
92
  pry
93
93
  rake (~> 11.2)
94
94
  rspec (~> 3.8)
95
- superbot (~> 0.1.28)
96
- superbot-selenium-webdriver
95
+ superbot (~> 0.1.30)
96
+ superbot-selenium-webdriver (~> 1.0.1)
97
97
  superbot-teleport!
98
98
 
99
99
  BUNDLED WITH
@@ -1,5 +1,5 @@
1
1
  module Superbot
2
2
  module Teleport
3
- VERSION = "0.2.2"
3
+ VERSION = "0.2.3"
4
4
  end
5
5
  end
@@ -4,17 +4,13 @@ require 'json'
4
4
  module Superbot
5
5
  module Teleport
6
6
  module Web
7
- def self.register(sinatra, webdriver_type: 'cloud', region: nil)
7
+ def self.registered(sinatra)
8
8
  sinatra.before do
9
9
  $__superbot_teleport_request_for_errors = request
10
10
  end
11
11
 
12
12
  user_auth_creds = Superbot::Cloud.credentials&.slice(:username, :token) || {}
13
13
 
14
- sinatra.set :webdriver_type, webdriver_type
15
- sinatra.set :webdriver_url, Superbot.webdriver_endpoint(webdriver_type)
16
- sinatra.set :region, region
17
-
18
14
  sinatra.set :connection, (
19
15
  Excon.new sinatra.webdriver_url, {
20
16
  user: user_auth_creds[:username],
@@ -28,6 +28,6 @@ Gem::Specification.new do |spec|
28
28
  spec.add_development_dependency "rspec", "~> 3.8"
29
29
  spec.add_development_dependency "pry"
30
30
 
31
- spec.add_development_dependency "superbot", "~> 0.1.29"
31
+ spec.add_development_dependency "superbot", "~> 0.1.30"
32
32
  spec.add_development_dependency "superbot-selenium-webdriver", "~> 1.0.1"
33
33
  end
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.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Superbot HQ
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-12-10 00:00:00.000000000 Z
11
+ date: 2018-12-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: excon
@@ -86,14 +86,14 @@ dependencies:
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: 0.1.29
89
+ version: 0.1.30
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: 0.1.29
96
+ version: 0.1.30
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: superbot-selenium-webdriver
99
99
  requirement: !ruby/object:Gem::Requirement