rails-cache-tags 1.3.2 → 1.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/rails/cache/tags/store.rb +1 -0
- data/lib/rails/cache/tags/version.rb +1 -1
- data/spec/cache_tags_spec.rb +5 -0
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f4b353fedb116bc1b8d576beb054b76a8dba9530
|
4
|
+
data.tar.gz: 7bc4378c384faf161f3dd4887e0b162375a57429
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1e453e001334ad6ffbc62401436fd4e6673ca567d93bc11cc5d51d6c351af1329ff686fbb8dbefde9572eec5beaf1ba3679cf7cfffddf6b5baa3ec9de9e187f8
|
7
|
+
data.tar.gz: 917d425de030d371e3ef44556cd280a2dab22626fa469a13c9881a708aaa993875dc97fcf19dcf1481e4d058ef114f5289b544d04c74321fc7339664a0413ff0
|
data/spec/cache_tags_spec.rb
CHANGED
@@ -50,6 +50,11 @@ describe Rails::Cache::Tags do
|
|
50
50
|
assert_blank 'foo'
|
51
51
|
end
|
52
52
|
|
53
|
+
it 'does not delete a nonexistent key' do
|
54
|
+
expect(cache).not_to receive(:delete).with('not_exist_key', options)
|
55
|
+
expect(cache.read('not_exist_key', options)).to eq nil
|
56
|
+
end
|
57
|
+
|
53
58
|
#it 'does not read a key if it is expired' do
|
54
59
|
# ttl = 0.01
|
55
60
|
# # dalli does not support float TTLs
|
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: 1.3.
|
4
|
+
version: 1.3.3
|
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: 2017-05-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -184,11 +184,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
184
184
|
version: '0'
|
185
185
|
requirements: []
|
186
186
|
rubyforge_project:
|
187
|
-
rubygems_version: 2.4.
|
187
|
+
rubygems_version: 2.4.8
|
188
188
|
signing_key:
|
189
189
|
specification_version: 4
|
190
190
|
summary: Tagged caching support for Rails
|
191
191
|
test_files:
|
192
192
|
- spec/cache_tags_spec.rb
|
193
193
|
- spec/spec_helper.rb
|
194
|
-
has_rdoc:
|