Sha256: 51658e7dbb2ee69980a75d84a59591a858a217728b738f0952328bf72a5ea03b
Contents?: true
Size: 1.1 KB
Versions: 2
Compression:
Stored size: 1.1 KB
Contents
require 'rubygems' require 'rake' begin require 'jeweler' Jeweler::Tasks.new do |gem| gem.name = "validation-mirror" gem.summary = %Q{Adds basic reflection support to ActiveRecord validations} gem.description = %Q{Adds basic reflection support to ActiveRecord validations} gem.email = "gabriel.gironda@gmail.com" gem.homepage = "http://github.com/centro/validation-mirror" gem.authors = ["centro"] gem.add_development_dependency "riot", ">= 0" gem.add_development_dependency "yard", ">= 0" gem.add_dependency "activerecord", ">=2.3.5" end Jeweler::GemcutterTasks.new rescue LoadError puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler" end require 'rake/testtask' Rake::TestTask.new(:test) do |test| test.libs << 'lib' << 'test' test.pattern = 'test/**/*_test.rb' test.verbose = true end task :test => :check_dependencies task :default => :test begin require 'yard' YARD::Rake::YardocTask.new rescue LoadError task :yardoc do abort "YARD is not available. In order to run yardoc, you must: sudo gem install yard" end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
validation-mirror-1.0.1 | Rakefile |
validation-mirror-1.0.0 | Rakefile |