watir 4.0.0.rc5 → 4.0.0.rc6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/Rakefile +13 -5
  2. data/lib/watir/version.rb +1 -1
  3. data/watir.gemspec +1 -1
  4. metadata +1 -1
data/Rakefile CHANGED
@@ -3,9 +3,11 @@ $LOAD_PATH.unshift File.expand_path("../lib", __FILE__)
3
3
  require 'bundler'
4
4
  Bundler::GemHelper.install_tasks
5
5
 
6
+ task :default => "build:all"
7
+
6
8
  namespace :build do
7
- desc "Build for all platforms."
8
- task :all => :build do
9
+ desc "Build for Windows platform."
10
+ task :win => :build do
9
11
  begin
10
12
  ENV["build_for_windows"] = "true"
11
13
  Rake::Task["build"].reenable
@@ -14,11 +16,17 @@ namespace :build do
14
16
  ENV["build_for_windows"] = nil
15
17
  end
16
18
  end
19
+
20
+ desc "Build for all platforms."
21
+ task :all => [:build, "build:win"]
17
22
  end
18
23
 
19
24
  namespace :release do
20
- desc "Release for all platforms."
21
- task :all => :release do
22
- sh "gem push pkg/#{Dir["pkg/*mingw32.gem"].first}"
25
+ desc "Release for Windows platform."
26
+ task :win => "build:win" do
27
+ sh "gem push #{Dir["pkg/*mingw32.gem"].sort_by{|f| File.mtime(f)}.last}"
23
28
  end
29
+
30
+ desc "Release for all platforms."
31
+ task :all => [:release, "release:win"]
24
32
  end
data/lib/watir/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Watir
2
- BUNDLE_VERSION = '4.0.0.rc5'
2
+ BUNDLE_VERSION = '4.0.0.rc6'
3
3
  end
data/watir.gemspec CHANGED
@@ -20,6 +20,6 @@ Gem::Specification.new do |s|
20
20
 
21
21
  if ENV["build_for_windows"]
22
22
  s.platform = Gem::Platform::MINGW
23
- s.add_dependency "watir-classic", "~> 3.1"
23
+ s.add_dependency "watir-classic", "~> 3.2"
24
24
  end
25
25
  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.rc5
4
+ version: 4.0.0.rc6
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors: