Sha256: f53687dcaf2c0d3bd45217e1c6c7f64bc1d28e1b22c1d0a799868dc9d2b71107
Contents?: true
Size: 685 Bytes
Versions: 9
Compression:
Stored size: 685 Bytes
Contents
# frozen_string_literal: true require 'avm/eac_ruby_base1/sources/base' module Ehbrs module Gems class << self enable_simple_cache def app_path ::Pathname.new('../..').expand_path(__dir__) end def vendor_gems_root app_path.join('vendor') end private def app_uncached ::Avm::EacRubyBase1::Sources::Base.new(app_path) end def all_uncached vendor_gems + [app] end def vendor_gems_uncached r = [] vendor_gems_root.each_child.each do |child| r << ::EacRubyGemsUtils::Gem.new(child) if child.directory? end r end end end end
Version data entries
9 entries across 9 versions & 1 rubygems