Sha256: 8959ff1a5e42fa0f3bf756f315bec2b95e1db05c7b1b46aceb3105f982568293
Contents?: true
Size: 444 Bytes
Versions: 29
Compression:
Stored size: 444 Bytes
Contents
# frozen-string-literal: true module Mobility module Plugins module Sequel =begin Adds hook to clear Mobility cache when +refresh+ is called on Sequel model. =end module Cache extend Plugin requires :cache, include: false included_hook do |klass| define_cache_hooks(klass, :refresh) if options[:cache] end end end register_plugin(:sequel_cache, Sequel::Cache) end end
Version data entries
29 entries across 29 versions & 1 rubygems