lib/split/persistence/redis_adapter.rb in split-4.0.1 vs lib/split/persistence/redis_adapter.rb in split-4.0.2

- old
+ new

@@ -1,11 +1,11 @@ # frozen_string_literal: true module Split module Persistence class RedisAdapter - DEFAULT_CONFIG = {:namespace => 'persistence'}.freeze + DEFAULT_CONFIG = { namespace: "persistence" }.freeze attr_reader :redis_key def initialize(context, key = nil) if key @@ -42,11 +42,11 @@ def self.find(user_id) new(nil, user_id) end - def self.with_config(options={}) + def self.with_config(options = {}) self.config.merge!(options) self end def self.config @@ -54,9 +54,8 @@ end def self.reset_config! @config = DEFAULT_CONFIG.dup end - end end end