module EacRailsBase0::Gems

Public Class Methods

vendor_gems_root() click to toggle source
# File lib/eac_rails_base0/gems.rb, line 10
def vendor_gems_root
  ::Rails.root.join('vendor', 'gems')
end

Private Class Methods

all_uncached() click to toggle source
# File lib/eac_rails_base0/gems.rb, line 20
def all_uncached
  vendor_gems + [app]
end
app_uncached() click to toggle source
# File lib/eac_rails_base0/gems.rb, line 16
def app_uncached
  ::EacRubyGemsUtils::Gem.new(::Rails.root)
end
vendor_gems_uncached() click to toggle source
# File lib/eac_rails_base0/gems.rb, line 24
def vendor_gems_uncached
  r = []
  vendor_gems_root.each_child.each do |child|
    r << ::EacRubyGemsUtils::Gem.new(child) if child.directory?
  end
  r
end