mguymon-cache-money 0.2.12
Sign up to get free protection for your applications and to get access to all the features.
- data/README +210 -0
- data/TODO +17 -0
- data/UNSUPPORTED_FEATURES +13 -0
- data/config/environment.rb +14 -0
- data/config/memcached.yml +6 -0
- data/db/schema.rb +18 -0
- data/init.rb +1 -0
- data/lib/cache_money.rb +84 -0
- data/lib/cash/accessor.rb +83 -0
- data/lib/cash/buffered.rb +129 -0
- data/lib/cash/config.rb +74 -0
- data/lib/cash/fake.rb +83 -0
- data/lib/cash/finders.rb +38 -0
- data/lib/cash/index.rb +214 -0
- data/lib/cash/local.rb +76 -0
- data/lib/cash/lock.rb +63 -0
- data/lib/cash/query/abstract.rb +194 -0
- data/lib/cash/query/calculation.rb +45 -0
- data/lib/cash/query/primary_key.rb +50 -0
- data/lib/cash/query/select.rb +16 -0
- data/lib/cash/request.rb +3 -0
- data/lib/cash/transactional.rb +43 -0
- data/lib/cash/util/array.rb +9 -0
- data/lib/cash/util/marshal.rb +19 -0
- data/lib/cash/write_through.rb +69 -0
- data/lib/memcached_wrapper.rb +263 -0
- data/rails/init.rb +40 -0
- data/spec/cash/accessor_spec.rb +186 -0
- data/spec/cash/active_record_spec.rb +224 -0
- data/spec/cash/calculations_spec.rb +67 -0
- data/spec/cash/finders_spec.rb +382 -0
- data/spec/cash/lock_spec.rb +108 -0
- data/spec/cash/marshal_spec.rb +60 -0
- data/spec/cash/order_spec.rb +172 -0
- data/spec/cash/transactional_spec.rb +578 -0
- data/spec/cash/window_spec.rb +195 -0
- data/spec/cash/write_through_spec.rb +223 -0
- data/spec/spec_helper.rb +56 -0
- metadata +149 -0
metadata
ADDED
@@ -0,0 +1,149 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: mguymon-cache-money
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 15
|
5
|
+
prerelease: false
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 2
|
9
|
+
- 12
|
10
|
+
version: 0.2.12
|
11
|
+
platform: ruby
|
12
|
+
authors:
|
13
|
+
- Nick Kallen
|
14
|
+
- Ashley Martens
|
15
|
+
autorequire:
|
16
|
+
bindir: bin
|
17
|
+
cert_chain: []
|
18
|
+
|
19
|
+
date: 2010-07-12 00:00:00 -04:00
|
20
|
+
default_executable:
|
21
|
+
dependencies:
|
22
|
+
- !ruby/object:Gem::Dependency
|
23
|
+
name: active_record
|
24
|
+
prerelease: false
|
25
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
26
|
+
none: false
|
27
|
+
requirements:
|
28
|
+
- - ">="
|
29
|
+
- !ruby/object:Gem::Version
|
30
|
+
hash: 7
|
31
|
+
segments:
|
32
|
+
- 2
|
33
|
+
- 2
|
34
|
+
- 0
|
35
|
+
version: 2.2.0
|
36
|
+
type: :runtime
|
37
|
+
version_requirements: *id001
|
38
|
+
- !ruby/object:Gem::Dependency
|
39
|
+
name: active_support
|
40
|
+
prerelease: false
|
41
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
42
|
+
none: false
|
43
|
+
requirements:
|
44
|
+
- - ">="
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
hash: 7
|
47
|
+
segments:
|
48
|
+
- 2
|
49
|
+
- 2
|
50
|
+
- 0
|
51
|
+
version: 2.2.0
|
52
|
+
type: :runtime
|
53
|
+
version_requirements: *id002
|
54
|
+
description: Cache utilities.
|
55
|
+
email: michael.guymon@gmail.com
|
56
|
+
executables: []
|
57
|
+
|
58
|
+
extensions: []
|
59
|
+
|
60
|
+
extra_rdoc_files: []
|
61
|
+
|
62
|
+
files:
|
63
|
+
- README
|
64
|
+
- TODO
|
65
|
+
- UNSUPPORTED_FEATURES
|
66
|
+
- lib/cash/accessor.rb
|
67
|
+
- lib/cash/buffered.rb
|
68
|
+
- lib/cash/config.rb
|
69
|
+
- lib/cash/finders.rb
|
70
|
+
- lib/cash/index.rb
|
71
|
+
- lib/cash/local.rb
|
72
|
+
- lib/cash/lock.rb
|
73
|
+
- lib/cash/fake.rb
|
74
|
+
- lib/cash/query/abstract.rb
|
75
|
+
- lib/cash/query/calculation.rb
|
76
|
+
- lib/cash/query/primary_key.rb
|
77
|
+
- lib/cash/query/select.rb
|
78
|
+
- lib/cash/request.rb
|
79
|
+
- lib/cash/transactional.rb
|
80
|
+
- lib/cash/util/array.rb
|
81
|
+
- lib/cash/util/marshal.rb
|
82
|
+
- lib/cash/write_through.rb
|
83
|
+
- lib/cache_money.rb
|
84
|
+
- lib/memcached_wrapper.rb
|
85
|
+
- rails/init.rb
|
86
|
+
- init.rb
|
87
|
+
- config/environment.rb
|
88
|
+
- config/memcached.yml
|
89
|
+
- db/schema.rb
|
90
|
+
- spec/cash/accessor_spec.rb
|
91
|
+
- spec/cash/active_record_spec.rb
|
92
|
+
- spec/cash/calculations_spec.rb
|
93
|
+
- spec/cash/finders_spec.rb
|
94
|
+
- spec/cash/lock_spec.rb
|
95
|
+
- spec/cash/order_spec.rb
|
96
|
+
- spec/cash/transactional_spec.rb
|
97
|
+
- spec/cash/window_spec.rb
|
98
|
+
- spec/cash/write_through_spec.rb
|
99
|
+
- spec/cash/marshal_spec.rb
|
100
|
+
- spec/spec_helper.rb
|
101
|
+
has_rdoc: true
|
102
|
+
homepage: http://github.com/mguymon/cache-money
|
103
|
+
licenses: []
|
104
|
+
|
105
|
+
post_install_message:
|
106
|
+
rdoc_options: []
|
107
|
+
|
108
|
+
require_paths:
|
109
|
+
- lib
|
110
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
111
|
+
none: false
|
112
|
+
requirements:
|
113
|
+
- - ">="
|
114
|
+
- !ruby/object:Gem::Version
|
115
|
+
hash: 3
|
116
|
+
segments:
|
117
|
+
- 0
|
118
|
+
version: "0"
|
119
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
120
|
+
none: false
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
hash: 3
|
125
|
+
segments:
|
126
|
+
- 0
|
127
|
+
version: "0"
|
128
|
+
requirements: []
|
129
|
+
|
130
|
+
rubyforge_project:
|
131
|
+
rubygems_version: 1.3.7
|
132
|
+
signing_key:
|
133
|
+
specification_version: 3
|
134
|
+
summary: Write-through and Read-through Cacheing for ActiveRecord
|
135
|
+
test_files:
|
136
|
+
- config/environment.rb
|
137
|
+
- config/memcached.yml
|
138
|
+
- db/schema.rb
|
139
|
+
- spec/cash/accessor_spec.rb
|
140
|
+
- spec/cash/active_record_spec.rb
|
141
|
+
- spec/cash/calculations_spec.rb
|
142
|
+
- spec/cash/finders_spec.rb
|
143
|
+
- spec/cash/lock_spec.rb
|
144
|
+
- spec/cash/order_spec.rb
|
145
|
+
- spec/cash/transactional_spec.rb
|
146
|
+
- spec/cash/window_spec.rb
|
147
|
+
- spec/cash/write_through_spec.rb
|
148
|
+
- spec/cash/marshal_spec.rb
|
149
|
+
- spec/spec_helper.rb
|