aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler/dependency.rb
diff options
context:
space:
mode:
authorCarl Lerche <carllerche@mac.com>2010-01-29 15:14:04 -0800
committerCarl Lerche <carllerche@mac.com>2010-01-29 15:14:04 -0800
commitf329d586cde5a924f1b8e170117e5b6cb96ed9ee (patch)
treec8acce93390d51065e8d8e36913434cdd56833a7 /lib/bundler/dependency.rb
parent6a344b8cbb0fc6d740a0f0f030f0e427b9c79bfc (diff)
downloadbundler-f329d586cde5a924f1b8e170117e5b6cb96ed9ee.tar.gz
Add first round of source pinning support
Diffstat (limited to 'lib/bundler/dependency.rb')
-rw-r--r--lib/bundler/dependency.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/bundler/dependency.rb b/lib/bundler/dependency.rb
index c5a685ec..a9bee546 100644
--- a/lib/bundler/dependency.rb
+++ b/lib/bundler/dependency.rb
@@ -2,12 +2,11 @@ require 'rubygems/dependency'
module Bundler
class Dependency < Gem::Dependency
- attr_accessor :source
-
def initialize(name, version, options = {}, &blk)
super(name, version)
- @group = options["group"] || :default
+ @group = options["group"] || :default
+ @source = options["source"]
end
end
end \ No newline at end of file