Sha256: 02c04837138849a0fed8b2caa8a1e47ce93869f84e44c5f2aee6616e4c92d408
Contents?: true
Size: 1.71 KB
Versions: 2
Compression:
Stored size: 1.71 KB
Contents
require 'rubygems' require 'rake' begin require 'jeweler' Jeweler::Tasks.new do |gem| gem.name = "formtastic_validation" gem.summary = %Q{Client side validation with formtastic} gem.description = %Q{A formtastic extension that does client side validation} gem.email = "zan@liangzan.net" gem.homepage = "http://github.com/liangzan/formtastic_validation" gem.authors = ["Wong Liang Zan"] gem.add_dependency "validation_reflection", "= 0.3.8" gem.add_dependency "formtastic", "= 1.0.0" gem.add_development_dependency "rspec", "= 1.3.0" gem.add_development_dependency "rspec-rails", "= 1.3.2" gem.add_development_dependency "rspec_tag_matchers", "= 1.0.0" gem.add_development_dependency "nokogiri", "= 1.4.2" gem.add_development_dependency "activesupport", "= 2.3.8" gem.add_development_dependency "actionpack", "= 2.3.8" # 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 '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| version = File.exist?('VERSION') ? File.read('VERSION') : "" rdoc.rdoc_dir = 'rdoc' rdoc.title = "formtastic_validation #{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 |
---|---|
formtastic_validation-0.1.2 | Rakefile |
formtastic_validation-0.1.0 | Rakefile |