class Bundler::Dsl

def _normalize_options(name, version, opts)

def _normalize_options(name, version, opts)
  _normalize_hash(opts)
  group = opts.delete("group") || @group
  # Normalize git and path options
  ["git", "path"].each do |type|
    if param = opts[type]
      source = send(type, param, opts.dup, :prepend => true)
      source.default_spec name, version if _version?(version)
      opts["source"] = source
    end
  end
  opts["group"] = group
end