Sha256: 4fb26678fa2763481c963c3011097e6ad79936e32bf5afff47b8af28ba0a2b39

Contents?: true

Size: 1.11 KB

Versions: 1

Compression:

Stored size: 1.11 KB

Contents

require 'rubygems'
require 'rake'
require 'rake/testtask'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    summary = %Q{Ruby on Rails plugin to automate hashing an activerecord field and saving as a salt and digest in a single field.}
    gem.name = "auto_hash"
    gem.summary = summary
    gem.description = summary
    gem.email = "gems-kevdev@snkmail.com"
    gem.homepage = "http://github.com/kswope/auto_hash"
    gem.authors = ["Kevin Swope"]
    gem.add_dependency('bcrypt-ruby')
    # 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

desc "build README.html from README.doc (for previewing in browser)"
task :readme do
  system "rdoc README.rdoc --one-file > README.html"
end

task :default => :test
task :test => [:test_rails2x, :test_rails3x]

task :test_rails2x do |t|
  chdir "test/rails2x_root" do
    system "rake"
  end
end

task :test_rails3x do |t|
  chdir "test/rails3x_root" do
    system "rake"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
auto_hash-0.3.0 Rakefile