selenium-launcher 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7373deb7866399a35a5d3d5e43380a98fe09d227
4
- data.tar.gz: 040ba4c40ca349e07c934dbcaa05b32f6e858d04
3
+ metadata.gz: 6a621ce6e69ae2e4694a7eada5f0a1435dd90fe0
4
+ data.tar.gz: 82b1f232fd9c4879f22292340b8998c0e34d5301
5
5
  SHA512:
6
- metadata.gz: b1b70c91cf6b4f62f93131c63f8f2afe72dc2a427687bd99b29b37b68ee45d2722079a8e3e3cb519a9a9800ed178f53ee4f8d791f73dbdc3ed85f6d71c2fc52e
7
- data.tar.gz: de702f74f10ace6278b3504c2376b3c41f7156827a2a0e6c669a9932a2678905e2fd78b65979c6b985fc2f87df87c188bedeb8486157a1e3905a95ce19c4ffff
6
+ metadata.gz: b5dd917650eabfc69b8c7ab0a115722ddfdf70014b62d204f2873702fe55ad7d78e843f677c37e63587a5462dada2be3f223a588814787f96eecad4c2d990e6a
7
+ data.tar.gz: ef147fd6ddeabc23dc0d71b431dc7f775d7f82a3c8fd967985a44812fdfd079304871e812a4d657f06d9b2b54106052ec1c7a0e0de69465c6af5727a5ac2e0f4
@@ -1,3 +1,3 @@
1
1
  module SeleniumLauncher
2
- VERSION = '0.4.0'
2
+ VERSION = '0.4.1'
3
3
  end
@@ -17,10 +17,10 @@ Gem::Specification.new do |spec|
17
17
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
18
18
  spec.require_paths = ['lib']
19
19
 
20
- spec.add_dependency 'selenium-webdriver', '~> 2.45.0'
21
- spec.add_development_dependency 'bundler', '~> 1.7'
22
- spec.add_development_dependency 'rake', '~> 10.0'
23
- spec.add_development_dependency 'rspec', '~> 3.1.0'
24
- spec.add_development_dependency 'guard-rspec', '~> 4.3.1'
25
- spec.add_development_dependency 'typhoeus', '~> 0.6.9'
20
+ spec.add_dependency 'selenium-webdriver', '~> 2.48.1'
21
+ spec.add_development_dependency 'bundler', '~> 1.10.6'
22
+ spec.add_development_dependency 'rake', '~> 10.4.2'
23
+ spec.add_development_dependency 'rspec', '~> 3.4.0'
24
+ spec.add_development_dependency 'guard-rspec', '~> 4.6.4'
25
+ spec.add_development_dependency 'typhoeus', '~> 0.8.0'
26
26
  end
@@ -1,5 +1,4 @@
1
1
  require_relative 'spec_helper'
2
- require_relative '../lib/selenium-launcher/launcher'
3
2
  require 'typhoeus'
4
3
 
5
4
  describe 'Launcher', :integration do
@@ -9,9 +8,10 @@ describe 'Launcher', :integration do
9
8
  end
10
9
 
11
10
  before(:all) do
12
- ENV['SE_HOST'] = 'remote'
13
- ENV['SE_HOST_URL'] = 'http://localhost:4444/wd/hub'
14
- @process_id = Process.spawn('java -jar spec/vendor/selenium-server-standalone-2.45.0.jar')
11
+ ENV['SE_HOST'] = 'remote'
12
+ ENV['SE_HOST_URL'] = 'http://localhost:4444/wd/hub'
13
+ @process_id = Process.spawn(
14
+ 'java -jar spec/vendor/selenium-server-standalone-2.48.2.jar -Dwebdriver.chrome.driver=spec/vendor/chromedriver')
15
15
  until selenium_server_up? do
16
16
  sleep 2
17
17
  end
@@ -1,4 +1,4 @@
1
- require_relative '../lib/selenium-launcher'
1
+ require_relative 'spec_helper'
2
2
 
3
3
  describe 'Selenium Launcher', :acceptance do
4
4
 
@@ -1,3 +1,5 @@
1
+ require_relative '../lib/selenium-launcher'
2
+
1
3
  module OS
2
4
  def OS.windows?
3
5
  (/cygwin|mswin|mingw|bccwin|wince|emx/ =~ RUBY_PLATFORM) != nil
@@ -17,3 +19,9 @@ module OS
17
19
  end
18
20
 
19
21
  include OS
22
+
23
+ RSpec.configure do |config|
24
+ config.before(:all) do
25
+ Selenium::WebDriver::Chrome::Service.executable_path = File.join(Dir.pwd, 'spec/vendor/chromedriver')
26
+ end
27
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: selenium-launcher
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dave Haeffner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-26 00:00:00.000000000 Z
11
+ date: 2015-11-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: selenium-webdriver
@@ -16,84 +16,84 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 2.45.0
19
+ version: 2.48.1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 2.45.0
26
+ version: 2.48.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '1.7'
33
+ version: 1.10.6
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '1.7'
40
+ version: 1.10.6
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '10.0'
47
+ version: 10.4.2
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '10.0'
54
+ version: 10.4.2
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rspec
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 3.1.0
61
+ version: 3.4.0
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 3.1.0
68
+ version: 3.4.0
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: guard-rspec
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 4.3.1
75
+ version: 4.6.4
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 4.3.1
82
+ version: 4.6.4
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: typhoeus
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: 0.6.9
89
+ version: 0.8.0
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: 0.6.9
96
+ version: 0.8.0
97
97
  description: A simple way to configure and launch a Selenium instance
98
98
  email:
99
99
  - dhaeffner@gmail.com
@@ -140,7 +140,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
140
140
  version: '0'
141
141
  requirements: []
142
142
  rubyforge_project:
143
- rubygems_version: 2.2.2
143
+ rubygems_version: 2.4.5
144
144
  signing_key:
145
145
  specification_version: 4
146
146
  summary: See README.txt