cache_cache 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cache_cache.rb +8 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aa10894db3c207e37bca18a00f6d05d63f409997
|
4
|
+
data.tar.gz: 7b69a4f470b3c1eec1d181c1f8e0997ee041416f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 56d3e67595b1b4d0ce571a24dce0226c27db2a388d1323706315f2576f4ee0945988137dfc20ea4483dcf80df5c58595cadda7afbce39399074fef6a8415955c
|
7
|
+
data.tar.gz: b81988453e5de261dff3abbf9d9b0b759da4ddfe30c1bcc247e17d7a5dd6ee64ac44b670a7452b1cd3729a1ab1aa7f8b8b5f24929dfbbc44e1ef76a70470d281
|
data/lib/cache_cache.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
module Rails
|
2
2
|
|
3
|
-
# CacheCache allow you to manage dynamically multiple
|
3
|
+
# CacheCache allow you to manage dynamically multiple groups of HTML5 manifests.
|
4
4
|
# CacheCache use rails cache to store generated manifests.
|
5
5
|
#
|
6
6
|
class CacheCache
|
@@ -15,7 +15,13 @@ module Rails
|
|
15
15
|
@network = { }
|
16
16
|
@fallback = { }
|
17
17
|
|
18
|
-
|
18
|
+
self.configure(&block) if block_given?
|
19
|
+
end
|
20
|
+
|
21
|
+
# Configure
|
22
|
+
#
|
23
|
+
def configure(&block)
|
24
|
+
instance_eval(&block)
|
19
25
|
end
|
20
26
|
|
21
27
|
# Get / Set an entry into the cache section of the manifest
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cache_cache
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Clement Bruchon
|
@@ -10,7 +10,7 @@ bindir: bin
|
|
10
10
|
cert_chain: []
|
11
11
|
date: 2013-12-17 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
|
-
description: CacheCache allow you to manage dynamically multiple
|
13
|
+
description: CacheCache allow you to manage dynamically multiple groups of HTML5 manifests
|
14
14
|
using rails cache.
|
15
15
|
email: clement.bruchon@gmail.com
|
16
16
|
executables: []
|
@@ -41,5 +41,5 @@ rubyforge_project:
|
|
41
41
|
rubygems_version: 2.0.2
|
42
42
|
signing_key:
|
43
43
|
specification_version: 4
|
44
|
-
summary: Dynamic HTML5
|
44
|
+
summary: Dynamic HTML5 manifests generator
|
45
45
|
test_files: []
|