deedubs-cache-money 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- data/README +205 -0
- data/TODO +17 -0
- data/UNSUPPORTED_FEATURES +14 -0
- data/config/environment.rb +6 -0
- data/config/memcache.yml +6 -0
- data/db/schema.rb +12 -0
- data/lib/cache_money.rb +54 -0
- data/lib/cash/accessor.rb +79 -0
- data/lib/cash/buffered.rb +126 -0
- data/lib/cash/config.rb +71 -0
- data/lib/cash/finders.rb +38 -0
- data/lib/cash/index.rb +207 -0
- data/lib/cash/local.rb +59 -0
- data/lib/cash/lock.rb +52 -0
- data/lib/cash/mock.rb +86 -0
- data/lib/cash/query/abstract.rb +164 -0
- data/lib/cash/query/calculation.rb +45 -0
- data/lib/cash/query/primary_key.rb +51 -0
- data/lib/cash/query/select.rb +16 -0
- data/lib/cash/request.rb +3 -0
- data/lib/cash/transactional.rb +42 -0
- data/lib/cash/util/array.rb +9 -0
- data/lib/cash/write_through.rb +72 -0
- data/spec/cash/accessor_spec.rb +159 -0
- data/spec/cash/active_record_spec.rb +199 -0
- data/spec/cash/calculations_spec.rb +67 -0
- data/spec/cash/finders_spec.rb +355 -0
- data/spec/cash/lock_spec.rb +87 -0
- data/spec/cash/order_spec.rb +166 -0
- data/spec/cash/transactional_spec.rb +574 -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 +114 -0
metadata
ADDED
@@ -0,0 +1,114 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: deedubs-cache-money
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.5
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Nick Kallen
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2008-11-24 00:00:00 -08:00
|
13
|
+
default_executable:
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: activerecord
|
17
|
+
type: :runtime
|
18
|
+
version_requirement:
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
20
|
+
requirements:
|
21
|
+
- - ">="
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: 2.2.0
|
24
|
+
version:
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: activesupport
|
27
|
+
type: :runtime
|
28
|
+
version_requirement:
|
29
|
+
version_requirements: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 2.2.0
|
34
|
+
version:
|
35
|
+
- !ruby/object:Gem::Dependency
|
36
|
+
name: memcache-client
|
37
|
+
type: :runtime
|
38
|
+
version_requirement:
|
39
|
+
version_requirements: !ruby/object:Gem::Requirement
|
40
|
+
requirements:
|
41
|
+
- - ">="
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: 1.5.0
|
44
|
+
version:
|
45
|
+
description: Cache utilities.
|
46
|
+
email: nick@twitter.com
|
47
|
+
executables: []
|
48
|
+
|
49
|
+
extensions: []
|
50
|
+
|
51
|
+
extra_rdoc_files: []
|
52
|
+
|
53
|
+
files:
|
54
|
+
- README
|
55
|
+
- TODO
|
56
|
+
- UNSUPPORTED_FEATURES
|
57
|
+
- lib/cash/accessor.rb
|
58
|
+
- lib/cash/buffered.rb
|
59
|
+
- lib/cash/config.rb
|
60
|
+
- lib/cash/finders.rb
|
61
|
+
- lib/cash/index.rb
|
62
|
+
- lib/cash/local.rb
|
63
|
+
- lib/cash/lock.rb
|
64
|
+
- lib/cash/mock.rb
|
65
|
+
- lib/cash/query/abstract.rb
|
66
|
+
- lib/cash/query/calculation.rb
|
67
|
+
- lib/cash/query/primary_key.rb
|
68
|
+
- lib/cash/query/select.rb
|
69
|
+
- lib/cash/request.rb
|
70
|
+
- lib/cash/transactional.rb
|
71
|
+
- lib/cash/util/array.rb
|
72
|
+
- lib/cash/write_through.rb
|
73
|
+
- lib/cache_money.rb
|
74
|
+
has_rdoc: false
|
75
|
+
homepage: http://github.com/nkallen/cache-money
|
76
|
+
licenses:
|
77
|
+
post_install_message:
|
78
|
+
rdoc_options: []
|
79
|
+
|
80
|
+
require_paths:
|
81
|
+
- lib
|
82
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
83
|
+
requirements:
|
84
|
+
- - ">="
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
version: "0"
|
87
|
+
version:
|
88
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
89
|
+
requirements:
|
90
|
+
- - ">="
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
version: "0"
|
93
|
+
version:
|
94
|
+
requirements: []
|
95
|
+
|
96
|
+
rubyforge_project:
|
97
|
+
rubygems_version: 1.3.5
|
98
|
+
signing_key:
|
99
|
+
specification_version: 2
|
100
|
+
summary: Write-through and Read-through Cacheing for ActiveRecord
|
101
|
+
test_files:
|
102
|
+
- config/environment.rb
|
103
|
+
- config/memcache.yml
|
104
|
+
- db/schema.rb
|
105
|
+
- spec/cash/accessor_spec.rb
|
106
|
+
- spec/cash/active_record_spec.rb
|
107
|
+
- spec/cash/calculations_spec.rb
|
108
|
+
- spec/cash/finders_spec.rb
|
109
|
+
- spec/cash/lock_spec.rb
|
110
|
+
- spec/cash/order_spec.rb
|
111
|
+
- spec/cash/transactional_spec.rb
|
112
|
+
- spec/cash/window_spec.rb
|
113
|
+
- spec/cash/write_through_spec.rb
|
114
|
+
- spec/spec_helper.rb
|