Permalink
Browse files

patch from Dr. Nic plus a little cleanup

adjust tests for new location of db files
  • Loading branch information...
1 parent 1315abc commit df36d1a1010ab6843e96100f9eff5ce744c6d589 @automatthew committed Aug 4, 2008
View
@@ -2,9 +2,7 @@ History.txt
Manifest.txt
README.txt
Rakefile
-db/.DS_Store
db/not_an_mdb.txt
-db/retreat.mdb
db/sample.mdb
irb.rc
lib/active_mdb.rb
View
@@ -12,6 +12,7 @@ Hoe.new('activemdb', ActiveMDB::VERSION) do |p|
p.description = p.paragraphs_of('README.txt', 2).join("\n\n")
p.url = 'http://activemdb.rubyforge.org/'
p.changes = p.paragraphs_of('History.txt', 0..1).join("\n\n")
+ p.extra_deps = [['fastercsv', '>=1.2.3']]
end
# vim: syntax=Ruby
View
@@ -12,6 +12,7 @@ module ActiveMDB
load 'active_mdb/record.rb'
load 'active_mdb/column.rb'
load 'active_mdb/base.rb'
+gem 'fastercsv'
require 'faster_csv'
Binary file not shown.
File renamed without changes.
File renamed without changes.
View
@@ -1,6 +1,6 @@
require 'test/unit'
- TEST_DB = File.join(File.dirname(__FILE__), '..', 'db', 'sample.mdb')
- NOT_A_DB = File.join(File.dirname(__FILE__), '..', 'db', 'not_an_mdb.txt')
+ TEST_DB = File.join(File.dirname(__FILE__), 'mdb_files', 'sample.mdb')
+ NOT_A_DB = File.join(File.dirname(__FILE__), 'mdb_files', 'not_an_mdb.txt')
class Test::Unit::TestCase

0 comments on commit df36d1a

Please sign in to comment.