Sha256: ca80de94708f7284b84a74fc97a5ec3f65eaea4247abf5c07dd82c25e5640ac0
Contents?: true
Size: 1.25 KB
Versions: 5
Compression:
Stored size: 1.25 KB
Contents
task :default do sh "rspec spec" end task :all do sh "AR='~>3.0.0' bundle update activerecord && bundle exec rake" sh "AR='~>3.1.0.rc4' bundle update activerecord && bundle exec rake" end task :specs => ["specs:nodb"] namespace :specs do require 'rspec/core/rake_task' desc "only specs that don't use database connection" RSpec::Core::RakeTask.new "nodb" do |t| t.pattern = "spec/standalone_migrations/**/*_spec.rb" end desc "run alls sepcs including those which uses database" task :all => [:default, :nodb] end # rake install -> install gem locally (for tests) # rake release -> push to github and release to gemcutter # rake version:bump:patch -> increase version and add a git-tag begin require 'jeweler' rescue LoadError => e $stderr.puts "Jeweler, or one of its dependencies, is not available:" $stderr.puts "#{e.class}: #{e.message}" $stderr.puts "Install it with: sudo gem install jeweler" else Jeweler::Tasks.new do |gem| gem.name = 'standalone_migrations' gem.summary = "A thin wrapper to use Rails Migrations in non Rails projects" gem.email = "thuss@gabrito.com" gem.homepage = "http://github.com/thuss/standalone-migrations" gem.authors = ["Todd Huss", "Michael Grosser"] end Jeweler::GemcutterTasks.new end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
standalone_migrations-1.0.9 | Rakefile |
standalone_migrations-1.0.8 | Rakefile |
standalone_migrations-1.0.7 | Rakefile |
standalone_migrations-1.0.6 | Rakefile |
standalone_migrations-1.0.5 | Rakefile |