Sha256: f370bed4691456c82a9be55b33591df6ee6d88fb415d3cddbb249c894731529a

Contents?: true

Size: 1.75 KB

Versions: 7

Compression:

Stored size: 1.75 KB

Contents

require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gemspec|
    gemspec.name = "csv_pirate"
    gemspec.summary = "Easily create CSVs of any data that can be derived from your models (using pirates!)."
    gemspec.description = %q{CsvPirate is the easy way to create a CSV of essentially anything in Rails, in full pirate regalia.
It works better if you are wearing a tricorne!}
    gemspec.email = "peter.boling@gmail.com"
    gemspec.homepage = "http://github.com/pboling/csv_pirate"
    gemspec.authors = ["Peter Boling"]
    gemspec.files = ["README.rdoc",
             "csv_pirate.gemspec",
             "init.rb",
             "rails/init.rb",
             "install.rb",
             "lib/csv_pirate.rb",
             "lib/ninth_bit/pirate_ship.rb",
             "Rakefile",
             "LICENSE",
             "CHANGELOG",
             "VERSION.yml"]
  end
  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end

require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = 'csv_pirate'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

require 'spec/rake/spectask'
Spec::Rake::SpecTask.new(:spec) do |t|
  t.libs << 'lib' << 'spec'
  t.spec_files = FileList['spec/**/*_spec.rb']
end

Spec::Rake::SpecTask.new(:rcov) do |t|
  t.libs << 'lib' << 'spec'
  t.spec_files = FileList['spec/**/*_spec.rb']
  t.rcov = true
end

begin
  require 'cucumber/rake/task'
  Cucumber::Rake::Task.new(:features)
rescue LoadError
  puts "Cucumber is not available. In order to run features, you must: sudo gem install cucumber"
end

task :default => :spec

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
csv_pirate-3.3.1 Rakefile
csv_pirate-3.3.0 Rakefile
csv_pirate-3.1.1 Rakefile
csv_pirate-3.1.0 Rakefile
csv_pirate-2.4.4 Rakefile
csv_pirate-2.1.2 Rakefile
csv_pirate-2.1.1 Rakefile