Sha256: 2b5821bfed92edafe62675ca07f7a08ff105da6a90ea483e66f6a9c6a9aee268

Contents?: true

Size: 1.94 KB

Versions: 4

Compression:

Stored size: 1.94 KB

Contents

begin
  require 'jeweler'
  Jeweler::Tasks.new do |s|
    s.name = "taps"
    s.summary = %Q{simple database import/export app}
    s.email = "ricardo@heroku.com"
    s.homepage = "http://github.com/ricardochimal/taps"
    s.description = "A simple database agnostic import/export app to transfer data to/from a remote database."
    s.authors = ["Ricardo Chimal, Jr."]

    s.rubygems_version = %q{1.3.5}

    s.add_dependency 'json_pure', '~> 1.2.0'
    s.add_dependency 'sinatra', '~> 1.0.0'
    s.add_dependency 'rest-client', '~> 1.4.0'
    s.add_dependency 'sequel', '~> 3.10.0'
    s.add_dependency 'sqlite3-ruby', '~> 1.2.0'
    s.add_dependency 'rack', '>= 1.0.1'

    s.rubyforge_project = "taps"

    s.files = FileList['spec/*.rb'] + FileList['lib/**/*.rb'] + ['README.rdoc', 'LICENSE', 'VERSION.yml', 'Rakefile'] + FileList['bin/*']
    s.executables = ['taps', 'schema']
  end
rescue LoadError => e
  if e.message =~ /jeweler/
    puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
  else
    puts e.message + ' -- while loading jeweler.'
  end
end

begin
  require 'rake/rdoctask'
  Rake::RDocTask.new do |rdoc|
    rdoc.rdoc_dir = 'rdoc'
    rdoc.title = 'taps'
    rdoc.options << '--line-numbers' << '--inline-source'
    rdoc.rdoc_files.include('README*')
    rdoc.rdoc_files.include('lib/**/*.rb')
  end
rescue LoadError
   puts "Rdoc is not available"
end

begin
  require 'rcov/rcovtask'
  Rcov::RcovTask.new do |t|
    t.libs << 'spec'
    t.test_files = FileList['spec/*_spec.rb']
    t.verbose = true
  end
rescue LoadError
  puts "RCov is not available. In order to run rcov, you must: sudo gem install rcov"
end

desc "Run all specs; requires the bacon gem"
task :spec do
  if `which bacon`.empty?
    puts "bacon is not available. In order to run the specs, you must: sudo gem install bacon."
  else
    system "bacon #{File.dirname(__FILE__)}/spec/*_spec.rb"
  end
end

task :default => :spec

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
taps-0.3.3 Rakefile
taps-0.3.2 Rakefile
taps-0.3.1 Rakefile
taps-0.3.0 Rakefile