watir 4.0.0.rc1 → 4.0.0.rc4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,2 +1 @@
1
- require File.expand_path('watir/version', File.dirname(__FILE__))
2
1
  require File.expand_path('watir/loader', File.dirname(__FILE__))
@@ -1,3 +1,5 @@
1
+ require File.expand_path('version', File.dirname(__FILE__))
2
+
1
3
  module Watir
2
4
  class Browser
3
5
  class << self
@@ -13,7 +15,7 @@ module Watir
13
15
  singleton_class.send :remove_method, :new
14
16
  end
15
17
 
16
- new browser, *args
18
+ new browser.nil? && Watir.driver == :webdriver ? :firefox : browser, *args
17
19
  end
18
20
  end
19
21
  end
@@ -1,3 +1,3 @@
1
1
  module Watir
2
- BUNDLE_VERSION = '4.0.0.rc1'
3
- end
2
+ BUNDLE_VERSION = '4.0.0.rc4'
3
+ end
@@ -14,5 +14,5 @@ Gem::Specification.new do |s|
14
14
  s.rubyforge_project = "watir"
15
15
  s.files = %x{git ls-files}.split("\n")
16
16
  s.require_paths = ["lib"]
17
- s.add_dependency "commonwatir", Watir::BUNDLE_VERSION
17
+ s.add_dependency "commonwatir", "~>4"
18
18
  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.0.rc1
4
+ version: 4.0.0.rc4
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -9,24 +9,24 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-09-17 00:00:00.000000000 Z
12
+ date: 2012-09-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: commonwatir
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
- - - '='
19
+ - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: 4.0.0.rc1
21
+ version: '4'
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  none: false
26
26
  requirements:
27
- - - '='
27
+ - - ~>
28
28
  - !ruby/object:Gem::Version
29
- version: 4.0.0.rc1
29
+ version: '4'
30
30
  description: Automated testing tool for web applications. By Testers. For Testers.
31
31
  email:
32
32
  - bret@pettichord.com