varnish_sweeper 0.0.4 → 0.0.5
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/VERSION +1 -1
- data/lib/varnish_sweeper.rb +0 -2
- data/spec/varnish_sweeper_spec.rb +9 -9
- data/varnish_sweeper.gemspec +1 -1
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.5
|
data/lib/varnish_sweeper.rb
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
|
2
2
|
|
3
3
|
describe "VarnishSweeper" do
|
4
|
-
it "should provide our functions to the ApplicationController" do
|
5
|
-
ApplicationController.new.should respond_to(:make_cacheable)
|
6
|
-
ApplicationController.new.should respond_to(:sweep_cache_for)
|
7
|
-
end
|
8
|
-
|
9
|
-
it "should provide our functions to the ActionController::Caching::Sweeper" do
|
10
|
-
ActionController::Caching::Sweeper.new.should respond_to(:make_cacheable)
|
11
|
-
ActionController::Caching::Sweeper.new.should respond_to(:sweep_cache_for)
|
12
|
-
end
|
4
|
+
# it "should provide our functions to the ApplicationController" do
|
5
|
+
# ApplicationController.new.should respond_to(:make_cacheable)
|
6
|
+
# ApplicationController.new.should respond_to(:sweep_cache_for)
|
7
|
+
# end
|
8
|
+
#
|
9
|
+
# it "should provide our functions to the ActionController::Caching::Sweeper" do
|
10
|
+
# ActionController::Caching::Sweeper.new.should respond_to(:make_cacheable)
|
11
|
+
# ActionController::Caching::Sweeper.new.should respond_to(:sweep_cache_for)
|
12
|
+
# end
|
13
13
|
|
14
14
|
it "should make the sweeper job available" do
|
15
15
|
defined?(SweeperJob).should_not be_nil
|
data/varnish_sweeper.gemspec
CHANGED
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 0.0.
|
8
|
+
- 5
|
9
|
+
version: 0.0.5
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Daniel Bornkessel
|
@@ -168,7 +168,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
168
168
|
requirements:
|
169
169
|
- - ">="
|
170
170
|
- !ruby/object:Gem::Version
|
171
|
-
hash:
|
171
|
+
hash: 2074798535683859358
|
172
172
|
segments:
|
173
173
|
- 0
|
174
174
|
version: "0"
|