lib/tapioca/gemfile.rb in tapioca-0.4.14 vs lib/tapioca/gemfile.rb in tapioca-0.4.15

- old
+ new

@@ -51,16 +51,16 @@ sig { returns(File) } attr_reader(:gemfile, :lockfile) sig { returns([T::Array[Gem], T::Array[String]]) } def load_dependencies - specs = definition.locked_gems.specs.to_a + deps = definition.locked_gems.dependencies.values missing_specs = T::Array[String].new dependencies = definition .resolve - .materialize(specs, missing_specs) + .materialize(deps, missing_specs) .map { |spec| Gem.new(spec) } .reject { |gem| gem.ignore?(dir) } .uniq(&:rbi_file_name) .sort_by(&:rbi_file_name)