summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Lerche <carllerche@mac.com>2010-02-02 08:35:11 -0800
committerCarl Lerche <carllerche@mac.com>2010-02-02 08:35:11 -0800
commitc93a05f68ebc48fe05de5844ddb4b9ff600b3f23 (patch)
tree0674489abf158478a38094d0b5e8cc2ce3937b47
parent78a6b48ef5a4a70cdf97acc7a7575a40b5878a85 (diff)
downloadbundler-c93a05f68ebc48fe05de5844ddb4b9ff600b3f23.tar.gz
Add Environment#gems which aliases specs
-rw-r--r--lib/bundler/environment.rb2
-rw-r--r--spec/runtime/load_spec.rb1
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/bundler/environment.rb b/lib/bundler/environment.rb
index 03fda67a5f..df85c06f10 100644
--- a/lib/bundler/environment.rb
+++ b/lib/bundler/environment.rb
@@ -48,6 +48,8 @@ module Bundler
end
end
+ alias gems specs
+
def index
@definition.local_index
end
diff --git a/spec/runtime/load_spec.rb b/spec/runtime/load_spec.rb
index 9898df85c1..51e9cd0bee 100644
--- a/spec/runtime/load_spec.rb
+++ b/spec/runtime/load_spec.rb
@@ -17,7 +17,6 @@ describe "Bundler.load" do
end
it "provides a list of the resolved gems" do
- pending
gemfile <<-G
source "file://#{gem_repo1}"
gem "rack"