second_level_cache 2.1.14 → 2.1.15
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/CHANGELOG.md +3 -0
- data/lib/second_level_cache/active_record/core.rb +1 -1
- data/lib/second_level_cache/version.rb +1 -1
- metadata +18 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e39295b09b9e8ebe23ba4cfaac49a42168b5327c
|
4
|
+
data.tar.gz: 635c82b444d861fffeb61a2d7b8fc9b82ccebf76
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 675fe9b7770e085f00b210ec8aff15b5e7cc1b5fe025d894ccff0b9b29c19aed8a68f99fe28840c4fea249a190261e1b71ec3cb37e03d56239207bccdca299b9
|
7
|
+
data.tar.gz: 5e13c37f662c986d405ace8feee74703e891de3753ead0741bf39f4f06637fe91b7d86cff8bc14318019841189b44806f4d1e75a2fb2a8a857f68d451ef12fec
|
data/CHANGELOG.md
CHANGED
@@ -13,7 +13,7 @@ module SecondLevelCache
|
|
13
13
|
|
14
14
|
module ClassMethods
|
15
15
|
def find_with_cache(*ids)
|
16
|
-
return all.find(ids.first) if ids.size == 1 && ids.first.is_a?(
|
16
|
+
return all.find(ids.first) if ids.size == 1 && ids.first.is_a?(Integer)
|
17
17
|
find_without_cache(*ids)
|
18
18
|
end
|
19
19
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: second_level_cache
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hooopo
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-01-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -175,7 +175,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
175
175
|
version: '0'
|
176
176
|
requirements: []
|
177
177
|
rubyforge_project:
|
178
|
-
rubygems_version: 2.5.
|
178
|
+
rubygems_version: 2.5.2.3
|
179
179
|
signing_key:
|
180
180
|
specification_version: 4
|
181
181
|
summary: 'SecondLevelCache is a write-through and read-through caching library inspired
|
@@ -185,25 +185,25 @@ summary: 'SecondLevelCache is a write-through and read-through caching library i
|
|
185
185
|
is a cache miss, it will populate the cache. Write-Through: As objects are created,
|
186
186
|
updated, and deleted, all of the caches are automatically kept up-to-date and coherent.'
|
187
187
|
test_files:
|
188
|
-
- test/
|
189
|
-
- test/
|
190
|
-
- test/
|
191
|
-
- test/fetch_by_uniq_key_test.rb
|
188
|
+
- test/polymorphic_association_test.rb
|
189
|
+
- test/require_test.rb
|
190
|
+
- test/preloader_test.rb
|
192
191
|
- test/finder_methods_test.rb
|
193
|
-
- test/
|
192
|
+
- test/belongs_to_association_test.rb
|
193
|
+
- test/second_level_cache_test.rb
|
194
|
+
- test/record_marshal_test.rb
|
195
|
+
- test/persistence_test.rb
|
196
|
+
- test/single_table_inheritance_test.rb
|
197
|
+
- test/model/image.rb
|
194
198
|
- test/model/account.rb
|
195
|
-
- test/model/animal.rb
|
196
199
|
- test/model/book.rb
|
197
|
-
- test/model/
|
200
|
+
- test/model/topic.rb
|
201
|
+
- test/model/animal.rb
|
198
202
|
- test/model/multi_read_from_cache_test.rb
|
199
203
|
- test/model/post.rb
|
200
|
-
- test/model/topic.rb
|
201
204
|
- test/model/user.rb
|
202
|
-
- test/
|
203
|
-
- test/polymorphic_association_test.rb
|
204
|
-
- test/preloader_test.rb
|
205
|
-
- test/record_marshal_test.rb
|
206
|
-
- test/require_test.rb
|
207
|
-
- test/second_level_cache_test.rb
|
208
|
-
- test/single_table_inheritance_test.rb
|
205
|
+
- test/fetch_by_uniq_key_test.rb
|
209
206
|
- test/test_helper.rb
|
207
|
+
- test/has_one_association_test.rb
|
208
|
+
- test/base_test.rb
|
209
|
+
- test/active_record_test_case_helper.rb
|