Sha256: 867ff059c83d3f78de22c3f069393651237206043a69a5e3ee9ef3b9385be6d6

Contents?: true

Size: 471 Bytes

Versions: 13

Compression:

Stored size: 471 Bytes

Contents

# frozen_string_literal: true

require 'rolify'
require 'pundit'

module G5Authenticatable
  # Rails engine for authentication/authorization against G5 Auth server
  class Engine < ::Rails::Engine
    isolate_namespace G5Authenticatable

    config.generators do |g|
      g.orm :active_record
      g.test_framework :rspec
    end

    initializer 'g5_authenticatable.filter_access_token' do |app|
      app.config.filter_parameters += [:access_token]
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
g5_authenticatable-1.1.4 lib/g5_authenticatable/engine.rb
g5_authenticatable-1.1.4.rc.3 lib/g5_authenticatable/engine.rb
g5_authenticatable-1.1.4.rc.2 lib/g5_authenticatable/engine.rb
g5_authenticatable-1.1.4.rc.1 lib/g5_authenticatable/engine.rb
g5_authenticatable-1.1.2 lib/g5_authenticatable/engine.rb
g5_authenticatable-1.1.2.pre.1 lib/g5_authenticatable/engine.rb
g5_authenticatable-1.1.2.rc.5 lib/g5_authenticatable/engine.rb
g5_authenticatable-1.1.2.rc.4 lib/g5_authenticatable/engine.rb
g5_authenticatable-1.1.2.rc.3 lib/g5_authenticatable/engine.rb
g5_authenticatable-1.1.2.rc.2 lib/g5_authenticatable/engine.rb
g5_authenticatable-1.1.2.rc.1 lib/g5_authenticatable/engine.rb
g5_authenticatable-1.1.1 lib/g5_authenticatable/engine.rb
g5_authenticatable-1.1.0 lib/g5_authenticatable/engine.rb