Sha256: 1c7f768c0b9d31f48bc1be8323a1c7597aaf543e1cf831323a37482be8275ef9

Contents?: true

Size: 379 Bytes

Versions: 4

Compression:

Stored size: 379 Bytes

Contents

require 'rubygems'
require 'rubygems/specification'

module Gem
  @loaded_stacks = Hash.new { |h,k| h[k] = [] }

  class Specification
    attr_accessor :source, :location

    def load_paths
      require_paths.map {|p| File.join(full_gem_path, p) }
    end
    
    def groups
      @groups ||= []
    end
  end

  class Dependency
    attr_accessor :source, :groups
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
bundler-0.9.3 lib/bundler/rubygems.rb
bundler-0.9.2 lib/bundler/rubygems.rb
bundler-0.9.1 lib/bundler/rubygems.rb
bundler-0.9.1.pre1 lib/bundler/rubygems.rb