Skip to content

Commit

Permalink
Use dummy data generated by RubyGems
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt committed Apr 1, 2024
1 parent 0774232 commit bf4a7d3
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Binary file added test/rubygems/fixtures/prerelease_specs.4.8.gz
Binary file not shown.
Binary file added test/rubygems/fixtures/specs.4.8.gz
Binary file not shown.
4 changes: 2 additions & 2 deletions test/rubygems/test_gem_source.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ def test_dependency_resolver_set_bundler_api
end

def test_dependency_resolver_set_file_uri
File.write(File.join(@tempdir, "prerelease_specs.4.8.gz"), Gem::Util.gzip("\x04\x08[\x05".b))
File.write(File.join(@tempdir, "specs.4.8.gz"), Gem::Util.gzip("\x04\x08[\x05".b))
FileUtils.cp File.expand_path(File.join("fixtures", "prerelease_specs.4.8.gz"), __dir__), @tempdir
FileUtils.cp File.expand_path(File.join("fixtures", "specs.4.8.gz"), __dir__), @tempdir

source = Gem::Source.new "file://#{@tempdir}/"

Expand Down

0 comments on commit bf4a7d3

Please sign in to comment.