-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdirty_url.gemspec
35 lines (29 loc) · 1.79 KB
/
dirty_url.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
# encoding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'dirty_url/version'
Gem::Specification.new do |spec|
spec.name = 'dirty_url'
spec.version = DirtyUrl::VERSION
spec.authors = ['jfelchner']
spec.email = ['[email protected]']
spec.summary = %q{Make URLs work properly in Rails mailers and controllers.}
spec.description = %q{By 'default', Rails has a difficult time figuring out when it is supposed to show relative URLs in mailers and even when doing comparisons in specs, the URL returned tends to be non-deterministic. Using this gem, Rails will always return the proper URL based on the environment you are executing in.}
spec.homepage = 'https://github.com/thekompanee/dirty_url'
spec.licenses = ['MIT']
spec.cert_chain = ['certs/thekompanee.pem']
spec.signing_key = File.expand_path('~/.gem/certs/thekompanee-private_key.pem') if $0 =~ /gem\z/
spec.executables = []
spec.files = Dir['{app,config,db,lib,templates}/**/*'] + %w{README.md LICENSE.txt}
spec.metadata = {
'allowed_push_host' => 'https://rubygems.org',
'bug_tracker_uri' => 'https://github.com/thekompanee/dirty_url/issues',
'changelog_uri' => 'https://github.com/thekompanee/dirty_url/blob/master/CHANGELOG.md',
'documentation_uri' => 'https://github.com/thekompanee/dirty_url/tree/releases/v#{::DirtyUrl::VERSION}',
'homepage_uri' => 'https://github.com/thekompanee/dirty_url',
'source_code_uri' => 'https://github.com/thekompanee/dirty_url',
'wiki_uri' => 'https://github.com/thekompanee/dirty_url/wiki',
}
spec.add_dependency 'rails', [">= 3.1", "< 6.0"]
spec.add_development_dependency 'rspec', ["~> 3.2"]
end