lib/tapioca/commands/configure.rb in tapioca-0.10.3 vs lib/tapioca/commands/configure.rb in tapioca-0.10.4

- old
+ new

@@ -68,11 +68,11 @@ def create_post_require create_file(@default_postrequire, <<~CONTENT, skip: true, force: false) # typed: true # frozen_string_literal: true - # Add your extra requires here (`#{default_command(:require)}` can be used to boostrap this list) + # Add your extra requires here (`#{default_command(:require)}` can be used to bootstrap this list) CONTENT end sig { void } def create_binstub @@ -90,10 +90,10 @@ sig { returns(Bundler::Installer) } def installer @installer ||= Bundler::Installer.new(Bundler.root, Bundler.definition) end - sig { returns(Bundler::StubSpecification) } + sig { returns(T.any(Bundler::StubSpecification, ::Gem::Specification)) } def spec @spec ||= Bundler.definition.specs.find { |s| s.name == "tapioca" } end end end