Sha256: c194de97d6d404ef32ec90e527df886765b2fab426a32aac117591a781d5e4b5

Contents?: true

Size: 531 Bytes

Versions: 28

Compression:

Stored size: 531 Bytes

Contents

module ActiveSupport
  module Cache
    class FileStore
      def hobo_read_matched(matcher, options = nil)
        Enumerator.new do |y|
          options = merged_options(options)
          matcher = key_matcher(matcher, options)
          search_dir(cache_path) do |path|
            key = file_path_key(path)
            y << [key, read_entry(key, options)] if key.match(matcher)
          end
        end
      end

      alias_method(:read_matched, :hobo_read_matched) unless method_defined?(:read_matched)
    end
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
hobo-2.2.6 lib/hobo/extensions/active_support/cache/file_store.rb
hobo-2.2.5 lib/hobo/extensions/active_support/cache/file_store.rb
hobo-2.2.4 lib/hobo/extensions/active_support/cache/file_store.rb
hobo-2.2.3 lib/hobo/extensions/active_support/cache/file_store.rb
hobo-2.2.2 lib/hobo/extensions/active_support/cache/file_store.rb
hobo-2.2.1 lib/hobo/extensions/active_support/cache/file_store.rb
hobo-2.2.0 lib/hobo/extensions/active_support/cache/file_store.rb
hobo-2.1.2 lib/hobo/extensions/active_support/cache/file_store.rb
hobo-2.1.1 lib/hobo/extensions/active_support/cache/file_store.rb
hobo-2.1.0 lib/hobo/extensions/active_support/cache/file_store.rb
hobo-2.1.0.pre4 lib/hobo/extensions/active_support/cache/file_store.rb
hobo-2.1.0.pre3 lib/hobo/extensions/active_support/cache/file_store.rb
hobo-2.1.0.pre2 lib/hobo/extensions/active_support/cache/file_store.rb
hobo-2.1.0.pre1 lib/hobo/extensions/active_support/cache/file_store.rb
hobo-2.0.1 lib/hobo/extensions/active_support/cache/file_store.rb
hobo-2.0.0 lib/hobo/extensions/active_support/cache/file_store.rb
hobo-2.0.0.pre10 lib/hobo/extensions/active_support/cache/file_store.rb
hobo-2.0.0.pre9 lib/hobo/extensions/active_support/cache/file_store.rb
hobo-2.0.0.pre8 lib/hobo/extensions/active_support/cache/file_store.rb
hobo-2.0.0.pre7 lib/hobo/extensions/active_support/cache/file_store.rb