ngmoco-cache-money 0.2.14 → 0.2.15
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/cache_money.rb +1 -0
- data/spec/cash/order_spec.rb +1 -1
- metadata +33 -6
data/lib/cache_money.rb
CHANGED
data/spec/cash/order_spec.rb
CHANGED
|
@@ -87,7 +87,7 @@ module Cash
|
|
|
87
87
|
FairyTale.find(:all, :conditions => { :title => @title }, :order => '`stories`.id').should == @fairy_tales
|
|
88
88
|
FairyTale.find(:all, :conditions => { :title => @title }, :order => '`stories`.`id`').should == @fairy_tales
|
|
89
89
|
end
|
|
90
|
-
|
|
90
|
+
|
|
91
91
|
describe 'when the order is passed as a symbol' do
|
|
92
92
|
it 'works' do
|
|
93
93
|
FairyTale.find(:all, :conditions => { :title => @title }, :order => :id)
|
metadata
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ngmoco-cache-money
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
+
hash: 9
|
|
4
5
|
prerelease: false
|
|
5
6
|
segments:
|
|
6
7
|
- 0
|
|
7
8
|
- 2
|
|
8
|
-
-
|
|
9
|
-
version: 0.2.
|
|
9
|
+
- 15
|
|
10
|
+
version: 0.2.15
|
|
10
11
|
platform: ruby
|
|
11
12
|
authors:
|
|
12
13
|
- Nick Kallen
|
|
@@ -17,36 +18,40 @@ autorequire:
|
|
|
17
18
|
bindir: bin
|
|
18
19
|
cert_chain: []
|
|
19
20
|
|
|
20
|
-
date: 2010-
|
|
21
|
+
date: 2010-09-02 00:00:00 -07:00
|
|
21
22
|
default_executable:
|
|
22
23
|
dependencies:
|
|
23
24
|
- !ruby/object:Gem::Dependency
|
|
24
25
|
requirement: &id001 !ruby/object:Gem::Requirement
|
|
26
|
+
none: false
|
|
25
27
|
requirements:
|
|
26
28
|
- - ">="
|
|
27
29
|
- !ruby/object:Gem::Version
|
|
30
|
+
hash: 7
|
|
28
31
|
segments:
|
|
29
32
|
- 2
|
|
30
33
|
- 2
|
|
31
34
|
- 0
|
|
32
35
|
version: 2.2.0
|
|
33
|
-
prerelease: false
|
|
34
36
|
type: :runtime
|
|
35
37
|
name: activerecord
|
|
38
|
+
prerelease: false
|
|
36
39
|
version_requirements: *id001
|
|
37
40
|
- !ruby/object:Gem::Dependency
|
|
38
41
|
requirement: &id002 !ruby/object:Gem::Requirement
|
|
42
|
+
none: false
|
|
39
43
|
requirements:
|
|
40
44
|
- - ">="
|
|
41
45
|
- !ruby/object:Gem::Version
|
|
46
|
+
hash: 7
|
|
42
47
|
segments:
|
|
43
48
|
- 2
|
|
44
49
|
- 2
|
|
45
50
|
- 0
|
|
46
51
|
version: 2.2.0
|
|
47
|
-
prerelease: false
|
|
48
52
|
type: :runtime
|
|
49
53
|
name: activesupport
|
|
54
|
+
prerelease: false
|
|
50
55
|
version_requirements: *id002
|
|
51
56
|
description: Write-through and Read-through Cacheing for ActiveRecord
|
|
52
57
|
email: teamplatform@ngmoco.com
|
|
@@ -89,6 +94,24 @@ files:
|
|
|
89
94
|
- rails/init.rb
|
|
90
95
|
- LICENSE
|
|
91
96
|
- README.markdown
|
|
97
|
+
- config/environment.rb
|
|
98
|
+
- config/memcached.yml
|
|
99
|
+
- db/schema.rb
|
|
100
|
+
- spec/cash/accessor_spec.rb
|
|
101
|
+
- spec/cash/active_record_spec.rb
|
|
102
|
+
- spec/cash/buffered_spec.rb
|
|
103
|
+
- spec/cash/calculations_spec.rb
|
|
104
|
+
- spec/cash/finders_spec.rb
|
|
105
|
+
- spec/cash/local_buffer_spec.rb
|
|
106
|
+
- spec/cash/local_spec.rb
|
|
107
|
+
- spec/cash/lock_spec.rb
|
|
108
|
+
- spec/cash/marshal_spec.rb
|
|
109
|
+
- spec/cash/order_spec.rb
|
|
110
|
+
- spec/cash/transactional_spec.rb
|
|
111
|
+
- spec/cash/window_spec.rb
|
|
112
|
+
- spec/cash/write_through_spec.rb
|
|
113
|
+
- spec/memcached_wrapper_test.rb
|
|
114
|
+
- spec/spec_helper.rb
|
|
92
115
|
has_rdoc: true
|
|
93
116
|
homepage: http://github.com/ngmoco/cache-money
|
|
94
117
|
licenses: []
|
|
@@ -99,23 +122,27 @@ rdoc_options:
|
|
|
99
122
|
require_paths:
|
|
100
123
|
- lib
|
|
101
124
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
125
|
+
none: false
|
|
102
126
|
requirements:
|
|
103
127
|
- - ">="
|
|
104
128
|
- !ruby/object:Gem::Version
|
|
129
|
+
hash: 3
|
|
105
130
|
segments:
|
|
106
131
|
- 0
|
|
107
132
|
version: "0"
|
|
108
133
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
134
|
+
none: false
|
|
109
135
|
requirements:
|
|
110
136
|
- - ">="
|
|
111
137
|
- !ruby/object:Gem::Version
|
|
138
|
+
hash: 3
|
|
112
139
|
segments:
|
|
113
140
|
- 0
|
|
114
141
|
version: "0"
|
|
115
142
|
requirements: []
|
|
116
143
|
|
|
117
144
|
rubyforge_project:
|
|
118
|
-
rubygems_version: 1.3.
|
|
145
|
+
rubygems_version: 1.3.7
|
|
119
146
|
signing_key:
|
|
120
147
|
specification_version: 3
|
|
121
148
|
summary: Write-through and Read-through Cacheing for ActiveRecord
|