lib/berkshelf/locations/github_location.rb in berkshelf-2.0.18 vs lib/berkshelf/locations/github_location.rb in berkshelf-3.0.0.beta1

- old
+ new

@@ -15,10 +15,10 @@ # # @option options [String] :github # the GitHub repo identifier to clone # @option options [#to_sym] :protocol # the protocol with which to communicate with GitHub - def initialize(name, version_constraint, options = {}) + def initialize(dependency, options = {}) @repo_identifier = options.delete(:github) @protocol = (options.delete(:protocol) || DEFAULT_PROTOCOL).to_sym options[:git] = github_url super end