lib/suo/client/base.rb in suo-0.2.0 vs lib/suo/client/base.rb in suo-0.2.1

- old
+ new

@@ -47,11 +47,11 @@ def refresh(key, acquisition_token) retry_with_timeout(key) do val, cas = get(key) if val.nil? - set_initial(key) + initial_set(key) next end locks = deserialize_and_clear_locks(val) @@ -92,11 +92,11 @@ retry_with_timeout(key) do val, cas = get(key) if val.nil? - set_initial(key) + initial_set(key) next end locks = deserialize_and_clear_locks(val) @@ -121,10 +121,10 @@ def set(key, newval, oldval) # rubocop:disable Lint/UnusedMethodArgument fail NotImplementedError end - def set_initial(key) # rubocop:disable Lint/UnusedMethodArgument + def initial_set(key) # rubocop:disable Lint/UnusedMethodArgument fail NotImplementedError end def synchronize(key) # rubocop:disable Lint/UnusedMethodArgument mon_synchronize { yield }