model-cache 0.2.7 → 0.2.8
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.
- data/lib/model-cache.rb +1 -1
- metadata +3 -3
data/lib/model-cache.rb
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
module ModelCache
|
|
2
2
|
|
|
3
|
-
DEFAULT_TIME = 12
|
|
3
|
+
DEFAULT_TIME = 12*3600 unless const_defined?(:DEFAULT_TIME)
|
|
4
4
|
NIL_OBJECT = :__i_have_no_idea_how_to_do_this_without_an_ugly_symbol unless const_defined?(:NIL_OBJECT)
|
|
5
5
|
|
|
6
6
|
def self.included(klass)
|
metadata
CHANGED
|
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
|
5
5
|
segments:
|
|
6
6
|
- 0
|
|
7
7
|
- 2
|
|
8
|
-
-
|
|
9
|
-
version: 0.2.
|
|
8
|
+
- 8
|
|
9
|
+
version: 0.2.8
|
|
10
10
|
platform: ruby
|
|
11
11
|
authors:
|
|
12
12
|
- Frantisek Havluj
|
|
@@ -14,7 +14,7 @@ autorequire:
|
|
|
14
14
|
bindir: bin
|
|
15
15
|
cert_chain: []
|
|
16
16
|
|
|
17
|
-
date: 2010-
|
|
17
|
+
date: 2010-11-23 00:00:00 -05:00
|
|
18
18
|
default_executable:
|
|
19
19
|
dependencies: []
|
|
20
20
|
|