appoxy-simple_record 1.0.16 → 1.0.17
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/simple_record.rb +2 -4
- metadata +5 -5
- data/bin/simple_record +0 -3
data/lib/simple_record.rb
CHANGED
@@ -770,8 +770,8 @@ This is done on getters now
|
|
770
770
|
class_name = results.class.name
|
771
771
|
id = results.id
|
772
772
|
cache_key = self.cache_key(class_name, id)
|
773
|
-
|
774
|
-
@@cache_store.write(cache_key, results, :expires_in =>
|
773
|
+
puts 'caching result at ' + cache_key + ': ' + results.inspect
|
774
|
+
@@cache_store.write(cache_key, results, :expires_in =>30)
|
775
775
|
end
|
776
776
|
end
|
777
777
|
end
|
@@ -780,8 +780,6 @@ This is done on getters now
|
|
780
780
|
return class_name + "/" + id.to_s
|
781
781
|
end
|
782
782
|
|
783
|
-
|
784
|
-
|
785
783
|
@@debug=""
|
786
784
|
def self.debug
|
787
785
|
@@debug
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: appoxy-simple_record
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.17
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Travis Reeder
|
@@ -10,14 +10,14 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2009-06-
|
14
|
-
default_executable:
|
13
|
+
date: 2009-06-23 00:00:00 -07:00
|
14
|
+
default_executable:
|
15
15
|
dependencies: []
|
16
16
|
|
17
17
|
description: Drop in replacement for ActiveRecord to Amazon SimpleDB instead.
|
18
18
|
email: travis@appoxy.com
|
19
|
-
executables:
|
20
|
-
|
19
|
+
executables: []
|
20
|
+
|
21
21
|
extensions: []
|
22
22
|
|
23
23
|
extra_rdoc_files:
|
data/bin/simple_record
DELETED