mirror of https://github.com/docusealco/docuseal
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
1.2 KiB
38 lines
1.2 KiB
begin
|
|
require_relative 'lib/erb/version'
|
|
rescue LoadError
|
|
# for Ruby core repository
|
|
require_relative 'version'
|
|
end
|
|
|
|
Gem::Specification.new do |spec|
|
|
spec.name = 'erb'
|
|
spec.version = ERB::VERSION
|
|
spec.authors = ['Masatoshi SEKI', 'Takashi Kokubun']
|
|
spec.email = ['seki@ruby-lang.org', 'k0kubun@ruby-lang.org']
|
|
|
|
spec.summary = %q{An easy to use but powerful templating system for Ruby.}
|
|
spec.description = %q{An easy to use but powerful templating system for Ruby.}
|
|
spec.homepage = 'https://github.com/ruby/erb'
|
|
spec.licenses = ['Ruby', 'BSD-2-Clause']
|
|
|
|
spec.metadata['homepage_uri'] = spec.homepage
|
|
spec.metadata['source_code_uri'] = spec.homepage
|
|
spec.metadata['changelog_uri'] = "https://github.com/ruby/erb/blob/v#{spec.version}/NEWS.md"
|
|
|
|
spec.files = Dir.chdir(__dir__) do
|
|
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|\.git|\.github)/}) }
|
|
end
|
|
spec.bindir = 'libexec'
|
|
spec.executables = ['erb']
|
|
spec.require_paths = ['lib']
|
|
|
|
spec.required_ruby_version = '>= 3.2.0'
|
|
|
|
if RUBY_ENGINE == 'jruby'
|
|
spec.platform = 'java'
|
|
else
|
|
spec.extensions = ['ext/erb/escape/extconf.rb']
|
|
end
|
|
end
|