Projects
home:vanmeeuwen:lesb
rubygems
rubygems-1.8.8-revert-to-git-tree.patch
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File rubygems-1.8.8-revert-to-git-tree.patch of Package rubygems
Only in rubygems-1.8.8/./: .gemtest Only in git/rubygems/: .git Only in git/rubygems/: .gitignore diff -ur rubygems-1.8.8/./lib/rubygems/commands/fetch_command.rb git/rubygems/lib/rubygems/commands/fetch_command.rb --- rubygems-1.8.8/./lib/rubygems/commands/fetch_command.rb 2011-08-12 09:11:38.000000000 +0900 +++ git/rubygems/lib/rubygems/commands/fetch_command.rb 2011-08-20 16:54:40.000000000 +0900 @@ -58,7 +58,8 @@ next end - Gem::RemoteFetcher.fetcher.download spec, source_uri, Dir.pwd + path = Gem::RemoteFetcher.fetcher.download spec, source_uri + FileUtils.mv path, File.basename(spec.cache_file) say "Downloaded #{spec.full_name}" end diff -ur rubygems-1.8.8/./lib/rubygems/remote_fetcher.rb git/rubygems/lib/rubygems/remote_fetcher.rb --- rubygems-1.8.8/./lib/rubygems/remote_fetcher.rb 2011-08-12 09:11:38.000000000 +0900 +++ git/rubygems/lib/rubygems/remote_fetcher.rb 2011-08-20 16:54:40.000000000 +0900 @@ -98,9 +98,7 @@ def download(spec, source_uri, install_dir = Gem.dir) Gem.ensure_gem_subdirectories(install_dir) rescue nil - if Dir.pwd == install_dir then - cache_dir = install_dir - elsif File.writable?(install_dir) + if File.writable?(install_dir) cache_dir = File.join install_dir, "cache" else cache_dir = File.join Gem.user_dir, "cache" Only in rubygems-1.8.8/./: rubygems-update-1.8.8 Only in git/rubygems/: tmp2.patch
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.