Sha256: ab12cffa287069090e22aa52195fbc72450d4f61e883c7a8d426a86222d15173
Contents?: true
Size: 1.3 KB
Versions: 2
Compression:
Stored size: 1.3 KB
Contents
require 'rubygems' require 'rake' begin require 'jeweler' Jeweler::Tasks.new do |gem| gem.name = "postgres-copy" gem.summary = %Q{Put COPY command functionality in ActiveRecord's model class} gem.description = %Q{Now you can use the super fast COPY for import/export data directly from your AR models.} gem.email = "diogob@gmail.com" gem.homepage = "http://github.com/diogob/postgres-copy" gem.authors = ["Diogo Biazus"] gem.add_development_dependency "rspec", ">= 1.2.9" gem.add_dependency "activerecord", ">= 3.0.0" # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings end Jeweler::GemcutterTasks.new rescue LoadError puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler" end require "rspec/core/rake_task" # RSpec 2.0 RSpec::Core::RakeTask.new(:spec) do |spec| spec.pattern = 'spec/*_spec.rb' spec.rspec_opts = ["--backtrace", "--color", "--format progress", "-r ./spec/spec_helper.rb"] end task :default => :spec require 'rake/rdoctask' Rake::RDocTask.new do |rdoc| version = File.exist?('VERSION') ? File.read('VERSION') : "" rdoc.rdoc_dir = 'rdoc' rdoc.title = "activerecord-postgres-copy #{version}" rdoc.rdoc_files.include('README*') rdoc.rdoc_files.include('lib/**/*.rb') end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
postgres-copy-0.3.4 | Rakefile |
postgres-copy-0.3.3 | Rakefile |