Sha256: 688bece448b27f058117a85a30bdd9ab24cf42be7d04d47241810310985d902f
Contents?: true
Size: 666 Bytes
Versions: 33
Compression:
Stored size: 666 Bytes
Contents
# frozen_string_literal: true require 'eac_ruby_gems_utils/gem' 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 ::EacRubyGemsUtils::Gem.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
33 entries across 33 versions & 1 rubygems