Sha256: 0cdbf8cae509402224611b6e10cb033ed8acd8e6c92267b6f409a1b00146947a
Contents?: true
Size: 1.58 KB
Versions: 1
Compression:
Stored size: 1.58 KB
Contents
begin # Rspec 1.3.0 require 'spec/rake/spectask' desc 'Default: run specs' task :default => :spec Spec::Rake::SpecTask.new do |t| t.spec_files = FileList["spec/**/*_spec.rb"] end Spec::Rake::SpecTask.new('rcov') do |t| t.spec_files = FileList["spec/**/*_spec.rb"] t.rcov = true t.rcov_opts = ['--exclude', 'spec'] end rescue LoadError # Rspec 2.0 require 'rspec/core/rake_task' desc 'Default: run specs' task :default => :spec RSpec::Core::RakeTask.new do |t| t.pattern = "spec/**/*_spec.rb" end RSpec::Core::RakeTask.new('rcov') do |t| t.pattern = "spec/**/*_spec.rb" t.rcov = true t.rcov_opts = ['--exclude', 'spec'] end rescue LoadError puts "Rspec not available. Install it with: gem install rspec" end begin require 'jeweler' Jeweler::Tasks.new do |gemspec| gemspec.name = "make_exportable" gemspec.summary = "Makes any Rails model easily exportable" gemspec.description = "MakeExportable is a Rails gem/plugin to assist in exporting application data as CSV, TSV, JSON, HTML, XML or Excel. Filter and limit the data exported using ActiveRecord. Export returned values from instance methods as easily as database columns." gemspec.email = "kevin@novafabrica.com" gemspec.homepage = "http://github.com/novafabrica/make_exportable" gemspec.authors = ["Kevin Skoglund", "Matthew Bergman"] gemspec.files = FileList["[A-Z]*", "{generators,lib,spec,rails}/**/*"] - FileList["**/*.log"] end Jeweler::GemcutterTasks.new rescue LoadError puts "Jeweler not available. Install it with: gem install jeweler" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
make_exportable-1.1.0 | Rakefile |