Sha256: 70bcb21a332162a4f8edccf29ff64d5f053362dfcd6d92cc080b92528a6b2194

Contents?: true

Size: 328 Bytes

Versions: 3

Compression:

Stored size: 328 Bytes

Contents

require "devise/version"

if Devise::VERSION < "2.1"
  module DevisePasswordSharingExtension
    module Schema
      def password_sharing
        apply_devise_schema :banned_for_password_sharing_at, DateTime, :default => false
      end
    end
  end

  Devise::Schema.send(:include, DevisePasswordSharingExtension::Schema)
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
devise_password_sharing_extension-0.1.4 lib/devise_password_sharing_extension/schema.rb
devise_password_sharing_extension-0.1.3 lib/devise_password_sharing_extension/schema.rb
devise_password_sharing_extension-0.1.1 lib/devise_password_sharing_extension/schema.rb