Permalink
Browse files

Merge branch 'master' of gitproxy:carlosbrando/remarkable

  • Loading branch information...
2 parents 1c81305 + c3f413f commit 00bb8e05645aecb0a3aca380bca0be9fc2cf7002 @josevalim josevalim committed Aug 25, 2009
View
@@ -47,6 +47,11 @@ unique_tasks :clobber_package
recursive_tasks :clobber_rdoc, :gem, :gemspec, :install, :package, :pre_commit,
:rdoc, :repackage, :rerdoc, :spec, :uninstall
+desc "Default Task"
+task :default do
+ Rake::Task[:spec].execute
+end
+
desc "Publish release files to RubyForge"
task :release => :package do
require 'rubyforge'
@@ -18,7 +18,7 @@ end
########### Specs
-RAILS_VERSIONS = ['2.1.2', '2.2.2', '2.3.2']
+RAILS_VERSIONS = ['2.1.2', '2.2.2', '2.3.2', '2.3.3']
desc "Run the specs under spec with supported Rails versions"
task :pre_commit do
@@ -1,6 +1,6 @@
require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
-if RAILS_VERSION == '2.3.2'
+if RAILS_VERSION == '2.3.3'
describe 'accept_nested_attributes_for' do
include ModelBuilder
@@ -1,6 +1,6 @@
require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
-if RAILS_VERSION == '2.3.2'
+if RAILS_VERSION == '2.3.3'
describe 'have_default_scope' do
include ModelBuilder
@@ -1,7 +1,7 @@
# encoding: utf-8
require 'rubygems'
-RAILS_VERSION = ENV['RAILS_VERSION'] || '2.3.2'
+RAILS_VERSION = ENV['RAILS_VERSION'] || '2.3.3'
gem 'activesupport', RAILS_VERSION
require 'active_support'
@@ -20,7 +20,7 @@ end
########### Specs
-RAILS_VERSIONS = ['2.1.2', '2.2.2', '2.3.2']
+RAILS_VERSIONS = ['2.1.2', '2.2.2', '2.3.2', '2.3.3']
desc "Run the specs under spec with supported Rails versions"
task :pre_commit do
@@ -1,7 +1,7 @@
require 'rubygems'
RAILS_ENV = 'test'
-RAILS_VERSION = ENV['RAILS_VERSION'] || '2.3.2'
+RAILS_VERSION = ENV['RAILS_VERSION'] || '2.3.3'
# Load Rails
gem 'activesupport', RAILS_VERSION

0 comments on commit 00bb8e0

Please sign in to comment.