Sha256: c3f9b67e478b6cb235f5c9fecce2d66a7d15cd0de8c90d08083ea607112fe9d1
Contents?: true
Size: 478 Bytes
Versions: 19
Compression:
Stored size: 478 Bytes
Contents
require 'rubygems/dependency' module Bundler class Dependency < Gem::Dependency attr_reader :autorequire attr_reader :groups def initialize(name, version, options = {}, &blk) super(name, version) @autorequire = nil @groups = Array(options["group"] || :default).map { |g| g.to_sym } @source = options["source"] if options.key?('require') @autorequire = Array(options['require'] || []) end end end end
Version data entries
19 entries across 19 versions & 1 rubygems