mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/rubygems: Update to RubyGems master 66e5c39. Notable changes:
Implement gem.deps.rb (Gemfile) .lock support Fixed `gem uninstall` for a relative directory in GEM_HOME. * test/rubygems: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43939 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
6727297dfe
commit
73fc703f7c
31 changed files with 598 additions and 26 deletions
|
|
@ -101,6 +101,24 @@ class Gem::FakeFetcher
|
|||
response
|
||||
end
|
||||
|
||||
def pretty_print q # :nodoc:
|
||||
q.group 2, '[FakeFetcher', ']' do
|
||||
q.breakable
|
||||
q.text 'URIs:'
|
||||
|
||||
q.breakable
|
||||
q.pp @data.keys
|
||||
|
||||
unless @api_endpoints.empty? then
|
||||
q.breakable
|
||||
q.text 'API endpoints:'
|
||||
|
||||
q.breakable
|
||||
q.pp @api_endpoints.keys
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
def fetch_size(path)
|
||||
path = path.to_s
|
||||
@paths << path
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue