supercache 0.7.2 → 0.7.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/lib/supercache/super_query_cache.rb +0 -1
- data/lib/supercache/version.rb +1 -1
- metadata +1 -2
- data/.ruby-gemset +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9e04d2ffc0a0da8e61bed075e158cb1d3cb1aaeb
|
4
|
+
data.tar.gz: 4b74aa553e774d8651973d978249aab8dd8a4e39
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 83be788d6752bd40137c1fb207769a2b82ea54b472b38d4dd6a55d917e2cf88b5d925b12dbaadd3c4e94647bec146e6028405e6d862476c3477f7f04ddfde248
|
7
|
+
data.tar.gz: a20fb7baebd6948172b5687f70594c75138b5c40064082608fae90d08d83f624cf1840dd54fb445986c96cca1d681ae14c66b8758187e9f5f2f2ea8c1fc28314
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
2.4.2
|
@@ -14,7 +14,6 @@ end
|
|
14
14
|
|
15
15
|
module SuperQueryCache
|
16
16
|
def cache_sql(*args, &block)
|
17
|
-
binding.pry
|
18
17
|
if Rails.cache.read(:ar_supercache)
|
19
18
|
sub_key = args[1].collect{|a| "#{a.try(:name)} #{a.try(:value)}"}
|
20
19
|
Rails.cache.fetch(Digest::SHA1.hexdigest("supercache_#{args[0]}_#{sub_key}")) do
|
data/lib/supercache/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: supercache
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bragadeesh J
|
@@ -77,7 +77,6 @@ extra_rdoc_files: []
|
|
77
77
|
files:
|
78
78
|
- ".gitignore"
|
79
79
|
- ".rspec"
|
80
|
-
- ".ruby-gemset"
|
81
80
|
- ".ruby-version"
|
82
81
|
- ".travis.yml"
|
83
82
|
- Appraisals
|
data/.ruby-gemset
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
supercache
|