selenium-rc 2.2.4 → 2.3.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/.gitignore +5 -0
- data/CHANGES +11 -0
- data/Gemfile +3 -0
- data/Gemfile.lock +36 -0
- data/MIT.LICENSE +20 -0
- data/README.markdown +46 -2
- data/RELEASING +6 -13
- data/Rakefile +3 -7
- data/Thorfile +3 -7
- data/VERSION.yml +2 -2
- data/bin/selenium-rc +1 -1
- data/lib/selenium-rc.rb +2 -0
- data/lib/selenium_rc.rb +2 -4
- data/lib/selenium_rc/server.rb +29 -36
- data/selenium-rc.gemspec +30 -0
- data/spec/bin_selenium_rc_spec.rb +8 -10
- data/spec/selenium_rc/server_spec.rb +42 -23
- data/spec/spec_helper.rb +3 -13
- data/vendor/selenium-server.jar +0 -0
- metadata +104 -17
- data/spec/spec_suite.rb +0 -3
data/.gitignore
ADDED
data/CHANGES
CHANGED
@@ -1,3 +1,14 @@
|
|
1
|
+
2.3.0
|
2
|
+
Updating Selenium jar to v2.0 [b1]
|
3
|
+
fixes bug on some Linux machines where server would not actually be ready for connections even though it was reported as ready
|
4
|
+
renaming library to the same name as the gem ('selenium-rc')
|
5
|
+
exposes the selenium-server.jar path as a class method (SeleniumRC::Server.jar_path)
|
6
|
+
adding Gemfile and development/test dependencies
|
7
|
+
adding more detailed documentation
|
8
|
+
|
9
|
+
2.2.4
|
10
|
+
Updating Selenium jar to v2.0 [a4]
|
11
|
+
|
1
12
|
1.8.20090512
|
2
13
|
Fixed bug where bin/selenium-rc did not stay open
|
3
14
|
|
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
selenium-rc (2.3.0)
|
5
|
+
selenium-client (>= 1.2.18)
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: http://rubygems.org/
|
9
|
+
specs:
|
10
|
+
diff-lcs (1.1.2)
|
11
|
+
gem-release (0.0.16)
|
12
|
+
lsof (0.3.0)
|
13
|
+
rr (1.0.2)
|
14
|
+
rspec (2.5.0)
|
15
|
+
rspec-core (~> 2.5.0)
|
16
|
+
rspec-expectations (~> 2.5.0)
|
17
|
+
rspec-mocks (~> 2.5.0)
|
18
|
+
rspec-core (2.5.1)
|
19
|
+
rspec-expectations (2.5.0)
|
20
|
+
diff-lcs (~> 1.1.2)
|
21
|
+
rspec-mocks (2.5.0)
|
22
|
+
rubyzip (0.9.4)
|
23
|
+
selenium-client (1.2.18)
|
24
|
+
thor (0.14.6)
|
25
|
+
|
26
|
+
PLATFORMS
|
27
|
+
ruby
|
28
|
+
|
29
|
+
DEPENDENCIES
|
30
|
+
gem-release
|
31
|
+
lsof
|
32
|
+
rr
|
33
|
+
rspec (>= 2.5.0)
|
34
|
+
rubyzip
|
35
|
+
selenium-rc!
|
36
|
+
thor
|
data/MIT.LICENSE
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright (c) 2010 Pivotal Labs
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.markdown
CHANGED
@@ -1,5 +1,49 @@
|
|
1
1
|
# selenium-rc #
|
2
2
|
|
3
|
-
|
3
|
+
_selenium-rc_ is a convenient ruby wrapper for the Selenium Standalone Server jar (formerly Selenium RC Server) packaged as a gem. This gem bundles the latest selenium-server-standalone-{version}.jar file and provides a binary and Ruby library to manage it.
|
4
4
|
|
5
|
-
|
5
|
+
### Version ###
|
6
|
+
|
7
|
+
The current version of this gem (2.3.0) packages **Selenium Standalone Server 2.0 [b1]**
|
8
|
+
|
9
|
+
### Basic Ruby Usage ###
|
10
|
+
|
11
|
+
server = SeleniumRC::Server.boot('localhost')
|
12
|
+
#=> Starts a Selenium Server accessible via http://localhost:4444 (the default port)
|
13
|
+
|
14
|
+
server = SeleniumRC::Server.boot('localhost', 8888)
|
15
|
+
#=> Starts a Selenium Server accessible via http://localhost:8888
|
16
|
+
|
17
|
+
server = SeleniumRC::Server.boot('localhost', 8888, :args => ["-browserSideLog", "-suppressStupidness"])
|
18
|
+
#=> Starts a Selenium Server accessible via http://localhost:8888 and passes arbitrary options to Selenium
|
19
|
+
|
20
|
+
server = SeleniumRC::Server.boot('localhost', 8888, :timeout => 120)
|
21
|
+
#=> Starts a Selenium Server accessible via http://localhost:8888 and waits 120 seconds before timing out
|
22
|
+
|
23
|
+
server.stop
|
24
|
+
#=> Stops the running Selenium Server
|
25
|
+
|
26
|
+
### Basic Command Line Usage ###
|
27
|
+
|
28
|
+
$ selenium-rc
|
29
|
+
#=> Starts a Selenium Server on localhost and the default port (4444)
|
30
|
+
|
31
|
+
$ export SELENIUM_SERVER_PORT=8888
|
32
|
+
$ selenium-rc
|
33
|
+
#=> Starts a Selenium Server on localhost on port 8888
|
34
|
+
|
35
|
+
### License ###
|
36
|
+
This software redistributes the Selenium Standalone Server (selenium-server.jar) in an *unmodified* form.
|
37
|
+
The Selenium Server is licensed under the [Apache License 2.0](http://www.apache.org/licenses/LICENSE-2.0).
|
38
|
+
|
39
|
+
All other software contained within is licensed under the MIT License. See the MIT.LICENSE file in this project for details
|
40
|
+
|
41
|
+
### Links & More Info ###
|
42
|
+
|
43
|
+
[SeleniumHQ](http://seleniumhq.org/)
|
44
|
+
|
45
|
+
[Selenium Project on Google Code](http://code.google.com/p/selenium/)
|
46
|
+
|
47
|
+
[Pivotal Labs](http://pivotallabs.com)
|
48
|
+
|
49
|
+
Copyright (c) 2010-2011 Pivotal Labs. This software is licensed under the MIT License.
|
data/RELEASING
CHANGED
@@ -1,14 +1,7 @@
|
|
1
|
-
|
2
|
-
The full README is located at http://github.com/djanowski/joe,
|
3
|
-
but if you're in a rush this is the list of things to do:
|
1
|
+
this is the list of things to do:
|
4
2
|
|
5
|
-
$
|
6
|
-
|
7
|
-
$
|
8
|
-
|
9
|
-
$
|
10
|
-
$ thor install http://dimaion.com/joe/joe.thor
|
11
|
-
|
12
|
-
And finally,
|
13
|
-
|
14
|
-
$ thor joe:release
|
3
|
+
$ bundle install #=> Get yer dependencies
|
4
|
+
* edit Thorfile with the path to the latest Selenium Jar
|
5
|
+
$ thor joe:download #=> downloads the latest Selenium Jar file
|
6
|
+
$ rake #=> make sure they're green
|
7
|
+
$ gem build selenium-rc.gemspec
|
data/Rakefile
CHANGED
@@ -1,9 +1,5 @@
|
|
1
|
-
require "
|
2
|
-
require "
|
1
|
+
require "rspec"
|
2
|
+
require "rspec/core/rake_task"
|
3
3
|
|
4
|
+
RSpec::Core::RakeTask.new(:spec)
|
4
5
|
task :default => :spec
|
5
|
-
|
6
|
-
desc "Run all examples"
|
7
|
-
Spec::Rake::SpecTask.new("spec") do |t|
|
8
|
-
t.spec_files = FileList["spec/**/*_spec.rb"]
|
9
|
-
end
|
data/Thorfile
CHANGED
@@ -1,13 +1,9 @@
|
|
1
1
|
require "zip/zip"
|
2
2
|
|
3
3
|
class Joe < Thor
|
4
|
-
desc "
|
5
|
-
def
|
6
|
-
|
7
|
-
end
|
8
|
-
|
9
|
-
def fetch_jar
|
10
|
-
url = "http://selenium.googlecode.com/files/selenium-server-standalone-2.0a4.jar"
|
4
|
+
desc "download", "download the Selenium jar file from Google Code repository"
|
5
|
+
def download
|
6
|
+
url = "http://selenium.googlecode.com/files/selenium-server-standalone-2.0b1.jar"
|
11
7
|
file = File.join("tmp", File.basename(url))
|
12
8
|
|
13
9
|
FileUtils.mkdir_p("tmp")
|
data/VERSION.yml
CHANGED
data/bin/selenium-rc
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
|
3
|
-
require File.expand_path(File.join(File.dirname(__FILE__), "..", "lib", "
|
3
|
+
require File.expand_path(File.join(File.dirname(__FILE__), "..", "lib", "selenium-rc"))
|
4
4
|
|
5
5
|
SeleniumRC::Server.boot(
|
6
6
|
ENV["SELENIUM_SERVER_HOST"] || "0.0.0.0",
|
data/lib/selenium-rc.rb
ADDED
data/lib/selenium_rc.rb
CHANGED
@@ -1,4 +1,2 @@
|
|
1
|
-
|
2
|
-
require
|
3
|
-
require "#{dir}/selenium_rc/server"
|
4
|
-
require "net/http"
|
1
|
+
warn '[DEPRECATION] the library for selenium-rc has been changed to \'selenium-rc.rb\' instead of \'selenium_rc.rb\'. Please update your `require` statements, or use Bundler to automatically require the correct library.'
|
2
|
+
require 'selenium-rc'
|
data/lib/selenium_rc/server.rb
CHANGED
@@ -6,36 +6,38 @@ module SeleniumRC
|
|
6
6
|
attr_accessor :args
|
7
7
|
attr_accessor :timeout
|
8
8
|
|
9
|
-
|
10
|
-
|
9
|
+
class << self
|
10
|
+
def boot(*args)
|
11
|
+
new(*args).boot
|
12
|
+
end
|
13
|
+
|
14
|
+
def jar_path
|
15
|
+
File.expand_path("#{File.dirname(__FILE__)}/../../vendor/selenium-server.jar")
|
16
|
+
end
|
11
17
|
end
|
12
18
|
|
13
19
|
def initialize(host, port = nil, options = {})
|
14
20
|
@host = host
|
15
21
|
@port = port || 4444
|
16
22
|
@args = options[:args] || []
|
17
|
-
@timeout = options[:timeout]
|
23
|
+
@timeout = options[:timeout] || 60
|
18
24
|
end
|
19
25
|
|
20
26
|
def boot
|
21
27
|
start
|
22
28
|
wait
|
23
|
-
|
29
|
+
at_exit { stop }
|
24
30
|
self
|
25
31
|
end
|
26
32
|
|
27
|
-
def log(string)
|
28
|
-
puts string
|
29
|
-
end
|
30
|
-
|
31
33
|
def start
|
32
|
-
command = "java -jar \"#{jar_path}\""
|
34
|
+
command = "java -jar \"#{self.class.jar_path}\""
|
33
35
|
command << " -port #{port}"
|
34
36
|
command << " #{args.join(' ')}" unless args.empty?
|
35
|
-
log "Running: #{command}"
|
36
37
|
begin
|
37
38
|
fork do
|
38
39
|
system(command)
|
40
|
+
at_exit { exit!(0) }
|
39
41
|
end
|
40
42
|
rescue NotImplementedError
|
41
43
|
Thread.start do
|
@@ -44,58 +46,49 @@ module SeleniumRC
|
|
44
46
|
end
|
45
47
|
end
|
46
48
|
|
47
|
-
def stop_at_exit
|
48
|
-
at_exit do
|
49
|
-
stop
|
50
|
-
end
|
51
|
-
end
|
52
|
-
|
53
|
-
def jar_path
|
54
|
-
File.expand_path("#{File.dirname(__FILE__)}/../../vendor/selenium-server.jar")
|
55
|
-
end
|
56
|
-
|
57
49
|
def wait
|
58
|
-
$stderr.print "==> Waiting for Selenium
|
50
|
+
$stderr.print "==> Waiting for Selenium Server on port #{port}... "
|
59
51
|
wait_for_service_with_timeout
|
60
52
|
$stderr.print "Ready!\n"
|
61
|
-
rescue
|
53
|
+
rescue ServerNotStarted
|
62
54
|
fail
|
63
55
|
end
|
64
56
|
|
65
57
|
def fail
|
66
58
|
$stderr.puts
|
67
59
|
$stderr.puts
|
68
|
-
$stderr.puts "==> Failed to boot the Selenium
|
60
|
+
$stderr.puts "==> Failed to boot the Selenium Server... exiting!"
|
69
61
|
exit
|
70
62
|
end
|
71
63
|
|
72
64
|
def stop
|
73
|
-
|
65
|
+
selenium_command('shutDownSeleniumServer')
|
74
66
|
end
|
75
67
|
|
76
|
-
def
|
68
|
+
def ready?
|
77
69
|
begin
|
78
|
-
|
79
|
-
|
80
|
-
true
|
81
|
-
rescue Errno::ECONNREFUSED,
|
82
|
-
Errno::EBADF, # Windows
|
83
|
-
Errno::EADDRNOTAVAIL # Windows
|
70
|
+
selenium_command('testComplete') == 'OK'
|
71
|
+
rescue Errno::ECONNRESET, Errno::ECONNREFUSED, Errno::EPIPE, Net::HTTPBadResponse
|
84
72
|
false
|
85
73
|
end
|
86
74
|
end
|
87
75
|
|
88
76
|
protected
|
77
|
+
|
78
|
+
def selenium_command(command)
|
79
|
+
Net::HTTP.get(host, "/selenium-server/driver/?cmd=#{command}", port)
|
80
|
+
end
|
81
|
+
|
89
82
|
def wait_for_service_with_timeout
|
90
83
|
start_time = Time.now
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
if timeout && (Time.now > (start_time + timeout))
|
95
|
-
raise SocketError.new("Socket did not open within #{timeout} seconds")
|
84
|
+
until ready?
|
85
|
+
if @timeout && (Time.now > (start_time + @timeout))
|
86
|
+
raise ServerNotStarted.new("Selenium Server was not ready for connections after #{@timeout} seconds")
|
96
87
|
end
|
97
88
|
end
|
98
89
|
end
|
99
90
|
end
|
100
91
|
|
92
|
+
class ServerNotStarted < Exception
|
93
|
+
end
|
101
94
|
end
|
data/selenium-rc.gemspec
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
|
3
|
+
Gem::Specification.new do |s|
|
4
|
+
s.name = %q{selenium-rc}
|
5
|
+
s.version = "2.3.0"
|
6
|
+
s.platform = Gem::Platform::RUBY
|
7
|
+
|
8
|
+
s.description = %q{The Selenium Server packaged as a gem}
|
9
|
+
s.summary = %q{The Selenium Server packaged as a gem}
|
10
|
+
s.authors = ["Pivotal Labs, Inc.", "Nate Clark", "Brian Takita", "Chad Woolley", "Matthew Kocher"]
|
11
|
+
s.email = %q{pivotallabsopensource@googlegroups.com}
|
12
|
+
s.homepage = %q{http://github.com/pivotal/selenium-rc}
|
13
|
+
|
14
|
+
s.rdoc_options = ["--charset=UTF-8"]
|
15
|
+
s.extra_rdoc_files = ["README.markdown"]
|
16
|
+
|
17
|
+
s.files = `git ls-files`.split("\n").unshift('vendor/selenium-server.jar')
|
18
|
+
s.executables = %w{selenium-rc}
|
19
|
+
s.default_executable = %q{selenium-rc}
|
20
|
+
s.test_files = `git ls-files -- spec/*`.split("\n")
|
21
|
+
s.require_paths = %w{lib}
|
22
|
+
|
23
|
+
s.add_dependency "selenium-client", ">= 1.2.18"
|
24
|
+
s.add_development_dependency 'rspec', '>= 2.5.0'
|
25
|
+
s.add_development_dependency 'rr'
|
26
|
+
s.add_development_dependency 'thor'
|
27
|
+
s.add_development_dependency 'lsof'
|
28
|
+
s.add_development_dependency 'rubyzip'
|
29
|
+
s.add_development_dependency 'gem-release'
|
30
|
+
end
|
@@ -1,12 +1,10 @@
|
|
1
|
-
require
|
1
|
+
require 'spec_helper'
|
2
2
|
|
3
3
|
describe "bin/selenium-rc" do
|
4
|
-
|
4
|
+
let(:root_dir) { File.expand_path("#{File.dirname(__FILE__)}/..") }
|
5
5
|
before do
|
6
|
-
dir = File.dirname(__FILE__)
|
7
|
-
@root_dir = File.expand_path("#{dir}/..")
|
8
6
|
unless File.exists?("#{root_dir}/vendor/selenium-server.jar")
|
9
|
-
raise "vendor/selenium-server.jar does not exist. Try running `
|
7
|
+
raise "vendor/selenium-server.jar does not exist. Try running `thor joe:download` to install the jar file."
|
10
8
|
end
|
11
9
|
end
|
12
10
|
|
@@ -20,18 +18,18 @@ describe "bin/selenium-rc" do
|
|
20
18
|
|
21
19
|
server = SeleniumRC::Server.new("0.0.0.0")
|
22
20
|
|
23
|
-
timeout {server.
|
21
|
+
timeout { server.ready? }
|
24
22
|
thread.kill
|
25
23
|
Lsof.kill(4444)
|
26
|
-
timeout {!server.
|
24
|
+
timeout { !server.ready? }
|
27
25
|
end
|
28
26
|
|
29
27
|
def timeout
|
30
28
|
start_time = Time.now
|
31
|
-
|
29
|
+
timeout = 15
|
32
30
|
until yield
|
33
|
-
if Time.now > (start_time +
|
34
|
-
raise
|
31
|
+
if Time.now > (start_time + timeout)
|
32
|
+
raise SeleniumRC::ServerNotStarted.new("Selenium Server was not ready for connections after #{timeout} seconds")
|
35
33
|
end
|
36
34
|
end
|
37
35
|
end
|
@@ -1,33 +1,52 @@
|
|
1
|
-
require
|
1
|
+
require 'spec_helper'
|
2
2
|
|
3
|
-
|
4
|
-
describe Server do
|
3
|
+
describe SeleniumRC::Server do
|
5
4
|
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
5
|
+
def new_server(*args)
|
6
|
+
server = SeleniumRC::Server.new(*args)
|
7
|
+
stub(server).log
|
8
|
+
stub(server).fork.yields
|
9
|
+
server
|
10
|
+
end
|
11
|
+
|
12
|
+
describe ".boot" do
|
13
|
+
let(:server) { new_server('localhost', 5555, {:timeout => 1}) }
|
14
|
+
|
15
|
+
before do
|
16
|
+
mock(server).start { true }
|
11
17
|
end
|
12
18
|
|
13
|
-
|
14
|
-
it "
|
15
|
-
|
19
|
+
context "when the selenium server starts successfully" do
|
20
|
+
it "returns an instance of the server" do
|
21
|
+
mock(server).ready? { true }
|
22
|
+
server.boot.should == server
|
23
|
+
end
|
24
|
+
end
|
16
25
|
|
17
|
-
|
18
|
-
|
19
|
-
mock(
|
20
|
-
|
26
|
+
context "when the selenium server fails to start" do
|
27
|
+
it "raises an exception after 60 seconds" do
|
28
|
+
mock(server).ready?.any_number_of_times { false }
|
29
|
+
expect { server.boot.should }.to raise_error(SystemExit)
|
21
30
|
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
describe "#start" do
|
35
|
+
it "launches java with the jar file and port" do
|
36
|
+
server = new_server("0.0.0.0", 5555)
|
37
|
+
expected_command = %Q{java -jar "/path/to/the.jar" -port 5555}
|
38
|
+
mock(server).system(expected_command)
|
39
|
+
mock(SeleniumRC::Server).jar_path {"/path/to/the.jar"}
|
40
|
+
server.start
|
41
|
+
end
|
22
42
|
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
end
|
43
|
+
context "when passed additional arguments" do
|
44
|
+
it "adds the additional arguments to the selenium start command" do
|
45
|
+
server = new_server("0.0.0.0", 4444, :args => ["-browserSideLog", "-suppressStupidness"])
|
46
|
+
expected_command = %Q{java -jar "/path/to/the.jar" -port 4444 -browserSideLog -suppressStupidness}
|
47
|
+
mock(server).system(expected_command)
|
48
|
+
mock(SeleniumRC::Server).jar_path {"/path/to/the.jar"}
|
49
|
+
server.start
|
31
50
|
end
|
32
51
|
end
|
33
52
|
end
|
data/spec/spec_helper.rb
CHANGED
@@ -1,16 +1,6 @@
|
|
1
|
-
require
|
2
|
-
require
|
3
|
-
require "spec/autorun"
|
4
|
-
require "fileutils"
|
5
|
-
require "timeout"
|
6
|
-
require "tcp_socket_extension"
|
7
|
-
require "rr"
|
8
|
-
require "lsof"
|
1
|
+
require 'bundler'
|
2
|
+
Bundler.require(:default, :development, :test)
|
9
3
|
|
10
|
-
|
11
|
-
$:.unshift(File.expand_path("#{dir}/../lib"))
|
12
|
-
require "selenium_rc"
|
13
|
-
|
14
|
-
Spec::Runner.configure do |config|
|
4
|
+
RSpec.configure do |config|
|
15
5
|
config.mock_with :rr
|
16
6
|
end
|
data/vendor/selenium-server.jar
CHANGED
Binary file
|
metadata
CHANGED
@@ -4,12 +4,12 @@ version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease: false
|
5
5
|
segments:
|
6
6
|
- 2
|
7
|
-
-
|
8
|
-
-
|
9
|
-
version: 2.
|
7
|
+
- 3
|
8
|
+
- 0
|
9
|
+
version: 2.3.0
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
|
-
- Pivotal Labs
|
12
|
+
- Pivotal Labs, Inc.
|
13
13
|
- Nate Clark
|
14
14
|
- Brian Takita
|
15
15
|
- Chad Woolley
|
@@ -18,13 +18,14 @@ autorequire:
|
|
18
18
|
bindir: bin
|
19
19
|
cert_chain: []
|
20
20
|
|
21
|
-
date:
|
22
|
-
default_executable:
|
21
|
+
date: 2011-02-16 00:00:00 +08:00
|
22
|
+
default_executable: selenium-rc
|
23
23
|
dependencies:
|
24
24
|
- !ruby/object:Gem::Dependency
|
25
25
|
name: selenium-client
|
26
26
|
prerelease: false
|
27
27
|
requirement: &id001 !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
28
29
|
requirements:
|
29
30
|
- - ">="
|
30
31
|
- !ruby/object:Gem::Version
|
@@ -35,7 +36,87 @@ dependencies:
|
|
35
36
|
version: 1.2.18
|
36
37
|
type: :runtime
|
37
38
|
version_requirements: *id001
|
38
|
-
|
39
|
+
- !ruby/object:Gem::Dependency
|
40
|
+
name: rspec
|
41
|
+
prerelease: false
|
42
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
43
|
+
none: false
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
segments:
|
48
|
+
- 2
|
49
|
+
- 5
|
50
|
+
- 0
|
51
|
+
version: 2.5.0
|
52
|
+
type: :development
|
53
|
+
version_requirements: *id002
|
54
|
+
- !ruby/object:Gem::Dependency
|
55
|
+
name: rr
|
56
|
+
prerelease: false
|
57
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
58
|
+
none: false
|
59
|
+
requirements:
|
60
|
+
- - ">="
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
segments:
|
63
|
+
- 0
|
64
|
+
version: "0"
|
65
|
+
type: :development
|
66
|
+
version_requirements: *id003
|
67
|
+
- !ruby/object:Gem::Dependency
|
68
|
+
name: thor
|
69
|
+
prerelease: false
|
70
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
71
|
+
none: false
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
segments:
|
76
|
+
- 0
|
77
|
+
version: "0"
|
78
|
+
type: :development
|
79
|
+
version_requirements: *id004
|
80
|
+
- !ruby/object:Gem::Dependency
|
81
|
+
name: lsof
|
82
|
+
prerelease: false
|
83
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
84
|
+
none: false
|
85
|
+
requirements:
|
86
|
+
- - ">="
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
segments:
|
89
|
+
- 0
|
90
|
+
version: "0"
|
91
|
+
type: :development
|
92
|
+
version_requirements: *id005
|
93
|
+
- !ruby/object:Gem::Dependency
|
94
|
+
name: rubyzip
|
95
|
+
prerelease: false
|
96
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
98
|
+
requirements:
|
99
|
+
- - ">="
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
segments:
|
102
|
+
- 0
|
103
|
+
version: "0"
|
104
|
+
type: :development
|
105
|
+
version_requirements: *id006
|
106
|
+
- !ruby/object:Gem::Dependency
|
107
|
+
name: gem-release
|
108
|
+
prerelease: false
|
109
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
110
|
+
none: false
|
111
|
+
requirements:
|
112
|
+
- - ">="
|
113
|
+
- !ruby/object:Gem::Version
|
114
|
+
segments:
|
115
|
+
- 0
|
116
|
+
version: "0"
|
117
|
+
type: :development
|
118
|
+
version_requirements: *id007
|
119
|
+
description: The Selenium Server packaged as a gem
|
39
120
|
email: pivotallabsopensource@googlegroups.com
|
40
121
|
executables:
|
41
122
|
- selenium-rc
|
@@ -44,21 +125,26 @@ extensions: []
|
|
44
125
|
extra_rdoc_files:
|
45
126
|
- README.markdown
|
46
127
|
files:
|
47
|
-
-
|
48
|
-
-
|
128
|
+
- vendor/selenium-server.jar
|
129
|
+
- .gitignore
|
130
|
+
- CHANGES
|
131
|
+
- Gemfile
|
132
|
+
- Gemfile.lock
|
133
|
+
- MIT.LICENSE
|
49
134
|
- README.markdown
|
50
135
|
- RELEASING
|
51
|
-
-
|
136
|
+
- Rakefile
|
137
|
+
- Thorfile
|
52
138
|
- VERSION.yml
|
53
139
|
- bin/selenium-rc
|
54
|
-
- lib/
|
140
|
+
- lib/selenium-rc.rb
|
55
141
|
- lib/selenium_rc.rb
|
56
|
-
-
|
57
|
-
-
|
142
|
+
- lib/selenium_rc/server.rb
|
143
|
+
- selenium-rc.gemspec
|
58
144
|
- spec/bin_selenium_rc_spec.rb
|
145
|
+
- spec/selenium_rc/server_spec.rb
|
59
146
|
- spec/spec_helper.rb
|
60
147
|
- vendor/empty.txt
|
61
|
-
- vendor/selenium-server.jar
|
62
148
|
has_rdoc: true
|
63
149
|
homepage: http://github.com/pivotal/selenium-rc
|
64
150
|
licenses: []
|
@@ -69,6 +155,7 @@ rdoc_options:
|
|
69
155
|
require_paths:
|
70
156
|
- lib
|
71
157
|
required_ruby_version: !ruby/object:Gem::Requirement
|
158
|
+
none: false
|
72
159
|
requirements:
|
73
160
|
- - ">="
|
74
161
|
- !ruby/object:Gem::Version
|
@@ -76,6 +163,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
76
163
|
- 0
|
77
164
|
version: "0"
|
78
165
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
166
|
+
none: false
|
79
167
|
requirements:
|
80
168
|
- - ">="
|
81
169
|
- !ruby/object:Gem::Version
|
@@ -85,12 +173,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
85
173
|
requirements: []
|
86
174
|
|
87
175
|
rubyforge_project:
|
88
|
-
rubygems_version: 1.3.
|
176
|
+
rubygems_version: 1.3.7
|
89
177
|
signing_key:
|
90
178
|
specification_version: 3
|
91
|
-
summary: The Selenium
|
179
|
+
summary: The Selenium Server packaged as a gem
|
92
180
|
test_files:
|
93
181
|
- spec/bin_selenium_rc_spec.rb
|
94
182
|
- spec/selenium_rc/server_spec.rb
|
95
183
|
- spec/spec_helper.rb
|
96
|
-
- spec/spec_suite.rb
|
data/spec/spec_suite.rb
DELETED