Modified: MacRuby/trunk/lib/rubygems/remote_fetcher.rb (3923 => 3924)
--- MacRuby/trunk/lib/rubygems/remote_fetcher.rb 2010-04-13 21:13:55 UTC (rev 3923)
+++ MacRuby/trunk/lib/rubygems/remote_fetcher.rb 2010-04-14 00:33:49 UTC (rev 3924)
@@ -264,11 +264,13 @@
# removed once we re-implement the IO subsystem (and therefore Net::HTTP)
# on top of CF.
framework 'Foundation'
+ say "Fetching #{uri.to_s}" if Gem.configuration.really_verbose
url = NSURL.URLWithString(uri.to_s)
data = NSMutableData.dataWithContentsOfURL(url)
if data.nil?
raise Gem::RemoteFetcher::FetchError, "error when fetching data from #{uri}"
end
+ say "OK" if Gem.configuration.really_verbose
return String.new(data)
end
raise "block is dead" if block_given?