covercache 0.4.1 → 0.4.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 506bf529f8f5d8772b4071f2d952f12a4ceb1a1c
4
- data.tar.gz: 55acea945469e7dd0a099ab339802661761adbc8
3
+ metadata.gz: 55e16d283b58bb6ebd956383b4566649afc61921
4
+ data.tar.gz: 22a54a11b422d63e722474e81d1bda1107e93a2a
5
5
  SHA512:
6
- metadata.gz: 019c81c9abe67eb14a6042fbc2234c85401dc1585e615d5475154827d9c4e2b072fce4e4bb85d89ff22a99082548924f6aad9db8ffc6dd813c9e7835bc73811b
7
- data.tar.gz: 29e132c7e1cb2732c038e6cef196ae8eb9e1337c85500f99fe9db1e5943764dfa696712cf7fc5509bf2e8520a2e6556948945b4e034d3f24dc784988ce9a00ae
6
+ metadata.gz: 87f3fdcb8117a30cda97a7c028d2e59f0bb6889e2f71868e4a08847381c3c4d8f86755df2bfb418206274a046a60d9a66784f642ca47e24db98db0059fa8846c
7
+ data.tar.gz: 960ad18ab101b9a696e384965c011c7d11e864b4298bb0bf19aa0a3e653dc972366306c5e3880beb01166a95ded3f1a5da892ad86cf8b235057db344d24504b8
@@ -1,3 +1,3 @@
1
1
  module Covercache
2
- VERSION = "0.4.1"
2
+ VERSION = "0.4.2"
3
3
  end
data/lib/covercache.rb CHANGED
@@ -100,8 +100,8 @@ module Covercache
100
100
  #
101
101
  private
102
102
  def covercache(*keys, &block)
103
- options = keys.extract_options!
104
- props = options.slice! :debug, :without_auto_key
103
+ props = keys.extract_options!
104
+ options = props.slice! :debug, :without_auto_key
105
105
 
106
106
  keys.prepend get_auto_cache_key(caller) unless props.fetch(:without_auto_key){false}
107
107
  keys.flatten!.compact!
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: covercache
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tõnis Simo
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-07-26 00:00:00.000000000 Z
12
+ date: 2014-02-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport