tagged-cache 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +4 -0
- data/lib/active_support/cache/tagged_store.rb +3 -3
- metadata +3 -3
data/History.txt
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
require "active_support/core_ext/integer/time"
|
2
|
-
require "active_support/core_ext/hash"
|
2
|
+
require "active_support/core_ext/hash/except"
|
3
3
|
|
4
4
|
module ActiveSupport
|
5
5
|
module Cache
|
@@ -61,9 +61,9 @@ module ActiveSupport
|
|
61
61
|
|
62
62
|
def read_tags(*keys)
|
63
63
|
instrument(:read_tags, keys) do
|
64
|
-
options = keys.extract_options!
|
64
|
+
options = keys.extract_options!
|
65
65
|
keys = keys.map { |k| expanded_tag(k) }
|
66
|
-
tags = @tag_store.read_multi(*
|
66
|
+
tags = @tag_store.read_multi(*keys)
|
67
67
|
(keys - tags.keys).each do |unknown_tag|
|
68
68
|
tags[unknown_tag] = read_tag(unknown_tag)
|
69
69
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tagged-cache
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 17
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 1.0.
|
9
|
+
- 3
|
10
|
+
version: 1.0.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Anton Ageev
|