Sha256: ecf0d3390852dfe745eebd7608cec0830b23586794a0f70310f0cfca117fc65c

Contents?: true

Size: 763 Bytes

Versions: 1

Compression:

Stored size: 763 Bytes

Contents

require 'isomorfeus-react'
require 'isomorfeus/policy/config'

if RUBY_ENGINE == 'opal'
  Isomorfeus.zeitwerk.push_dir('isomorfeus_policy')
  require_tree 'isomorfeus_policy', :autoload
  Isomorfeus.zeitwerk.push_dir('policies')
else
  require 'isomorfeus_policy/lucid_policy/exception'
  require 'isomorfeus_policy/lucid_policy/helper'
  require 'isomorfeus_policy/lucid_policy/mixin'
  require 'isomorfeus_policy/lucid_policy/base'
  require 'isomorfeus_policy/lucid_authorization/mixin'
  require 'isomorfeus_policy/lucid_authorization/base'
  require 'isomorfeus_policy/anonymous'

  Opal.append_path(__dir__.untaint) unless Opal.paths.include?(__dir__.untaint)
  path = File.expand_path(File.join('app', 'policies'))
  Isomorfeus.zeitwerk.push_dir(path)
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
isomorfeus-policy-1.0.0.zeta12 lib/isomorfeus-policy.rb