1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[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
This commit is contained in:
Nobuyoshi Nakada 2021-04-07 11:56:39 +09:00
parent 5543695a19
commit b0b3022f95
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

@ -20,10 +20,4 @@ Gem::Specification.new do |spec|
spec.required_ruby_version = Gem::Requirement.new('>= 2.5')
spec.add_dependency 'io-console', '~> 0.5'
spec.add_development_dependency 'bundler'
spec.add_development_dependency 'rake'
spec.add_development_dependency 'test-unit'
is_unix = RUBY_PLATFORM =~ /(aix|darwin|linux|(net|free|open)bsd|cygwin|solaris|irix|hpux)/i
spec.add_development_dependency 'vterm', '>= 0.0.5' if is_unix && ENV['WITH_VTERM']
spec.add_development_dependency 'yamatanooroti', '>= 0.0.6'
end