forked from norman/friendly_id
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfriendly_id.gemspec
39 lines (33 loc) · 1.48 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
# encoding: utf-8
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 = ["norman@njclarke.com", "p@arndt.io"]
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', '~> 1.1'
s.add_development_dependency 'yard'
s.add_development_dependency 'i18n'
s.add_development_dependency 'ffaker'
s.add_development_dependency 'simplecov'
s.description = <<-EOM
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.
EOM
s.cert_chain = [File.expand_path('certs/parndt.pem', __dir__)]
if $PROGRAM_NAME =~ /gem\z/ && ARGV.include?('build') && ARGV.include?(__FILE__)
s.signing_key = File.expand_path('~/.ssh/gem-private_key.pem')
end
end