Sha256: 1552d5b611e81e7d48ab2a6b7fa1f053fe1d63c30220143838c76ded159e4e28
Contents?: true
Size: 1.45 KB
Versions: 2
Compression:
Stored size: 1.45 KB
Contents
# encoding: utf-8 require 'rubygems' require 'bundler' begin Bundler.setup(:default, :development) rescue Bundler::BundlerError => e $stderr.puts e.message $stderr.puts "Run `bundle install` to install missing gems" exit e.status_code end require 'rake' require 'jeweler' Jeweler::Tasks.new do |gem| # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options gem.name = "ames_by_type" gem.homepage = "http://github.com/tbloncar/ames_by_type" gem.license = "MIT" gem.summary = "Extends ActiveModel::Errors with errors by type." gem.description = "This gem extends the functionality of Rails' ActiveModel::Errors with a #by_type method that returns a hash of error messages scoped by attribute and type." gem.email = "loncar.travis@gmail.com" gem.authors = ["Travis Loncar"] # dependencies defined in Gemfile end Jeweler::RubygemsDotOrgTasks.new require 'rspec/core' require 'rspec/core/rake_task' RSpec::Core::RakeTask.new(:spec) do |spec| spec.pattern = FileList['spec/**/*_spec.rb'] end RSpec::Core::RakeTask.new(:rcov) do |spec| spec.pattern = 'spec/**/*_spec.rb' spec.rcov = true end task :default => :spec require 'rdoc/task' Rake::RDocTask.new do |rdoc| version = File.exist?('VERSION') ? File.read('VERSION') : "" rdoc.rdoc_dir = 'rdoc' rdoc.title = "ames_by_type #{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 |
---|---|
ames_by_type-0.2.0 | Rakefile |
ames_by_type-0.1.0 | Rakefile |