kasket 0.7.3 → 0.7.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/kasket.rb +1 -1
  2. data/lib/kasket/read_mixin.rb +1 -1
  3. metadata +2 -2
data/lib/kasket.rb CHANGED
@@ -15,7 +15,7 @@ module Kasket
15
15
  class Version
16
16
  MAJOR = 0
17
17
  MINOR = 7
18
- PATCH = 3
18
+ PATCH = 4
19
19
  STRING = "#{MAJOR}.#{MINOR}.#{PATCH}"
20
20
  end
21
21
 
@@ -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! { |record| instantiate(record.dup) }
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.3
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-25 00:00:00 -08:00
13
+ date: 2010-01-27 00:00:00 -08:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency