Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

patch from Dr. Nic plus a little cleanup

adjust tests for new location of db files
  • Loading branch information...
commit df36d1a1010ab6843e96100f9eff5ce744c6d589 1 parent 1315abc
@automatthew authored
View
2  Manifest.txt
@@ -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
1  Rakefile
@@ -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
1  lib/active_mdb.rb
@@ -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'
View
BIN  test/mdb_files/multi_line.mdb
Binary file not shown
View
0  db/not_an_mdb.txt → test/mdb_files/not_an_mdb.txt
File renamed without changes
View
0  db/sample.mdb → test/mdb_files/sample.mdb
File renamed without changes
View
4 test/test_helper.rb
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.