require 'rubygems' require 'rake' begin require 'jeweler' Jeweler::Tasks.new do |gem| gem.name = "immutable_attributes" gem.summary = %Q{Selected attributes are permanent once a record is created} gem.description = %Q{Allows specified attributes to be freely overwritten _until_ the record is saved for the first time} gem.email = "gems@6brand.com" gem.homepage = "http://github.com/JackDanger/immutable_attributes" gem.authors = ["Jack Danger Canty"] end rescue LoadError puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler" end require 'rake/testtask' task :test do exec "ruby test/immutable_attributes_test.rb" end task :default => :test