lib/flipper/middleware/memoizer.rb in flipper-0.17.1 vs lib/flipper/middleware/memoizer.rb in flipper-0.17.2

- old
+ new

@@ -21,10 +21,10 @@ # # using with preload specific features # use Flipper::Middleware::Memoizer, preload: [:stats, :search, :some_feature] # def initialize(app, opts = {}) if opts.is_a?(Flipper::DSL) || opts.is_a?(Proc) - raise 'Flipper::Middleware::Memoizer no longer initializes with a flipper instance or block. Read more at: https://git.io/vSo31.' # rubocop:disable LineLength + raise 'Flipper::Middleware::Memoizer no longer initializes with a flipper instance or block. Read more at: https://git.io/vSo31.' # rubocop:disable Layout/LineLength end @app = app @opts = opts @env_key = opts.fetch(:env_key, 'flipper')