merb-cache 0.9.10 → 0.9.11
Sign up to get free protection for your applications and to get access to all the features.
@@ -94,23 +94,23 @@ describe Merb::Cache::CacheMixin do
|
|
94
94
|
|
95
95
|
describe "#_parameters_and_conditions" do
|
96
96
|
it "should remove the :params entry from the conditions hash" do
|
97
|
-
@controller._parameters_and_conditions(:params => [:foo, :bar]).last.should_not
|
97
|
+
@controller._parameters_and_conditions(:params => [:foo, :bar]).last.should_not have_key(:params)
|
98
98
|
end
|
99
99
|
|
100
100
|
it "should remove the :store entry from the conditions hash" do
|
101
|
-
@controller._parameters_and_conditions(:store => :foo_store).last.should_not
|
101
|
+
@controller._parameters_and_conditions(:store => :foo_store).last.should_not have_key(:store)
|
102
102
|
end
|
103
103
|
|
104
104
|
it "should remove the :stores entry from the conditions hash" do
|
105
|
-
@controller._parameters_and_conditions(:stores => [:foo_store, :bar_store]).last.should_not
|
105
|
+
@controller._parameters_and_conditions(:stores => [:foo_store, :bar_store]).last.should_not have_key(:stores)
|
106
106
|
end
|
107
107
|
|
108
108
|
it "should keep an :expires_in entry in the conditions hash" do
|
109
|
-
@controller._parameters_and_conditions(:expire_in => 10).last.should
|
109
|
+
@controller._parameters_and_conditions(:expire_in => 10).last.should have_key(:expire_in)
|
110
110
|
end
|
111
111
|
|
112
112
|
it "should move the :params entry to the parameters array" do
|
113
|
-
@controller._parameters_and_conditions(:params => :foo).first.should
|
113
|
+
@controller._parameters_and_conditions(:params => :foo).first.should have_key(:foo)
|
114
114
|
end
|
115
115
|
end
|
116
116
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: merb-cache
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben Burkert
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-10-
|
12
|
+
date: 2008-10-29 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -20,7 +20,7 @@ dependencies:
|
|
20
20
|
requirements:
|
21
21
|
- - ">="
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version: 0.9.
|
23
|
+
version: 0.9.11
|
24
24
|
version:
|
25
25
|
description: Merb plugin that provides caching (page, action, fragment, object)
|
26
26
|
email: ben@benburkert.com
|