varnish_sweeper 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.4
1
+ 0.0.5
@@ -1,4 +1,2 @@
1
1
  require 'varnish'
2
- ApplicationController.send(:include, Varnish)
3
- ActionController::Caching::Sweeper.send(:include, Varnish)
4
2
  require 'sweeper_job'
@@ -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
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{varnish_sweeper}
8
- s.version = "0.0.4"
8
+ s.version = "0.0.5"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Daniel Bornkessel"]
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 4
9
- version: 0.0.4
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: -1409484695132746894
171
+ hash: 2074798535683859358
172
172
  segments:
173
173
  - 0
174
174
  version: "0"