1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/lib/reline/reline.gemspec
Nobuyoshi Nakada b0b3022f95
[ruby/reline] Moved development dependencies to Gemfile
As expressions in a gemspec file are evaluated at the build time,
but not the run time, the conditional in the gemspec will not work
as intended.

https://github.com/ruby/reline/commit/c09b7c454a
2021-04-08 21:41:00 +09:00

23 lines
825 B
Ruby

lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'reline/version'
Gem::Specification.new do |spec|
spec.name = 'reline'
spec.version = Reline::VERSION
spec.authors = ['aycabta']
spec.email = ['aycabta@gmail.com']
spec.summary = %q{Alternative GNU Readline or Editline implementation by pure Ruby.}
spec.description = %q{Alternative GNU Readline or Editline implementation by pure Ruby.}
spec.homepage = 'https://github.com/ruby/reline'
spec.license = 'Ruby'
spec.files = Dir['BSDL', 'COPYING', 'README.md', 'license_of_rb-readline', 'lib/**/*']
spec.require_paths = ['lib']
spec.required_ruby_version = Gem::Requirement.new('>= 2.5')
spec.add_dependency 'io-console', '~> 0.5'
end