Sha256: b4d99fa2a170b3c60032cdb74ac50540306f00c15baeb87bbccd298d410cbd15

Contents?: true

Size: 434 Bytes

Versions: 10

Compression:

Stored size: 434 Bytes

Contents

require 'authenticate'
require 'rails'

module Authenticate
  #
  # Authenticate Rails engine.
  # Filter password, token, from spewing out.
  #
  class Engine < ::Rails::Engine
    initializer 'authenticate.filter' do |app|
      app.config.filter_parameters += [:password, :token]
    end

    config.generators do |g|
      g.test_framework :rspec
      g.fixture_replacement :factory_girl, dir: 'spec/factories'
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
authenticate-0.7.3 lib/authenticate/engine.rb
authenticate-0.7.2 lib/authenticate/engine.rb
authenticate-0.7.1 lib/authenticate/engine.rb
authenticate-0.7.0 lib/authenticate/engine.rb
authenticate-0.6.1 lib/authenticate/engine.rb
authenticate-0.6.0 lib/authenticate/engine.rb
authenticate-0.5.0 lib/authenticate/engine.rb
authenticate-0.4.0 lib/authenticate/engine.rb
authenticate-0.3.3 lib/authenticate/engine.rb
authenticate-0.3.2 lib/authenticate/engine.rb