Sha256: d0feb5e36f257e175049b78cbe8bf5f93be51052f28f2cdd4c83adfeaf3690cc

Contents?: true

Size: 1.45 KB

Versions: 4

Compression:

Stored size: 1.45 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "usesguid_migrations"
    gem.summary = %Q{Makes your migrations work with usesguid plugin without explicitly defining the keys migrations.}
    gem.description = %Q{Makes your migrations work with usesguid plugin without explicitly defining the primary key id or foreign keys in migrations.}
    gem.email = "jason@lookforwardenterprises.com"
    gem.homepage = "http://github.com/midas/usesguid_migrations"
    gem.authors = ["Jason Harrelson"]
    gem.add_development_dependency "rspec"
    gem.add_dependency "activerecord", ">= 2.3"
    gem.add_dependency "usesguid"
  end
  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end

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

Spec::Rake::SpecTask.new(:rcov) do |spec|
  spec.libs << 'lib' << 'spec'
  spec.pattern = 'spec/**/*_spec.rb'
  spec.rcov = true
end

task :spec => :check_dependencies

task :default => :spec

require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
  if File.exist?('VERSION')
    version = File.read('VERSION')
  else
    version = ""
  end

  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = "usesguid_migrations #{version}"
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
usesguid_migrations-1.0.3 Rakefile
usesguid_migrations-1.0.2 Rakefile
usesguid_migrations-1.0.1 Rakefile
usesguid_migrations-1.0.0 Rakefile