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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 3af1f3228eb57a6a08b6a1bb904f8c1008fe6a9c
4
- data.tar.gz: bb81c31d6447f9bd198cc3ef77a60d0fcc3ffefd
2
+ SHA256:
3
+ metadata.gz: e11bd8e3f9556ae69028ea739b812fc8f8107841a41200bd8a7b6ed83d763298
4
+ data.tar.gz: 0e71f50fc35fac48272b76da2a43796309d303036fa8791baaef0da9734f4a2e
5
5
  SHA512:
6
- metadata.gz: 128dd18180631c49207e3070b61bbe1ba4d4ce89db46efc4ba7d2f16d5cd1a828230fa536df1a7b817b11fd9824b1de75e194a08f5e34b510ef9801260a1b02f
7
- data.tar.gz: 362939552ce228fe73efc07c1698a3a48f5e0f051e2233de6db66abb8d6c03a964138435c7a16a088d7813265d9aa6fc4c27f4fa0347c4e5eded5a2c4d12d307
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
- alias_method_chain :exist?, :tags
17
- alias_method_chain :read, :tags
18
- alias_method_chain :read_multi, :tags
19
- alias_method_chain :write, :tags
20
- alias_method_chain :fetch, :tags
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
@@ -1,7 +1,7 @@
1
1
  module Rails
2
2
  module Cache
3
3
  module Tags
4
- VERSION = "2.0.0"
4
+ VERSION = "2.1.0"
5
5
  end
6
6
  end
7
7
  end
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.0.0
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: 2017-08-21 00:00:00.000000000 Z
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.5.1
202
+ rubygems_version: 2.7.6
203
203
  signing_key:
204
204
  specification_version: 4
205
205
  summary: Tagged caching support for Rails