29 lines
1.4 KiB
Ruby
29 lines
1.4 KiB
Ruby
|
# -*- encoding: utf-8 -*-
|
||
|
|
||
|
Gem::Specification.new do |s|
|
||
|
s.name = "erubis"
|
||
|
s.version = "2.7.0"
|
||
|
|
||
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
||
|
s.authors = ["makoto kuwata"]
|
||
|
s.date = "2011-04-01"
|
||
|
s.description = " Erubis is an implementation of eRuby and has the following features:\n\n * Very fast, almost three times faster than ERB and about 10% faster than eruby.\n * Multi-language support (Ruby/PHP/C/Java/Scheme/Perl/Javascript)\n * Auto escaping support\n * Auto trimming spaces around '<% %>'\n * Embedded pattern changeable (default '<% %>')\n * Enable to handle Processing Instructions (PI) as embedded pattern (ex. '<?rb ... ?>')\n * Context object available and easy to combine eRuby template with YAML datafile\n * Print statement available\n * Easy to extend and customize in subclass\n * Ruby on Rails support\n"
|
||
|
s.email = "kwa(at)kuwata-lab.com"
|
||
|
s.executables = ["erubis"]
|
||
|
s.files = ["bin/erubis"]
|
||
|
s.homepage = "http://www.kuwata-lab.com/erubis/"
|
||
|
s.require_paths = ["lib"]
|
||
|
s.rubyforge_project = "erubis"
|
||
|
s.rubygems_version = "1.8.21"
|
||
|
s.summary = "a fast and extensible eRuby implementation which supports multi-language"
|
||
|
|
||
|
if s.respond_to? :specification_version then
|
||
|
s.specification_version = 3
|
||
|
|
||
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
||
|
else
|
||
|
end
|
||
|
else
|
||
|
end
|
||
|
end
|