public
Description: DBF is a small fast Ruby library for reading dBase, xBase, Clipper and FoxPro database files
Homepage: http://dbf.rubyforge.org
Clone URL: git://github.com/infused/dbf.git
Click here to lend your support to: dbf and make a donation at www.pledgie.com !
dbf / Rakefile
100644 38 lines (31 sloc) 0.99 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
PROJECT_ROOT = File.expand_path(File.dirname(__FILE__))
$: << File.join(PROJECT_ROOT, 'lib')
 
require 'rubygems'
require 'jeweler'
require 'spec/rake/spectask'
require 'metric_fu'
 
Jeweler::Tasks.new do |s|
  s.name = 'dbf'
  s.version = '1.0.9'
  s.description = 'A small fast library for reading dBase, xBase, Clipper and FoxPro database files.'
  s.summary = 'Read xBase files'
  s.platform = Gem::Platform::RUBY
  s.authors = ['Keith Morrison']
  s.email = 'keithm@infused.org'
  s.add_dependency('activesupport', ['>= 2.1.0'])
  s.add_dependency('fastercsv', ['>= 1.4.0'])
  s.homepage = 'http://github.com/infused/dbf'
  s.rubyforge_project = 'dbf'
end
 
Jeweler::GemcutterTasks.new
Jeweler::RubyforgeTasks.new
 
task :default => :spec
 
desc "Run specs"
Spec::Rake::SpecTask.new :spec do |t|
  t.spec_files = FileList['spec/**/*spec.rb']
end
 
desc "Run spec docs"
Spec::Rake::SpecTask.new :specdoc do |t|
  t.spec_opts = ["-f specdoc"]
  t.spec_files = FileList['spec/**/*spec.rb']
end