diff options
Diffstat (limited to 'lib/erb.gemspec')
-rw-r--r-- | lib/erb.gemspec | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/lib/erb.gemspec b/lib/erb.gemspec index 43ffc89c69..94a8fd5c3e 100644 --- a/lib/erb.gemspec +++ b/lib/erb.gemspec @@ -8,8 +8,8 @@ end Gem::Specification.new do |spec| spec.name = 'erb' spec.version = ERB.const_get(:VERSION, false) - spec.authors = ['Masatoshi SEKI'] - spec.email = ['seki@ruby-lang.org'] + 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.} @@ -27,5 +27,12 @@ Gem::Specification.new do |spec| spec.executables = ['erb'] spec.require_paths = ['lib'] - spec.add_dependency 'cgi' + if RUBY_ENGINE == 'jruby' + spec.platform = 'java' + else + spec.required_ruby_version = '>= 2.7.0' + spec.extensions = ['ext/erb/escape/extconf.rb'] + end + + spec.add_dependency 'cgi', '>= 0.3.3' end |