class Bundler::Dependency
def initialize(name, version, options = {}, &blk)
def initialize(name, version, options = {}, &blk) type = options["type"] || :runtime super(name, version, type) @autorequire = nil @groups = Array(options["group"] || :default).map(&:to_sym) @source = options["source"] @platforms = Array(options["platforms"]) @env = options["env"] @should_include = options.fetch("should_include", true) @autorequire = Array(options["require"] || []) if options.key?("require") end