lib/inochi/templates/inochi.rb.rbs in inochi-4.0.0 vs lib/inochi/templates/inochi.rb.rbs in inochi-4.0.1
- old
+ new
@@ -76,10 +76,10 @@
DEVTIME = {
"inochi" => [ ">= #{Inochi::VERSION}", "< #{Inochi::VERSION.to_i.next}" ],
}
# establish gem version dependencies
- if respond_to? :gem
+ if respond_to? :gem, true
[RUNTIME, DEVTIME].each do |deps|
deps.each do |gem_name, gem_version|
begin
gem gem_name, *Array(gem_version)
rescue LoadError => error