-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathinline_attachment.gemspec
40 lines (32 loc) · 1.35 KB
/
inline_attachment.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 -*-
module_name = "inline_attachment"
Gem::Specification.new do |s|
s.version = "0.4.6"
s.author = "Jason King"
s.summary = %q{Makes image_tag in an ActionMailer template embed the images in the emails}
s.description = "Officially Unsupported since ActionMailer added this functionality in v3.0"
s.files = %w{LICENSE rails/init.rb README.markdown lib/inline_attachment.rb}
#s.test_files = Dir.glob('tests/*.rb')
s.rubyforge_project = "InlineAttachment"
s.name = module_name
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.date = Time.now.strftime("%Y-%m-%d")
s.email = %q{[email protected]}
s.has_rdoc = true
s.homepage = "http://github.com/JasonKing/#{module_name}"
s.rdoc_options = ["--inline-source", "--charset=UTF-8"]
s.require_paths = ["lib"]
s.rubygems_version = Gem::RubyGemsVersion
s.platform = Gem::Platform::RUBY
if s.respond_to? :specification_version then
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
s.specification_version = 2
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
s.add_runtime_dependency(%q<mime-types>, [">= 1.15"])
else
s.add_dependency(%q<mime-types>, [">= 1.15"])
end
else
s.add_dependency(%q<mime-types>, [">= 1.15"])
end
end