-
-
Notifications
You must be signed in to change notification settings - Fork 591
/
friendly_id.gemspec
36 lines (30 loc) · 1.39 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
require File.expand_path("../lib/friendly_id/version", __FILE__)
Gem::Specification.new do |s|
s.name = "friendly_id"
s.version = FriendlyId::VERSION
s.authors = ["Norman Clarke", "Philip Arndt"]
s.email = ["[email protected]", "[email protected]"]
s.homepage = "https://github.com/norman/friendly_id"
s.summary = "A comprehensive slugging and pretty-URL plugin."
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test}/*`.split("\n")
s.require_paths = ["lib"]
s.license = "MIT"
s.required_ruby_version = ">= 2.1.0"
s.add_dependency "activerecord", ">= 4.0.0"
s.add_development_dependency "coveralls"
s.add_development_dependency "railties", ">= 4.0"
s.add_development_dependency "minitest", "~> 5.3"
s.add_development_dependency "mocha", "~> 2.1"
s.add_development_dependency "yard"
s.add_development_dependency "i18n"
s.add_development_dependency "ffaker"
s.add_development_dependency "simplecov"
s.description = "FriendlyId is the \"Swiss Army bulldozer\" of slugging " \
"and permalink plugins for Active Record. It lets you create pretty URLs " \
"and work with human-friendly strings as if they were numeric ids."
s.cert_chain = [File.expand_path("certs/parndt.pem", __dir__)]
if $PROGRAM_NAME.end_with?("gem") && ARGV.include?("build") && ARGV.include?(__FILE__)
s.signing_key = File.expand_path("~/.ssh/gem-private_key.pem")
end
end