Sha256: 80b3af7a60b5cbc49fc45cfff2029e24f057f0863ca4d2bbdcddebc12520fd0d

Contents?: true

Size: 691 Bytes

Versions: 2

Compression:

Stored size: 691 Bytes

Contents

require 'opal'
require 'isomorfeus-redux'
require 'isomorfeus-react'
require 'isomorfeus/policy/config'
require 'lucid_policy/exception'
require 'isomorfeus/policy/helper'
require 'lucid_policy/mixin'
require 'lucid_policy/base'

if RUBY_ENGINE == 'opal'
  Opal::Autoloader.add_load_path('policies')
else
  Opal.append_path(__dir__.untaint) unless Opal.paths.include?(__dir__.untaint)

  require 'active_support/dependencies'

  path = File.expand_path(File.join('isomorfeus', 'policies'))

  ActiveSupport::Dependencies.autoload_paths << path
  # we also need to require them all, so classes are registered accordingly
  Dir.glob("#{path}/**/*.rb").each do |file|
    require file
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
isomorfeus-policy-1.0.0.epsilon1 lib/isomorfeus-policy.rb
isomorfeus-policy-1.0.0.delta12 lib/isomorfeus-policy.rb