superbot-teleport 0.2.1 → 0.2.2
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 +4 -1
- data/lib/superbot/teleport/version.rb +1 -1
- data/lib/superbot/teleport/web.rb +2 -7
- data/superbot-teleport.gemspec +2 -2
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 96cb38181742ba93a756ab6c90e13dcd34b7367bee42221ee60a0d4862e8c6ab
|
4
|
+
data.tar.gz: 368e20344876b9f25d0505ef7a4654f250303228bd203b126855a45bd41025ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dec8c0595edf101a3de6dfb13fd40b5579007343dbcf47f875bbe5cf6362cb6427174bb5732e1e123149c25a89f12f560ddef49c48c9bed5e7a8328da0dd2338
|
7
|
+
data.tar.gz: ff8a74f2ea4effe57ab9074126087544b2c127e79ad13aea3952c416d5cfbdb7fd8ecf23b939d8ff69cbcd4569e29092bb88615819a394b507c75b1fc343897a
|
data/Gemfile.lock
CHANGED
@@ -24,7 +24,10 @@ module Superbot
|
|
24
24
|
puts 'Configure your remote webdriver to http://localhost:4567/wd/hub', ''
|
25
25
|
puts 'Press [control+c] to exit', ''
|
26
26
|
|
27
|
-
|
27
|
+
if browser == 'local'
|
28
|
+
chromedriver_path = Chromedriver::Helper.new.binary_path
|
29
|
+
@chromedriver = Kommando.run_async "#{chromedriver_path} --silent --port=9515 --url-base=wd/hub"
|
30
|
+
end
|
28
31
|
|
29
32
|
@web = Superbot::Web.run!(webdriver_type: browser, region: region)
|
30
33
|
ensure
|
@@ -40,13 +40,8 @@ module Superbot
|
|
40
40
|
def proxy(method, params, opts={})
|
41
41
|
raise "DELETE may not contain body" if method == :delete && opts[:body]
|
42
42
|
opts[:headers] ||= {}
|
43
|
-
|
44
|
-
|
45
|
-
path = "wd/hub/#{request_path(params)}"
|
46
|
-
headers["Content-Type"] = "application/json"
|
47
|
-
else
|
48
|
-
path = request_path
|
49
|
-
end
|
43
|
+
path = "wd/hub/#{request_path(params)}"
|
44
|
+
headers["Content-Type"] = "application/json"
|
50
45
|
|
51
46
|
settings.connection.request({method: method, path: path}.merge(opts))
|
52
47
|
end
|
data/superbot-teleport.gemspec
CHANGED
@@ -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.
|
32
|
-
spec.add_development_dependency "superbot-selenium-webdriver"
|
31
|
+
spec.add_development_dependency "superbot", "~> 0.1.29"
|
32
|
+
spec.add_development_dependency "superbot-selenium-webdriver", "~> 1.0.1"
|
33
33
|
end
|
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.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Superbot HQ
|
@@ -86,28 +86,28 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: 0.1.
|
89
|
+
version: 0.1.29
|
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.
|
96
|
+
version: 0.1.29
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: superbot-selenium-webdriver
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- - "
|
101
|
+
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version:
|
103
|
+
version: 1.0.1
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- - "
|
108
|
+
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version:
|
110
|
+
version: 1.0.1
|
111
111
|
description:
|
112
112
|
email:
|
113
113
|
executables: []
|