mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Finish removing code, (fixes sources command test).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b7dd8d07f6
commit
4993a1a814
3 changed files with 5 additions and 10 deletions
|
@ -1,3 +1,8 @@
|
|||
Wed Jan 19 13:16:05 2011 Eric Hodel <drbrain@segment7.net>
|
||||
|
||||
* lib/rubygems/commands/sources_command.rb: Finish removing code,
|
||||
(fixes sources command test).
|
||||
|
||||
Wed Jan 19 13:04:16 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
||||
|
||||
* proc.c (proc_call): Add gc guard to avoid segfault. The fix
|
||||
|
|
|
@ -64,12 +64,6 @@ class Gem::Commands::SourcesCommand < Gem::Command
|
|||
else
|
||||
say "*** Unable to remove source cache ***"
|
||||
end
|
||||
|
||||
sic = Gem::SourceInfoCache
|
||||
remove_cache_file 'user', sic.user_cache_file
|
||||
remove_cache_file 'latest user', sic.latest_user_cache_file
|
||||
remove_cache_file 'system', sic.system_cache_file
|
||||
remove_cache_file 'latest system', sic.latest_system_cache_file
|
||||
end
|
||||
|
||||
if options[:add] then
|
||||
|
|
|
@ -137,10 +137,6 @@ beta-gems.example.com is not a URI
|
|||
|
||||
expected = <<-EOF
|
||||
*** Removed specs cache ***
|
||||
*** Removed user source cache ***
|
||||
*** Removed latest user source cache ***
|
||||
*** Removed system source cache ***
|
||||
*** Removed latest system source cache ***
|
||||
EOF
|
||||
|
||||
assert_equal expected, @ui.output
|
||||
|
|
Loading…
Reference in a new issue