selenium-webdriver 3.0.2 → 3.0.3

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/CHANGES CHANGED
@@ -1,3 +1,9 @@
1
+ 3.0.3 (2016-11-26)
2
+ ===================
3
+
4
+ Ruby:
5
+ * Allow drivers to be executed from batch files on Windows
6
+
1
7
  3.0.2 (2016-11-25)
2
8
  ===================
3
9
 
@@ -140,7 +140,11 @@ module Selenium
140
140
 
141
141
  def find_binary(*binary_names)
142
142
  paths = ENV['PATH'].split(File::PATH_SEPARATOR)
143
- binary_names.map! { |n| "#{n}.exe" } if windows?
143
+
144
+ if windows?
145
+ binary_names.map! { |n| "#{n}.exe" }
146
+ binary_names.dup.each { |n| binary_names << n.gsub('exe', 'bat') }
147
+ end
144
148
 
145
149
  binary_names.each do |binary_name|
146
150
  paths.each do |path|
@@ -5,7 +5,7 @@ raise "cwd must be #{root} when reading gemspec" if root != Dir.pwd
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = 'selenium-webdriver'
8
- s.version = '3.0.2'
8
+ s.version = '3.0.3'
9
9
 
10
10
  s.authors = ['Alex Rodionov', 'Titus Fortner']
11
11
  s.email = ['p0deje@gmail.com', 'titusfortner@gmail.com']
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: selenium-webdriver
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 3.0.2
5
+ version: 3.0.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - Alex Rodionov
@@ -11,7 +11,7 @@ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
13
 
14
- date: 2016-11-25 00:00:00 -06:00
14
+ date: 2016-11-26 00:00:00 -06:00
15
15
  default_executable:
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency