selenium-rc 2.1.0 → 2.2.0

Sign up to get free protection for your applications and to get access to all the features.
data/Thorfile CHANGED
@@ -8,18 +8,20 @@ class Joe < Thor
8
8
  end
9
9
 
10
10
  def fetch_jar
11
- url = "http://release.seleniumhq.org/selenium-remote-control/1.0.1/selenium-remote-control-1.0.1-dist.zip"
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
- Zip::ZipFile.open(file) do |zipfile|
19
- jar_file_entry = zipfile.entries.find {|file| file.name =~ /selenium-server\.jar$/}
20
- destination = "vendor/selenium-server.jar"
21
- FileUtils.rm_rf(destination)
22
- zipfile.extract(jar_file_entry, destination)
23
- end
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
@@ -1,5 +1,5 @@
1
1
  ---
2
2
  :major: 2
3
- :minor: 0
4
- :patch: 20090610
5
- :jar_url: http://release.seleniumhq.org/selenium-remote-control/1.0.1/selenium-remote-control-1.0.1-dist.zip
3
+ :minor: 2
4
+ :patch: 0
5
+ :jar_url: http://selenium.googlecode.com/files/selenium-server-2.0a1.zip
@@ -88,7 +88,7 @@ module SeleniumRC
88
88
  protected
89
89
  def wait_for_service_with_timeout
90
90
  start_time = Time.now
91
- timeout = 15
91
+ timeout = 60
92
92
 
93
93
  until service_is_running?
94
94
  if timeout && (Time.now > (start_time + timeout))
@@ -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
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.1.0
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: 2009-07-23 00:00:00 -03:00
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.16
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: seleniumrc
76
- rubygems_version: 1.3.4
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.