selenium-server 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- selenium-server (1.1.0)
4
+ selenium-server (1.1.1)
5
5
  rake
6
6
  selenium-webdriver
7
7
 
data/example.rb CHANGED
@@ -11,4 +11,6 @@ end
11
11
 
12
12
  @driver.get "http://www.google.com"
13
13
 
14
+ @driver.quit
15
+
14
16
  SeleniumServer.finish
@@ -9,7 +9,7 @@ module SeleniumServer
9
9
  @configuration = Configuration.new
10
10
  end
11
11
 
12
- attr_reader :driver, :server
12
+ attr_reader :server
13
13
 
14
14
  def localhost?
15
15
  case @configuration.host
@@ -23,12 +23,10 @@ module SeleniumServer
23
23
  @server = Server.new(@configuration)
24
24
  server.start
25
25
  end
26
- @driver = Runner.new(@configuration).driver
27
- return driver
26
+ Runner.new(@configuration).driver
28
27
  end
29
28
 
30
29
  def finish
31
- driver.quit
32
30
  if localhost? then server.stop end
33
31
  end
34
32
 
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'selenium-server'
3
- s.version = '1.1.1'
3
+ s.version = '1.1.2'
4
4
  s.platform = Gem::Platform::RUBY
5
5
  s.authors = ['Dave Haeffner']
6
6
  s.email = ['dave@arrgyle.com']
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: selenium-server
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: