Sha256: 62925409db77d88b2bd780dc535b99298f11f3d5a6562ddc21d8ae0cd7ed86e6

Contents?: true

Size: 376 Bytes

Versions: 5

Compression:

Stored size: 376 Bytes

Contents

require "credentials/rulebook"
require "credentials/extensions/object"
require "credentials/extensions/magic_methods"

module Credentials
  Prepositions = [ :on, :for, :with, :at, :in, :from ].freeze
end

Object.send :include, Credentials::Extensions::Object

if defined?(ActionController)
  ActionController::Base.send :include, Credentials::Extensions::ActionController
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
credentials-2.4.2 lib/credentials.rb
credentials-2.4.1 lib/credentials.rb
credentials-2.4.0 lib/credentials.rb
credentials-2.3.1 lib/credentials.rb
credentials-2.3.0 lib/credentials.rb