45 lines
1.6 KiB
Ruby
45 lines
1.6 KiB
Ruby
# -*- encoding: utf-8 -*-
|
|
|
|
Gem::Specification.new do |s|
|
|
s.name = "uglifier"
|
|
s.version = "1.2.4"
|
|
|
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
s.authors = ["Ville Lautanala"]
|
|
s.date = "2012-03-27"
|
|
s.email = "lautis@gmail.com"
|
|
s.extra_rdoc_files = ["LICENSE.txt", "README.md"]
|
|
s.files = ["LICENSE.txt", "README.md"]
|
|
s.homepage = "http://github.com/lautis/uglifier"
|
|
s.require_paths = ["lib"]
|
|
s.rubygems_version = "1.8.21"
|
|
s.summary = "Ruby wrapper for UglifyJS JavaScript compressor"
|
|
|
|
if s.respond_to? :specification_version then
|
|
s.specification_version = 3
|
|
|
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
|
s.add_runtime_dependency(%q<execjs>, [">= 0.3.0"])
|
|
s.add_runtime_dependency(%q<multi_json>, [">= 1.0.2"])
|
|
s.add_development_dependency(%q<rspec>, ["~> 2.7"])
|
|
s.add_development_dependency(%q<bundler>, ["~> 1.0"])
|
|
s.add_development_dependency(%q<jeweler>, ["~> 1.8.3"])
|
|
s.add_development_dependency(%q<rdoc>, ["~> 3.11"])
|
|
else
|
|
s.add_dependency(%q<execjs>, [">= 0.3.0"])
|
|
s.add_dependency(%q<multi_json>, [">= 1.0.2"])
|
|
s.add_dependency(%q<rspec>, ["~> 2.7"])
|
|
s.add_dependency(%q<bundler>, ["~> 1.0"])
|
|
s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
|
|
s.add_dependency(%q<rdoc>, ["~> 3.11"])
|
|
end
|
|
else
|
|
s.add_dependency(%q<execjs>, [">= 0.3.0"])
|
|
s.add_dependency(%q<multi_json>, [">= 1.0.2"])
|
|
s.add_dependency(%q<rspec>, ["~> 2.7"])
|
|
s.add_dependency(%q<bundler>, ["~> 1.0"])
|
|
s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
|
|
s.add_dependency(%q<rdoc>, ["~> 3.11"])
|
|
end
|
|
end
|