Sha256: 74b72e7921717fb40366cc75e04636ba16fe43082604d4b32eaf13f353c1564c

Contents?: true

Size: 878 Bytes

Versions: 1

Compression:

Stored size: 878 Bytes

Contents

require "rake/testtask"
require File.dirname(__FILE__) + "/lib/permalink/version"

desc "Default: run unit tests."
task :default => :test

desc "Run tests"
Rake::TestTask.new(:test) do |t|
  t.libs << "lib"
  t.libs << "test"
  t.pattern = "test/**/*_test.rb"
  t.verbose = true
end

begin
  require "jeweler"

  JEWEL = Jeweler::Tasks.new do |gem|
    gem.name = "permalink"
    gem.email = "fnando.vieira@gmail.com"
    gem.homepage = "http://github.com/fnando/permalink"
    gem.authors = ["Nando Vieira"]
    gem.version = Permalink::Version::STRING
    gem.summary = "ActiveRecord plugin for automatically converting fields to permalinks."
    gem.files =  FileList["README.markdown", "{lib,test}/**/*", "Rakefile"]
  end

  Jeweler::GemcutterTasks.new
rescue LoadError => e
  puts "[JEWELER] You can't build a gem until you install jeweler with `gem install jeweler`"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
permalink-1.0.0 Rakefile