watir 4.0.1 → 4.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -49,7 +49,7 @@ module Watir
49
49
  end
50
50
 
51
51
  def driver
52
- @driver || ENV["WATIR_DRIVER"] || default_driver
52
+ @driver || (ENV["WATIR_DRIVER"] && ENV["WATIR_DRIVER"].to_sym) || default_driver
53
53
  end
54
54
 
55
55
  def driver=(driver)
@@ -1,3 +1,3 @@
1
1
  module Watir
2
- BUNDLE_VERSION = '4.0.1'
2
+ BUNDLE_VERSION = '4.0.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: watir
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.1
4
+ version: 4.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-10-21 00:00:00.000000000 Z
12
+ date: 2012-10-31 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: commonwatir