forked from norman/friendly_id
-
Notifications
You must be signed in to change notification settings - Fork 1
/
friendly_id.gemspec
40 lines (30 loc) · 1.46 KB
/
friendly_id.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
require "lib/friendly_id/version"
spec = Gem::Specification.new do |s|
s.name = "friendly_id"
s.rubyforge_project = "friendly-id"
s.version = FriendlyId::Version::STRING
s.authors = ["Norman Clarke", "Adrian Mugnolo", "Emilio Tagua"]
s.homepage = "http:https://norman.github.com/friendly_id"
s.summary = "A comprehensive slugging and pretty-URL plugin."
s.description = <<-EOM
FriendlyId is the "Swiss Army bulldozer" of slugging and permalink plugins
for Ruby on Rails. It allows you to create pretty URL’s and work with
human-friendly strings as if they were numeric ids for ActiveRecord models.
EOM
s.has_rdoc = true
s.test_files = Dir.glob "test/**/*_test.rb"
s.files = Dir["lib/**/*.rb", "lib/**/*.rake", "*.md", "LICENSE",
"Rakefile", "rails/init.rb", "generators/**/*.*", "test/**/*.*",
"extras/**/*.*" ]
s.add_dependency "activerecord", ">= 2.2"
s.add_dependency "activesupport", ">= 2.2"
s.post_install_message = <<-EOM
***********************************************************
If you are upgrading friendly_id, please run
./script/generate friendly_id --skip-migration
in your Rails application to ensure that you have the
latest friendly_id Rake tasks.
***********************************************************
EOM
end