lib/dalli/client.rb in dalli-2.0.0 vs lib/dalli/client.rb in dalli-2.0.1
- old
+ new
@@ -112,10 +112,9 @@
perform(:set, key, newvalue, ttl, cas, options)
end
end
def set(key, value, ttl=nil, options=nil)
- raise "Invalid API usage, please require 'dalli/memcache-client' for compatibility, see Upgrade.md" if options == true
ttl ||= @options[:expires_in]
perform(:set, key, value, ttl, 0, options)
end
##