Sha256: 17e5efd8fc2938644e83784d1f09fa2a7c2f732a63e189bbf0fde0c20276b776

Contents?: true

Size: 475 Bytes

Versions: 6

Compression:

Stored size: 475 Bytes

Contents

# frozen_string_literal: true

require_relative "compatibility/#{DEVISE_ORM}_patch"

module Devise
  module Models
    # These compatibility modules define methods used by devise-security
    # that may need to be defined or re-defined for compatibility between ORMs
    # and/or older versions of ORMs.
    module Compatibility
      extend ActiveSupport::Concern
      include "Devise::Models::Compatibility::#{DEVISE_ORM.to_s.classify}Patch".constantize
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
devise-security-0.18.0 lib/devise-security/models/compatibility.rb
devise-security-0.17.0 lib/devise-security/models/compatibility.rb
devise-security-0.16.0 lib/devise-security/models/compatibility.rb
devise-security-0.15.0 lib/devise-security/models/compatibility.rb
devise-security-0.14.3 lib/devise-security/models/compatibility.rb
devise-security-0.14.2 lib/devise-security/models/compatibility.rb