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-6.1.0 lib/marty/cache_adapters/mcfly_ruby_cache.rb
marty-5.2.0 lib/marty/cache_adapters/mcfly_ruby_cache.rb
marty-5.1.4 lib/marty/cache_adapters/mcfly_ruby_cache.rb
marty-5.1.3 lib/marty/cache_adapters/mcfly_ruby_cache.rb
marty-5.1.2 lib/marty/cache_adapters/mcfly_ruby_cache.rb
marty-5.1.1 lib/marty/cache_adapters/mcfly_ruby_cache.rb
marty-5.1.0 lib/marty/cache_adapters/mcfly_ruby_cache.rb
marty-3.1.0 lib/marty/cache_adapters/mcfly_ruby_cache.rb
marty-3.0.1 lib/marty/cache_adapters/mcfly_ruby_cache.rb
marty-4.0.0.rc2 lib/marty/cache_adapters/mcfly_ruby_cache.rb
marty-3.0.0 lib/marty/cache_adapters/mcfly_ruby_cache.rb
marty-2.9.3 lib/marty/cache_adapters/mcfly_ruby_cache.rb
marty-2.9.2 lib/marty/cache_adapters/mcfly_ruby_cache.rb
marty-2.9.1 lib/marty/cache_adapters/mcfly_ruby_cache.rb
marty-2.8.0 lib/marty/cache_adapters/mcfly_ruby_cache.rb
marty-2.7.3 lib/marty/cache_adapters/mcfly_ruby_cache.rb
marty-2.7.2 lib/marty/cache_adapters/mcfly_ruby_cache.rb
marty-2.7.1 lib/marty/cache_adapters/mcfly_ruby_cache.rb
marty-2.7.0 lib/marty/cache_adapters/mcfly_ruby_cache.rb
marty-2.6.8 lib/marty/cache_adapters/mcfly_ruby_cache.rb