lib/g5_authenticatable/engine.rb in g5_authenticatable-0.9.1.pre.2 vs lib/g5_authenticatable/engine.rb in g5_authenticatable-1.0.0.pre.1

- old
+ new

@@ -1,18 +1,21 @@ +# 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 g.fixture_replacement :factory_girl, dir: 'spec/factories' end - initializer "g5_authenticatable.filter_access_token" do |app| - app.config.filter_parameters += [ :access_token ] + initializer 'g5_authenticatable.filter_access_token' do |app| + app.config.filter_parameters += [:access_token] end end end