lib/shaddox/repo.rb in shaddox-0.0.19 vs lib/shaddox/repo.rb in shaddox-0.0.20
- old
+ new
@@ -4,9 +4,10 @@
def initialize(info)
@info = info
@url = info[:url]
@branch = info[:branch] || 'master'
@vcs = info[:vcs] || :git
+ @shared = [info[:shared]].flatten || []
end
def to_source
"Shaddox::Repo.new(#{@info.inspect})"
end