lib/shaddox/repo.rb in shaddox-0.0.4 vs lib/shaddox/repo.rb in shaddox-0.0.5

- old
+ new

@@ -1,9 +1,12 @@ module Shaddox class Repo - attr_reader :info + attr_reader :url, :branch, :vcs def initialize(info) @info = info + @url = info[:url] + @branch = info[:branch] || 'master' + @vcs = info[:vcs] || :git end def to_source "Shaddox::Repo.new(#{@info.inspect})" end