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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f45725b17348a1882662ca8d39411362eea45a60
4
- data.tar.gz: 722924ec576169736f54aaa44859a2e608fcd5cb
3
+ metadata.gz: bee9f1fb8a5aa732753cde5094fbfd38b025cae9
4
+ data.tar.gz: 9ba70824abc12703148b0efea48d9002e524f2ef
5
5
  SHA512:
6
- metadata.gz: 480cfb10842db53c1fa0cf23bf544d16f599178739a76e68f1f6fb4234b0caf07a1d4895432647374f69acb9de677b602510024a63cab264439e0499e56bc4a7
7
- data.tar.gz: 71c086fdcdaf2497a8ad422f3a72e2c3db2623476c0affcc35ce710eab17fcec7350ad7f97853d612da612e42c9e50e89f4497341a684d086cdbf90c826c4ce5
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.01a
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-18 00:00:00.000000000 Z
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: