summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSantiago Pastorino <santiago@wyeworks.com>2010-07-25 13:00:47 -0300
committerSantiago Pastorino <santiago@wyeworks.com>2010-07-25 18:23:15 -0300
commitfb8d2ccc9db64907cf750db02d5a45508b330930 (patch)
tree9cbe582f6b7b46981bb5970e3d6d84fa06b197e6
parent215c900dad63896460628622096d66fa73d27019 (diff)
downloadbundler-fb8d2ccc9db64907cf750db02d5a45508b330930.tar.gz
Path#name is overriden later so you need only to def attr_writer here
-rw-r--r--lib/bundler/source.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/bundler/source.rb b/lib/bundler/source.rb
index b2800843a2..409955bebf 100644
--- a/lib/bundler/source.rb
+++ b/lib/bundler/source.rb
@@ -258,7 +258,8 @@ module Bundler
class Path
attr_reader :path, :options
# Kind of a hack, but needed for the lock file parser
- attr_accessor :name, :version
+ attr_writer :name
+ attr_accessor :version
DEFAULT_GLOB = "{,*/}*.gemspec"