sig/shims/bundler.rbs in rbs-3.0.0.dev.1 vs sig/shims/bundler.rbs in rbs-3.0.0.dev.2

- old
+ new

@@ -1,13 +1,31 @@ module Bundler class LockfileParser def initialize: (String) -> void + def specs: () -> Array[LazySpecification] end class LazySpecification def name: () -> String + def version: () -> String + + def dependencies: () -> Array[Gem::Dependency] end + class Dependency < Gem::Dependency + attr_reader autorequire: Array[String]? + end + + class Definition + def lockfile: () -> Pathname + + def locked_gems: () -> LockfileParser + + def dependencies: () -> Array[Dependency] + end + def self.default_lockfile: () -> Pathname + + def self.definition: () -> Definition end