Sha256: c8ab5229c82b31683ce575b8766afdd6a8b5e78b69407b8f3cf0bba56cc3b228

Contents?: true

Size: 607 Bytes

Versions: 45

Compression:

Stored size: 607 Bytes

Contents

# frozen_string_literal: true

require 'eac_ruby_gems_utils/gem'

module EacRailsBase0
  module Gems
    class << self
      enable_simple_cache

      def vendor_gems_root
        ::Rails.root.join('vendor', 'gems')
      end

      private

      def app_uncached
        ::EacRubyGemsUtils::Gem.new(::Rails.root)
      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

45 entries across 45 versions & 1 rubygems

Version Path
eac_rails_base0-0.57.0 lib/eac_rails_base0/gems.rb
eac_rails_base0-0.56.0 lib/eac_rails_base0/gems.rb
eac_rails_base0-0.55.3 lib/eac_rails_base0/gems.rb
eac_rails_base0-0.55.2 lib/eac_rails_base0/gems.rb
eac_rails_base0-0.55.1 lib/eac_rails_base0/gems.rb
eac_rails_base0-0.55.0 lib/eac_rails_base0/gems.rb
eac_rails_base0-0.54.0 lib/eac_rails_base0/gems.rb
eac_rails_base0-0.53.0 lib/eac_rails_base0/gems.rb
eac_rails_base0-0.52.3 lib/eac_rails_base0/gems.rb
eac_rails_base0-0.52.2 lib/eac_rails_base0/gems.rb
eac_rails_base0-0.52.1 lib/eac_rails_base0/gems.rb
eac_rails_base0-0.52.0 lib/eac_rails_base0/gems.rb
eac_rails_base0-0.51.0 lib/eac_rails_base0/gems.rb
eac_rails_base0-0.50.0 lib/eac_rails_base0/gems.rb
eac_rails_base0-0.49.0 lib/eac_rails_base0/gems.rb
eac_rails_base0-0.48.1 lib/eac_rails_base0/gems.rb
eac_rails_base0-0.48.0 lib/eac_rails_base0/gems.rb
eac_rails_base0-0.47.0 lib/eac_rails_base0/gems.rb
eac_rails_base0-0.46.0 lib/eac_rails_base0/gems.rb
eac_rails_base0-0.45.0 lib/eac_rails_base0/gems.rb