selenium-connect 3.1.0 → 3.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ #3.1.1 (2013-07-14)
2
+ fixed a bug with the job id for non sauce tests
3
+
4
+ - Bumped version to 3.1.1 to prepare for release.
5
+ - fixed bug with an unset job id for non sauce runs
6
+
1
7
  #3.1.0 (2013-07-14)
2
8
  return the log file names in the report object
3
9
 
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- #selenium-connect 3.1.0 (2013-07-14)
1
+ #selenium-connect 3.1.1 (2013-07-14)
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/selenium-connect.png)](http://badge.fury.io/rb/selenium-connect) [![Build Status](https://travis-ci.org/arrgyle/selenium-connect.png?branch=develop)](https://travis-ci.org/arrgyle/selenium-connect) [![Code Climate](https://codeclimate.com/github/arrgyle/selenium-connect.png)](https://codeclimate.com/github/arrgyle/selenium-connect) [![Coverage Status](https://coveralls.io/repos/arrgyle/selenium-connect/badge.png?branch=develop)](https://coveralls.io/r/arrgyle/selenium-connect?branch=develop)
4
4
 
@@ -22,7 +22,6 @@ class SeleniumConnect
22
22
 
23
23
  # TODO this could be refactored out into an options parser of sorts
24
24
  @config.description = opts[:name] if opts.has_key? :name
25
-
26
25
  @driver = Runner.new(@config).driver
27
26
  end
28
27
 
@@ -33,8 +32,8 @@ class SeleniumConnect
33
32
  begin
34
33
  @driver.quit
35
34
  data = {}
36
- job_id = @driver.session_id
37
35
  if @config.host == 'saucelabs'
36
+ job_id = @driver.session_id
38
37
  if opts.has_key?(:failed) && opts[:failed]
39
38
  fail_job job_id
40
39
  if opts.has_key?(:failshot) && opts[:failshot]
@@ -1,12 +1,12 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'selenium-connect'
3
- s.version = '3.1.0'
3
+ s.version = '3.1.1'
4
4
  s.platform = Gem::Platform::RUBY
5
5
  s.authors = ['Dave Haeffner', 'Jason Fox']
6
6
  s.email = ['dave@arrgyle.com', 'jason@arrgyle.com']
7
7
  s.homepage = 'https://github.com/arrgyle/selenium-connect'
8
8
  s.summary = 'A stupid simple way to run your Selenium tests on localhost, against a Selenium Grid, or in the cloud (e.g. SauceLabs).'
9
- s.description = 'return the log file names in the report object'
9
+ s.description = 'fixed a bug with the job id for non sauce tests'
10
10
  s.license = 'MIT'
11
11
 
12
12
  s.files = `git ls-files`.split($/)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: selenium-connect
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0
4
+ version: 3.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -156,7 +156,7 @@ dependencies:
156
156
  - - ~>
157
157
  - !ruby/object:Gem::Version
158
158
  version: 0.6.7
159
- description: return the log file names in the report object
159
+ description: fixed a bug with the job id for non sauce tests
160
160
  email:
161
161
  - dave@arrgyle.com
162
162
  - jason@arrgyle.com
@@ -235,7 +235,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
235
235
  version: '0'
236
236
  segments:
237
237
  - 0
238
- hash: 3213783370642047366
238
+ hash: 2548483383675753491
239
239
  requirements: []
240
240
  rubyforge_project:
241
241
  rubygems_version: 1.8.25