stdlib/rubygems/0/rubygems.rbs in rbs-1.1.0 vs stdlib/rubygems/0/rubygems.rbs in rbs-1.1.1
- old
+ new
@@ -336,11 +336,11 @@
# Find a Gem::Specification of default gem from `path`
#
def self.find_unresolved_default_spec: (String path) -> Specification?
- def self.finish_resolve: (?RequestSet request_set) -> Array[Specification]
+ def self.finish_resolve: (?RequestSet request_set) -> void
# GemDependencyAPI object, which is set when .use_gemdeps is called. This
# contains all the information from the Gemfile.
#
def self.gemdeps: () -> RequestSet::GemDependencyAPI?
@@ -415,10 +415,10 @@
# The version of the Marshal format for your Ruby.
#
def self.marshal_version: () -> String
- def self.needs: () { (RequestSet) -> untyped } -> Array[Specification]
+ def self.needs: () { (RequestSet) -> void } -> void
# Default options for gem commands for Ruby packagers.
#
# The options here should be structured as an array of string "gem" command
# names as keys and a string of the default options as values.