Sha256: 36c2d762fa88c0b92635c3c7642f27b02f1d0b1811bbdd448c9dbc3958b9ebe4

Contents?: true

Size: 274 Bytes

Versions: 34

Compression:

Stored size: 274 Bytes

Contents

module Marty
  module CacheAdapters
    class McflyRubyCache < ::Delorean::Cache::Adapters::RubyCache
      def cache_item?(klass:, method_name:, args:)
        ts = args && args.first

        return false if Mcfly.is_infinity(ts)

        true
      end
    end
  end
end

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
marty-2.6.7 lib/marty/cache_adapters/mcfly_ruby_cache.rb
marty-2.6.6 lib/marty/cache_adapters/mcfly_ruby_cache.rb
marty-2.6.5 lib/marty/cache_adapters/mcfly_ruby_cache.rb
marty-2.6.4 lib/marty/cache_adapters/mcfly_ruby_cache.rb
marty-2.6.3 lib/marty/cache_adapters/mcfly_ruby_cache.rb
marty-2.6.2 lib/marty/cache_adapters/mcfly_ruby_cache.rb
marty-2.6.1 lib/marty/cache_adapters/mcfly_ruby_cache.rb
marty-2.6.0 lib/marty/cache_adapters/mcfly_ruby_cache.rb
marty-2.5.9 lib/marty/cache_adapters/mcfly_ruby_cache.rb
marty-2.5.8 lib/marty/cache_adapters/mcfly_ruby_cache.rb
marty-2.5.7 lib/marty/cache_adapters/mcfly_ruby_cache.rb
marty-2.5.6 lib/marty/cache_adapters/mcfly_ruby_cache.rb
marty-2.5.5 lib/marty/cache_adapters/mcfly_ruby_cache.rb
marty-2.5.4 lib/marty/cache_adapters/mcfly_ruby_cache.rb