123456789_123456789_123456789_123456789_123456789_

Class: Gem::SpecificationRecord

Relationships & Source Files
Inherits: Object
Defined in: lib/bundler/rubygems_ext.rb

Overview

Can be removed once RubyGems 4.0.0 support is dropped

Class Method Summary

Class Method Details

.dirs_from(paths)

[ GitHub ]

  
# File 'lib/bundler/rubygems_ext.rb', line 57

def self.dirs_from(paths)
  paths.map {|path| File.join(path, "specifications") }
end

.specification_dir_for(spec, base_dir)

[ GitHub ]

  
# File 'lib/bundler/rubygems_ext.rb', line 51

def self.specification_dir_for(spec, base_dir)
  File.join(base_dir, "specifications")
end