class Bundler::Source::Path
def default_spec(*args)
def default_spec(*args) return @default_spec if args.empty? name, version = *args @default_spec = Specification.new do |s| s.name = name s.source = self s.version = Gem::Version.new(version) s.relative_loaded_from = "#{name}.gemspec" end end