Sha256: c6d6aeb928e1f0f412d0365b0ddbf20a1a88b202e963bee528faf51d44bf31ff

Contents?: true

Size: 762 Bytes

Versions: 10

Compression:

Stored size: 762 Bytes

Contents

require_relative 'avo/configuration'
require_relative 'avo/version'

require_relative 'avo/app/fields/field'

require_relative 'avo/app/action'

require_relative 'avo/app/filter'
require_relative 'avo/app/filters/boolean_filter'
require_relative 'avo/app/filters/select_filter'

require_relative 'avo/app/resource'

require_relative 'avo/app/licensing/license_manager'

module Avo
  ROOT_PATH = Pathname.new(File.join(__dir__, '..'))
  IN_DEVELOPMENT = ENV['AVO_IN_DEVELOPMENT'] == '1'
  PACKED = !IN_DEVELOPMENT

  class << self
    def webpacker
      @webpacker ||= ::Webpacker::Instance.new(
        root_path: ROOT_PATH,
        config_path: ROOT_PATH.join('config/webpacker.yml')
      )
    end
  end
end

require_relative 'avo/engine' if defined?(Rails)

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
avo-0.4.10 lib/avo.rb
avo-0.4.9 lib/avo.rb
avo-0.4.8 lib/avo.rb
avo-0.4.7 lib/avo.rb
avo-0.4.6 lib/avo.rb
avo-0.4.5 lib/avo.rb
avo-0.4.4 lib/avo.rb
avo-0.4.3 lib/avo.rb
avo-0.4.2 lib/avo.rb
avo-0.4.1 lib/avo.rb