Sha256: da3b6958844c6a45001ef5437427d66c91e9e09f2a644095660aeade238c0c44

Contents?: true

Size: 502 Bytes

Versions: 6

Compression:

Stored size: 502 Bytes

Contents

# frozen_string_literal: true

module Esse
  module CLI
    class ExtensionsLoader
      GEMS = %w[
        esse-rails
        esse-active_record
        esse-sequel
        esse-kaminari
        esse-pagy
        esse-will_paginate
        esse-jbuilder
        esse-redis_storage
        esse-async_indexing
      ].freeze

      def self.load!
        GEMS.each do |gem_name|
          Kernel.require(gem_name)
        rescue LoadError
          # do nothing
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
esse-0.4.0.rc4 lib/esse/cli/extensions_loader.rb
esse-0.4.0.rc3 lib/esse/cli/extensions_loader.rb
esse-0.4.0.rc2 lib/esse/cli/extensions_loader.rb
esse-0.4.0.rc1 lib/esse/cli/extensions_loader.rb
esse-0.3.5 lib/esse/cli/extensions_loader.rb
esse-0.3.4 lib/esse/cli/extensions_loader.rb