Diff
Copied: tags/activerecord-jdbc-0.4 (from rev 614, trunk/activerecord-jdbc)
Deleted: tags/activerecord-jdbc-0.4/History.txt (614 => 616)
--- trunk/activerecord-jdbc/History.txt 2007-06-07 21:32:25 UTC (rev 614)
+++ tags/activerecord-jdbc-0.4/History.txt 2007-06-08 01:45:31 UTC (rev 616)
@@ -1,38 +0,0 @@
-== 0.3.2
-
-- Shoring up PostgreSQL and HSQL
-- Fix timestamps on Oracle to use DATE (as everything else)
-
-== 0.3.1
-
-* Derby critical fixes shortly after 0.3
-
-== 0.3
-
-* Release coincides with JRuby 1.0.0RC1 release
-* Improvements for Derby, Postgres, and Oracle, all of which are running
- > 95% of AR tests
-
-== 0.2.4
-
-* Release coincides with JRuby 0.9.9 release
-* JRuby 0.9.9 is required
-* MySQL close to 100% working
-* Derby improvements
-* DECIMAL/NUMERIC/FLOAT/REAL bugs fixed with type recognition for Oracle, Postgres, etc.
-* HSQLDB has regressed this release and may not be functioning; we'll get it fixed for the
- next one
-
-== 0.2.3
-
-* Release coincides (and compatible) with JRuby 0.9.8 release
-* 8 bugs fixed: see http://rubyurl.com/0Da
-* Improvements and compatibility fixes for Rails 1.2.x
-
-== 0.2.1, 0.2.2
-
-* Early releases, added better support for multiple databases
-
-== 0.0.1
-
-* Initial, very alpha release
\ No newline at end of file
Copied: tags/activerecord-jdbc-0.4/History.txt (from rev 615, trunk/activerecord-jdbc/History.txt) (0 => 616)
--- tags/activerecord-jdbc-0.4/History.txt (rev 0)
+++ tags/activerecord-jdbc-0.4/History.txt 2007-06-08 01:45:31 UTC (rev 616)
@@ -0,0 +1,41 @@
+== 0.4
+
+- Release coincides with JRuby 1.0 release
+- Shoring up PostgreSQL (courtesy Dudley Flanders) and HSQL (courtesy Matthew Williams)
+- Fix timestamps on Oracle to use DATE (as everything else)
+- Derby fixes: Fix for open result set issue, better structure dump, quoting, column type changing
+- Sybase type recognition fix (courtesy Dean Mao)
+
+== 0.3.1
+
+* Derby critical fixes shortly after 0.3
+
+== 0.3
+
+* Release coincides with JRuby 1.0.0RC1 release
+* Improvements for Derby, Postgres, and Oracle, all of which are running
+ > 95% of AR tests
+
+== 0.2.4
+
+* Release coincides with JRuby 0.9.9 release
+* JRuby 0.9.9 is required
+* MySQL close to 100% working
+* Derby improvements
+* DECIMAL/NUMERIC/FLOAT/REAL bugs fixed with type recognition for Oracle, Postgres, etc.
+* HSQLDB has regressed this release and may not be functioning; we'll get it fixed for the
+ next one
+
+== 0.2.3
+
+* Release coincides (and compatible) with JRuby 0.9.8 release
+* 8 bugs fixed: see http://rubyurl.com/0Da
+* Improvements and compatibility fixes for Rails 1.2.x
+
+== 0.2.1, 0.2.2
+
+* Early releases, added better support for multiple databases
+
+== 0.0.1
+
+* Initial, very alpha release
\ No newline at end of file
Deleted: tags/activerecord-jdbc-0.4/Rakefile (614 => 616)
--- trunk/activerecord-jdbc/Rakefile 2007-06-07 21:32:25 UTC (rev 614)
+++ tags/activerecord-jdbc-0.4/Rakefile 2007-06-08 01:45:31 UTC (rev 616)
@@ -1,99 +0,0 @@
-require 'rake'
-require 'rake/testtask'
-
-task :default => [:java_compile, :test]
-
-def java_classpath_arg # myriad of ways to discover JRuby classpath
- begin
- require 'java' # already running in a JRuby JVM
- jruby_cpath = Java::java.lang.System.getProperty('java.class.path')
- rescue LoadError
- end
- unless jruby_cpath
- jruby_cpath = ENV['JRUBY_PARENT_CLASSPATH'] || ENV['JRUBY_HOME'] &&
- FileList["#{ENV['JRUBY_HOME']}/lib/*.jar"].join(File::PATH_SEPARATOR)
- end
- cpath_arg = jruby_cpath ? "-cp #{jruby_cpath}" : ""
-end
-
-desc "Compile the native Java code."
-task :java_compile do
- mkdir_p "pkg/classes"
- sh "javac -target 1.4 -source 1.4 -d pkg/classes #{java_classpath_arg} #{FileList['src/java/**/*.java'].join(' ')}"
- sh "jar cf lib/jdbc_adapter_internal.jar -C pkg/classes/ ."
-end
-file "lib/jdbc_adapter_internal.jar" => :java_compile
-
-task :more_clean do
- rm_rf FileList['derby*']
- rm_rf FileList['test.db.*']
- rm_rf "test/reports"
- rm_f FileList['lib/*.jar']
-end
-
-task :clean => :more_clean
-
-task :filelist do
- puts FileList['pkg/**/*'].inspect
-end
-
-desc "Run AR-JDBC tests"
-if RUBY_PLATFORM =~ /java/
- # TODO: add more databases into the standard tests here.
- task :test => [:test_mysql, :test_derby, :test_hsqldb]
-else
- task :test => [:test_mysql]
-end
-
-Rake::TestTask.new(:test_mysql) do |t|
- t.test_files = FileList['test/mysql_*_test.rb']
- t.libs << 'test'
-end
-
-Rake::TestTask.new(:test_hsqldb) do |t|
- t.test_files = FileList['test/hsqldb_simple_test.rb']
- t.libs << 'test'
-end
-
-Rake::TestTask.new(:test_derby) do |t|
- t.test_files = FileList['test/derby_*_test.rb',
- 'test/activerecord/connection_adapters/type_conversion_test.rb']
- t.libs << 'test'
-end
-
-Rake::TestTask.new(:test_postgresql) do |t|
- t.test_files = FileList['test/postgres_*_test.rb']
- t.libs << 'test'
-end
-
-task :test_pgsql => [:test_postgresql]
-
-Rake::TestTask.new(:test_jndi) do |t|
- t.test_files = FileList['test/jndi_test.rb']
- t.libs << 'test'
-end
-
-begin
- MANIFEST = FileList["History.txt", "Manifest.txt", "README.txt",
- "Rakefile", "LICENSE", "lib/**/*.rb", "lib/jdbc_adapter_internal.jar", "test/**/*.rb", "lib/**/*.rake"]
-
- file "Manifest.txt" => :manifest
- task :manifest do
- File.open("Manifest.txt", "w") {|f| MANIFEST.each {|n| f << "#{n}\n"} }
- end
- Rake::Task['manifest'].invoke # Always regen manifest, so Hoe has up-to-date list of files
-
- require 'hoe'
- Hoe.new("ActiveRecord-JDBC", "0.3.2") do |p|
- p.rubyforge_name = "jruby-extras"
- p.url = ""
- p.author = "Nick Sieger, Ola Bini and JRuby contributors"
- p.email = "[EMAIL PROTECTED], [EMAIL PROTECTED]"
- p.summary = "JDBC adapter for ActiveRecord, for use within JRuby on Rails."
- p.changes = p.paragraphs_of('History.txt', 0..1).join("\n\n")
- p.description = p.paragraphs_of('README.txt', 0...1).join("\n\n")
- p.extra_deps.reject!{|d| d.first == "hoe"}
- end
-rescue LoadError
- puts "You really need Hoe installed to be able to package this gem"
-end
Copied: tags/activerecord-jdbc-0.4/Rakefile (from rev 615, trunk/activerecord-jdbc/Rakefile) (0 => 616)
--- tags/activerecord-jdbc-0.4/Rakefile (rev 0)
+++ tags/activerecord-jdbc-0.4/Rakefile 2007-06-08 01:45:31 UTC (rev 616)
@@ -0,0 +1,98 @@
+require 'rake'
+require 'rake/testtask'
+
+task :default => [:java_compile, :test]
+
+def java_classpath_arg # myriad of ways to discover JRuby classpath
+ begin
+ require 'java' # already running in a JRuby JVM
+ jruby_cpath = Java::java.lang.System.getProperty('java.class.path')
+ rescue LoadError
+ end
+ unless jruby_cpath
+ jruby_cpath = ENV['JRUBY_PARENT_CLASSPATH'] || ENV['JRUBY_HOME'] &&
+ FileList["#{ENV['JRUBY_HOME']}/lib/*.jar"].join(File::PATH_SEPARATOR)
+ end
+ cpath_arg = jruby_cpath ? "-cp #{jruby_cpath}" : ""
+end
+
+desc "Compile the native Java code."
+task :java_compile do
+ mkdir_p "pkg/classes"
+ sh "javac -target 1.4 -source 1.4 -d pkg/classes #{java_classpath_arg} #{FileList['src/java/**/*.java'].join(' ')}"
+ sh "jar cf lib/jdbc_adapter_internal.jar -C pkg/classes/ ."
+end
+file "lib/jdbc_adapter_internal.jar" => :java_compile
+
+task :more_clean do
+ rm_rf FileList['derby*']
+ rm_rf FileList['test.db.*']
+ rm_rf "test/reports"
+ rm_f FileList['lib/*.jar']
+end
+
+task :clean => :more_clean
+
+task :filelist do
+ puts FileList['pkg/**/*'].inspect
+end
+
+desc "Run AR-JDBC tests"
+if RUBY_PLATFORM =~ /java/
+ # TODO: add more databases into the standard tests here.
+ task :test => [:test_mysql, :test_derby, :test_hsqldb]
+else
+ task :test => [:test_mysql]
+end
+
+Rake::TestTask.new(:test_mysql) do |t|
+ t.test_files = FileList['test/mysql_*_test.rb']
+ t.libs << 'test'
+end
+
+Rake::TestTask.new(:test_hsqldb) do |t|
+ t.test_files = FileList['test/hsqldb_simple_test.rb']
+ t.libs << 'test'
+end
+
+Rake::TestTask.new(:test_derby) do |t|
+ t.test_files = FileList['test/derby_*_test.rb',
+ 'test/activerecord/connection_adapters/type_conversion_test.rb']
+ t.libs << 'test'
+end
+
+Rake::TestTask.new(:test_postgresql) do |t|
+ t.test_files = FileList['test/postgres_*_test.rb']
+ t.libs << 'test'
+end
+
+task :test_pgsql => [:test_postgresql]
+
+Rake::TestTask.new(:test_jndi) do |t|
+ t.test_files = FileList['test/jndi_test.rb']
+ t.libs << 'test'
+end
+
+begin
+ MANIFEST = FileList["History.txt", "Manifest.txt", "README.txt",
+ "Rakefile", "LICENSE", "lib/**/*.rb", "lib/jdbc_adapter_internal.jar", "test/**/*.rb", "lib/**/*.rake"]
+
+ file "Manifest.txt" => :manifest
+ task :manifest do
+ File.open("Manifest.txt", "w") {|f| MANIFEST.each {|n| f << "#{n}\n"} }
+ end
+ Rake::Task['manifest'].invoke # Always regen manifest, so Hoe has up-to-date list of files
+
+ require 'hoe'
+ Hoe.new("ActiveRecord-JDBC", "0.4") do |p|
+ p.rubyforge_name = "jruby-extras"
+ p.url = ""
+ p.author = "Nick Sieger, Ola Bini and JRuby contributors"
+ p.email = "[EMAIL PROTECTED], [EMAIL PROTECTED]"
+ p.summary = "JDBC adapter for ActiveRecord, for use within JRuby on Rails."
+ p.changes = p.paragraphs_of('History.txt', 0..1).join("\n\n")
+ p.description = p.paragraphs_of('README.txt', 0...1).join("\n\n")
+ end.spec.dependencies.delete_if { |dep| dep.name == "hoe" }
+rescue LoadError
+ puts "You really need Hoe installed to be able to package this gem"
+end