aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/Rakefile
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-01-10 23:09:51 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-01-10 23:09:51 +0000
commita133f3e64f927780d4eac062ba996dffc174431a (patch)
tree9988538b383a105b25231ac0d7e4be72b2bf3a49 /activerecord/Rakefile
parent903dcefbaff8cf3a0e9db61048aebd9e753835ea (diff)
downloadrails-a133f3e64f927780d4eac062ba996dffc174431a.tar.gz
rails-a133f3e64f927780d4eac062ba996dffc174431a.tar.bz2
rails-a133f3e64f927780d4eac062ba996dffc174431a.zip
Added SQLite3 compatibility through the sqlite3-ruby adapter by Jamis Buck #381 [bitsweat]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@374 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/Rakefile')
-rwxr-xr-xactiverecord/Rakefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/activerecord/Rakefile b/activerecord/Rakefile
index d5a2fbfada..5edd39c0ad 100755
--- a/activerecord/Rakefile
+++ b/activerecord/Rakefile
@@ -19,7 +19,7 @@ PKG_FILES = FileList[
desc "Default Task"
-task :default => [ :test_ruby_mysql, :test_mysql_ruby, :test_sqlite, :test_postgresql ]
+task :default => [ :test_ruby_mysql, :test_mysql_ruby, :test_sqlite, :test_sqlite3, :test_postgresql ]
# Run the unit tests
@@ -47,6 +47,12 @@ Rake::TestTask.new("test_sqlite") { |t|
t.verbose = true
}
+Rake::TestTask.new("test_sqlite3") { |t|
+ t.libs << "test" << "test/connections/native_sqlite3"
+ t.pattern = 'test/*_test.rb'
+ t.verbose = true
+}
+
Rake::TestTask.new("test_sqlserver") { |t|
t.libs << "test" << "test/connections/native_sqlserver"
t.pattern = 'test/*_test.rb'
@@ -101,6 +107,9 @@ spec = Gem::Specification.new do |s|
s.files = s.files + Dir.glob( "#{dir}/**/*" ).delete_if { |item| item.include?( "\.svn" ) }
end
s.files.delete "test/fixtures/fixture_database.sqlite"
+ s.files.delete "test/fixtures/fixture_database_2.sqlite"
+ s.files.delete "test/fixtures/fixture_database.sqlite3"
+ s.files.delete "test/fixtures/fixture_database_2.sqlite3"
s.require_path = 'lib'
s.autorequire = 'active_record'