Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Commit

Permalink
Merge remote branch 'evanphx/1-0-stable' into 1-0-stable
Browse files Browse the repository at this point in the history
  • Loading branch information
indirect committed May 4, 2011
2 parents a5d9884 + 244c72e commit edd02db
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
5 changes: 5 additions & 0 deletions lib/bundler/rubygems_ext.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ def load_paths
end
end

# RubyGems 1.8+ used only.
def gem_dir
full_gem_path
end

def groups
@groups ||= []
end
Expand Down
10 changes: 1 addition & 9 deletions lib/bundler/rubygems_integration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def mark_loaded(spec)
end

def path(obj)
Gem::Path.path(obj)
obj.to_s
end

def platforms
Expand Down Expand Up @@ -252,10 +252,6 @@ def stub_rubygems(specs)
stub_source_index137(specs)
end

def path(obj)
obj.to_s
end

def all_specs
Gem.source_index.all_gems.values
end
Expand All @@ -269,10 +265,6 @@ class Transitional < Legacy
def stub_rubygems(specs)
stub_source_index170(specs)
end

def path(obj)
obj.to_s
end
end

end
Expand Down

0 comments on commit edd02db

Please sign in to comment.