summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2010-06-15 18:04:03 +0000
committerHans de Graaff <graaff@gentoo.org>2010-06-15 18:04:03 +0000
commit18e580ba65df1a12fecbac7d3fb404017b1bba41 (patch)
tree6b527504fa2772f43d109855257694010369d1a4 /dev-ruby/ruby-dbi/files
parentAdding shared libs, fix parallel build, fix install paths on multilib (diff)
downloadgentoo-2-18e580ba65df1a12fecbac7d3fb404017b1bba41.tar.gz
gentoo-2-18e580ba65df1a12fecbac7d3fb404017b1bba41.tar.bz2
gentoo-2-18e580ba65df1a12fecbac7d3fb404017b1bba41.zip
Version bump. Convert to ruby-ng. Make sure tests run.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/ruby-dbi/files')
-rw-r--r--dev-ruby/ruby-dbi/files/ruby-dbi-0.4.3-drivers-test.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/dev-ruby/ruby-dbi/files/ruby-dbi-0.4.3-drivers-test.patch b/dev-ruby/ruby-dbi/files/ruby-dbi-0.4.3-drivers-test.patch
new file mode 100644
index 000000000000..52d2ac04b249
--- /dev/null
+++ b/dev-ruby/ruby-dbi/files/ruby-dbi-0.4.3-drivers-test.patch
@@ -0,0 +1,23 @@
+Remove a test that will fail because we cannot garantuee that
+these drivers are installed, especially on first installation.
+--- test/dbi/tc_dbi.rb.orig 2010-06-15 19:58:58.732811127 +0200
++++ test/dbi/tc_dbi.rb 2010-06-15 19:59:10.004808935 +0200
+@@ -139,18 +139,6 @@
+ assert_respond_to(DBI, :connect)
+ end
+
+- def test_available_drivers
+- assert_respond_to(DBI, :available_drivers)
+- assert_equal(
+- [
+- "dbi:Mysql:",
+- "dbi:ODBC:",
+- "dbi:Pg:",
+- "dbi:SQLite3:",
+- "dbi:SQLite:"
+- ], DBI.available_drivers.sort)
+- end
+-
+ # PRIVATE METHODS
+ def test_parse_url
+ assert_nothing_raised{ DBI.send(:parse_url, "dbi:foo:bar") }