p8-redirect 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/bin/redirect_app +1 -1
  2. data/lib/redirect.rb +1 -1
  3. metadata +1 -1
data/bin/redirect_app CHANGED
@@ -37,7 +37,7 @@ class Test::Unit::TestCase
37
37
  def assert_redirects(from, to)
38
38
  res = Rack::MockRequest.new(APP[:redirect_app]).get(from)
39
39
  res.headers.should == { 'Location' => to, 'Content-Type' => 'text/html' }
40
- res.body.should == "Redirecting to: #{to}"
40
+ res.body.should == "Redirecting to: \#{to}"
41
41
  end
42
42
 
43
43
  end
data/lib/redirect.rb CHANGED
@@ -5,7 +5,7 @@ require 'rack/request'
5
5
  require 'rack/response'
6
6
 
7
7
  module Redirect
8
- VERSION = '0.3.1'
8
+ VERSION = '0.3.2'
9
9
 
10
10
  def self.default_code= default_code
11
11
  @default_code = default_code
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: p8-redirect
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Petrik de Heus