Sha256: 2506da1703d9d5684f76e964d329e29c14da14b826b90767412dedee463cea7b
Contents?: true
Size: 1.26 KB
Versions: 1
Compression:
Stored size: 1.26 KB
Contents
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' version = File.exist?('VERSION') ? File.read('VERSION') : "" require 'jeweler' Jeweler::Tasks.new do |gem| gem.name = "safe_attributes" gem.version = version gem.homepage = "http://github.com/bjones/safe_attributes" gem.license = "MIT" gem.summary = %Q{Add support for reserved word column names with ActiveRecord} gem.description = %Q{If your schema has columns named type, or class, or any other name that conflicts with a method of ActiveRecord or one of its superclasses, you will need this gem to use Rails 3 with that database.} gem.email = "cbj@gnu.org" gem.authors = ["Brian Jones"] end Jeweler::RubygemsDotOrgTasks.new require 'rspec/core' require 'rspec/core/rake_task' RSpec::Core::RakeTask.new(:spec) do |spec| end RSpec::Core::RakeTask.new(:rcov) do |spec| spec.rcov = true end task :default => :spec require 'rake/rdoctask' Rake::RDocTask.new do |rdoc| rdoc.rdoc_dir = 'rdoc' rdoc.title = "SafeAttributes #{version}" rdoc.rdoc_files.include('README*') rdoc.rdoc_files.include('lib/**/*.rb') end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
safe_attributes-1.0.1 | Rakefile |