rails-cache-tags 2.0.0 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/rails/cache/tags/store.rb +15 -6
- data/lib/rails/cache/tags/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: e11bd8e3f9556ae69028ea739b812fc8f8107841a41200bd8a7b6ed83d763298
|
4
|
+
data.tar.gz: 0e71f50fc35fac48272b76da2a43796309d303036fa8791baaef0da9734f4a2e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 49e4a3beec4891b1260ba4ddfcfe60ad5296c95789851fc15f222a8719645aa92e8f8e347c102f3d91fb0daab186d18de78811c3c44eee635c23ecbd427720fe
|
7
|
+
data.tar.gz: f47a38a1b5339ab4aed04d03b26e84f88d4df4c1abcc2998942c322f75226454538d553bc4db5b2d486c2a8eef2884a8d842858378dd183a0c48f0442a26ba6a
|
@@ -13,11 +13,20 @@ module Rails
|
|
13
13
|
extend ActiveSupport::Concern
|
14
14
|
|
15
15
|
included do
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
16
|
+
alias_method :exist_without_tags?, :exist?
|
17
|
+
alias_method :exist?, :exist_with_tags?
|
18
|
+
|
19
|
+
alias_method :read_without_tags, :read
|
20
|
+
alias_method :read, :read_with_tags
|
21
|
+
|
22
|
+
alias_method :read_multi_without_tags, :read_multi
|
23
|
+
alias_method :read_multi, :read_multi_with_tags
|
24
|
+
|
25
|
+
alias_method :write_without_tags, :write
|
26
|
+
alias_method :write, :write_with_tags
|
27
|
+
|
28
|
+
alias_method :fetch_without_tags, :fetch
|
29
|
+
alias_method :fetch, :fetch_with_tags
|
21
30
|
end
|
22
31
|
|
23
32
|
# cache entry (for Dalli mainly)
|
@@ -101,4 +110,4 @@ module Rails
|
|
101
110
|
end # module Store
|
102
111
|
end # module Tags
|
103
112
|
end # module Cache
|
104
|
-
end # module Rails
|
113
|
+
end # module Rails
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails-cache-tags
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexei Mikhailov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-09-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -199,7 +199,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
199
199
|
version: '0'
|
200
200
|
requirements: []
|
201
201
|
rubyforge_project:
|
202
|
-
rubygems_version: 2.
|
202
|
+
rubygems_version: 2.7.6
|
203
203
|
signing_key:
|
204
204
|
specification_version: 4
|
205
205
|
summary: Tagged caching support for Rails
|