jwilger-webrat 0.4.2.1 → 0.4.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/webrat.rb +1 -1
- data/lib/webrat/selenium.rb +5 -2
- metadata +2 -3
data/lib/webrat.rb
CHANGED
data/lib/webrat/selenium.rb
CHANGED
@@ -14,12 +14,15 @@ module Webrat
|
|
14
14
|
|
15
15
|
def self.start_selenium_server #:nodoc:
|
16
16
|
unless Webrat.configuration.selenium_server_address
|
17
|
-
remote_control = ::Selenium::RemoteControl::RemoteControl.new("0.0.0.0",
|
17
|
+
remote_control = ::Selenium::RemoteControl::RemoteControl.new("0.0.0.0",
|
18
|
+
Webrat.configuration.selenium_server_port,
|
19
|
+
Webrat.configuration.selenium_server_timeout)
|
18
20
|
remote_control.jar_file = File.expand_path(__FILE__ + "../../../../vendor/selenium-server.jar")
|
19
21
|
remote_control.additional_args = Webrat.configuration.selenium_server_args
|
20
22
|
remote_control.start :background => true
|
21
23
|
end
|
22
|
-
TCPSocket.wait_for_service :host => (Webrat.configuration.selenium_server_address || "0.0.0.0"),
|
24
|
+
TCPSocket.wait_for_service :host => (Webrat.configuration.selenium_server_address || "0.0.0.0"),
|
25
|
+
:port => Webrat.configuration.selenium_server_port
|
23
26
|
end
|
24
27
|
|
25
28
|
def self.stop_selenium_server #:nodoc:
|
metadata
CHANGED
@@ -1,11 +1,10 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jwilger-webrat
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.2.
|
4
|
+
version: 0.4.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bryan Helmkamp
|
8
|
-
- John Wilger
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
@@ -113,7 +112,7 @@ files:
|
|
113
112
|
- lib/webrat.rb
|
114
113
|
- vendor/selenium-server.jar
|
115
114
|
has_rdoc: true
|
116
|
-
homepage: http://github.com/
|
115
|
+
homepage: http://github.com/brynary/webrat
|
117
116
|
post_install_message:
|
118
117
|
rdoc_options: []
|
119
118
|
|