selenium-rc 2.1.0 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Thorfile +9 -7
- data/VERSION.yml +3 -3
- data/lib/selenium_rc/server.rb +1 -1
- data/spec/bin_selenium_rc_spec.rb +1 -1
- data/vendor/selenium-server.jar +0 -0
- metadata +6 -5
data/Thorfile
CHANGED
@@ -8,18 +8,20 @@ class Joe < Thor
|
|
8
8
|
end
|
9
9
|
|
10
10
|
def fetch_jar
|
11
|
-
url = "http://
|
11
|
+
url = "http://selenium.googlecode.com/files/selenium-server-standalone-2.0a1.jar"
|
12
12
|
file = File.join("tmp", File.basename(url))
|
13
13
|
|
14
14
|
FileUtils.mkdir_p("tmp")
|
15
15
|
|
16
16
|
system "wget #{url} -O #{file}" unless File.exist?(file)
|
17
17
|
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
18
|
+
FileUtils.mv("#{file}", "vendor/selenium-server.jar")
|
19
|
+
|
20
|
+
# Zip::ZipFile.open(file) do |zipfile|
|
21
|
+
# jar_file_entry = zipfile.entries.find {|file| file.name =~ /selenium-server-standalone-2\.0a1\.jar$/}
|
22
|
+
# destination = "vendor/selenium-server.jar"
|
23
|
+
# FileUtils.rm_rf(destination)
|
24
|
+
# zipfile.extract(jar_file_entry, destination)
|
25
|
+
# end
|
24
26
|
end
|
25
27
|
end
|
data/VERSION.yml
CHANGED
data/lib/selenium_rc/server.rb
CHANGED
@@ -31,7 +31,7 @@ describe "bin/selenium-rc" do
|
|
31
31
|
timeout_length = 15
|
32
32
|
until yield
|
33
33
|
if Time.now > (start_time + timeout_length)
|
34
|
-
raise SocketError.new("Socket did not open within #{timeout_length} seconds")
|
34
|
+
raise SocketError.new("Socket did not open/close within #{timeout_length} seconds")
|
35
35
|
end
|
36
36
|
end
|
37
37
|
end
|
data/vendor/selenium-server.jar
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,18 +1,19 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: selenium-rc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pivotal Labs
|
8
8
|
- Nate Clark
|
9
9
|
- Brian Takita
|
10
10
|
- Chad Woolley
|
11
|
+
- Matthew Kocher
|
11
12
|
autorequire:
|
12
13
|
bindir: bin
|
13
14
|
cert_chain: []
|
14
15
|
|
15
|
-
date:
|
16
|
+
date: 2010-01-22 00:00:00 -08:00
|
16
17
|
default_executable:
|
17
18
|
dependencies:
|
18
19
|
- !ruby/object:Gem::Dependency
|
@@ -23,7 +24,7 @@ dependencies:
|
|
23
24
|
requirements:
|
24
25
|
- - ">="
|
25
26
|
- !ruby/object:Gem::Version
|
26
|
-
version: 1.2.
|
27
|
+
version: 1.2.18
|
27
28
|
version:
|
28
29
|
description: The Selenium RC Server packaged as a gem
|
29
30
|
email: pivotallabsopensource@googlegroups.com
|
@@ -72,8 +73,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
72
73
|
version:
|
73
74
|
requirements: []
|
74
75
|
|
75
|
-
rubyforge_project:
|
76
|
-
rubygems_version: 1.3.
|
76
|
+
rubyforge_project:
|
77
|
+
rubygems_version: 1.3.5
|
77
78
|
signing_key:
|
78
79
|
specification_version: 3
|
79
80
|
summary: The Selenium RC Server packaged as a gem.
|