3d_cache 0.0.01a → 0.0.02a
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/three_d/model_fragments.rb +5 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bee9f1fb8a5aa732753cde5094fbfd38b025cae9
|
4
|
+
data.tar.gz: 9ba70824abc12703148b0efea48d9002e524f2ef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e42dcbeb22d3355f359d3e2113bd78115e1d3339a533fe87d3e448ee10b35d312139845a27347bf71dc279b30271263d8145c23dfd31f6a9624b76764bb4aba4
|
7
|
+
data.tar.gz: 952756dc1745957f3ff0d63178f5603633b361e649a0512750557f3bbdfdbb03c2ec25ebbc072e1771ecd554e5da369c5f433954cc1ff5d81cafd56111fcd612
|
@@ -5,6 +5,11 @@ module ThreeD
|
|
5
5
|
def self.included(base)
|
6
6
|
base.extend ClassMethods
|
7
7
|
end
|
8
|
+
|
9
|
+
def self.clear_cache_file(type = "")
|
10
|
+
ThreeDCachingLog.debug "delete Fragment: #{ActionController::Base.cache_store.cache_path}/views/#{type}*"
|
11
|
+
%x(rm -f #{ActionController::Base.cache_store.cache_path}/views/#{type}*)
|
12
|
+
end
|
8
13
|
|
9
14
|
module ClassMethods
|
10
15
|
def model_fragments
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: 3d_cache
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.02a
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Florian Eck
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-01-
|
11
|
+
date: 2014-01-19 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Cache results of method calls for a class in RAM
|
14
14
|
email:
|