kasket 0.7.3 → 0.7.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/kasket.rb +1 -1
- data/lib/kasket/read_mixin.rb +1 -1
- metadata +2 -2
data/lib/kasket.rb
CHANGED
data/lib/kasket/read_mixin.rb
CHANGED
@@ -13,7 +13,7 @@ module Kasket
|
|
13
13
|
if query && has_kasket_index_on?(query[:index])
|
14
14
|
|
15
15
|
if value = Rails.cache.read(query[:key])
|
16
|
-
Array.wrap(value).collect
|
16
|
+
Array.wrap(value).collect { |record| instantiate(record.dup) }
|
17
17
|
else
|
18
18
|
store_in_kasket(query[:key], find_by_sql_without_kasket(sql))
|
19
19
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kasket
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mick Staugaard
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2010-01-
|
13
|
+
date: 2010-01-27 00:00:00 -08:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|