lib/braid/mirror.rb in realityforge-braid-0.9.3 vs lib/braid/mirror.rb in realityforge-braid-0.9.4

- old
+ new

@@ -1,8 +1,8 @@ module Braid class Mirror - ATTRIBUTES = %w(url remote type branch squashed revision lock) + ATTRIBUTES = %w(url remote branch squashed revision lock) class UnknownType < BraidError def message "unknown type: #{super}" end @@ -27,13 +27,9 @@ branch = options["branch"] || "master" unless path = options["path"] || extract_path_from_url(url) raise PathRequired - end - - if options["rails_plugin"] - path = "vendor/plugins/#{path}" end remote = "#{branch}/braid/#{path}" squashed = !options["full"]