[rubygems/rubygems] Fix typo
https://github.com/rubygems/rubygems/commit/19a0e3730c
This commit is contained in:
parent
32a555ea53
commit
6b6fd16219
@ -75,7 +75,7 @@ module Bundler
|
|||||||
end
|
end
|
||||||
|
|
||||||
def info(name)
|
def info(name)
|
||||||
Bundler::CompactIndexClient.debug { "info(#{names})" }
|
Bundler::CompactIndexClient.debug { "info(#{name})" }
|
||||||
@parser.info(name)
|
@parser.info(name)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -15,6 +15,21 @@ RSpec.describe "compact index api" do
|
|||||||
expect(the_bundle).to include_gems "rack 1.0.0"
|
expect(the_bundle).to include_gems "rack 1.0.0"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
it "has a debug mode" do
|
||||||
|
gemfile <<-G
|
||||||
|
source "#{source_uri}"
|
||||||
|
gem "rack"
|
||||||
|
G
|
||||||
|
|
||||||
|
bundle :install, artifice: "compact_index", env: { "DEBUG_COMPACT_INDEX" => "true" }
|
||||||
|
expect(out).to include("Fetching gem metadata from #{source_uri}")
|
||||||
|
expect(err).to include("[Bundler::CompactIndexClient] available?")
|
||||||
|
expect(err).to include("[Bundler::CompactIndexClient] fetching versions")
|
||||||
|
expect(err).to include("[Bundler::CompactIndexClient] info(rack)")
|
||||||
|
expect(err).to include("[Bundler::CompactIndexClient] fetching info/rack")
|
||||||
|
expect(the_bundle).to include_gems "rack 1.0.0"
|
||||||
|
end
|
||||||
|
|
||||||
it "should URI encode gem names" do
|
it "should URI encode gem names" do
|
||||||
gemfile <<-G
|
gemfile <<-G
|
||||||
source "#{source_uri}"
|
source "#{source_uri}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user