Sha256: 1cd2c528aea94689b758b07c25156787e3930d411b589432b5efc69cce0d93ea

Contents?: true

Size: 623 Bytes

Versions: 2

Compression:

Stored size: 623 Bytes

Contents

# Workaround for missing zeitwerk support in jruby-9.2.8.0
if RUBY_PLATFORM.match?(/java/)
  module Devise
    module Orm
    end
    module ActiveGraph
    end
  end
end
# End workaround


require 'devise'
require 'active_graph'
require "zeitwerk"
loader = Zeitwerk::Loader.for_gem
loader.inflector.inflect "version" => "VERSION"
loader.ignore(File.expand_path('devise-activegraph.rb', __dir__))
loader.ignore(File.expand_path('./generators', __dir__))
loader.setup
loader.eager_load
ActiveGraph::Node::ClassMethods.include Devise::Models
ActiveGraph::Node::ClassMethods.include Devise::Orm::ActiveGraph::CounterIncrement

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
devise-activegraph-3.0.0 lib/devise-activegraph.rb
devise-activegraph-3.0.0.alpha.1 lib/devise-activegraph.rb