Rakefile in sluggable_finder-2.1.1 vs Rakefile in sluggable_finder-2.2.0
- old
+ new
@@ -2,15 +2,14 @@
begin
require 'jeweler'
Jeweler::Tasks.new do |s|
s.name = "sluggable_finder"
- s.summary = %Q{Easy nice permalinks for your ActiveRecord models}
+ s.summary = %Q{Easy friendly URLs for your ActiveRecord models}
s.email = "ismaelct@gmail.com"
- s.homepage = ""
- s.description = %(This plugin allows models to generate a unique "slug" (url-enabled name) from any regular attribute.
- Sluggable models can have a scope parameter so slugs are unique relative to a parent model.)
+ s.homepage = "http://github.com/ismasan/sluggable-finder"
+ s.description = %(This plugin allows models to generate a unique "slug" (url-enabled name) from any regular attribute. Add friendly URLs to your models with one line.)
s.authors = ["Ismael Celis"]
s.add_dependency 'activerecord', ">= 2.2.2"
end
rescue LoadError
puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
@@ -47,7 +46,8 @@
Spec::Rake::SpecTask.new(:spec) do |t|
t.spec_files = FileList["spec/**/*_spec.rb"]
t.spec_opts = %w{-f s -c -L mtime}
end
+load File.join(File.dirname(__FILE__), 'tasks', 'db.rake')
task :default => :spec