-
Notifications
You must be signed in to change notification settings - Fork 91
/
Copy pathrails_autolink.gemspec
25 lines (22 loc) · 1.04 KB
/
rails_autolink.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
require File.expand_path "#{File.dirname(__FILE__)}/lib/rails_autolink/version"
Gem::Specification.new do |s|
s.name = 'rails_autolink'
s.version = RailsAutolink::VERSION
s.date = Time.now.strftime('%Y-%m-%d')
s.authors = ['Aaron Patterson', 'Juanjo Bazan', 'Akira Matsuda']
s.email = '[email protected]'
s.homepage = 'https://github.com/tenderlove/rails_autolink'
s.summary = 'Automatic generation of html links in texts'
s.description = 'This is an extraction of the `auto_link` method from rails. The `auto_link` method was removed from Rails in version Rails 3.1. This gem is meant to bridge the gap for people migrating.'
rails_constraint = '> 3.1'
s.add_dependency 'actionview', rails_constraint
s.add_dependency 'activesupport', rails_constraint
s.add_dependency 'railties', rails_constraint
s.required_ruby_version = '>= 1.9.3'
s.license = 'MIT'
s.files = Dir.chdir(__dir__) do
`git ls-files -z`.split("\x0").select do |file|
file.start_with?('lib', 'CHANGELOG', 'LICENSE', 'README')
end
end
end