rack-ssl-enforcer 0.1.0 → 0.1.1

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/README.rdoc CHANGED
@@ -8,11 +8,11 @@ Rack::SslEnforcer is a simple Rack middleware to enforce ssl connections
8
8
 
9
9
  == Usage
10
10
 
11
- require 'noie'
11
+ require 'rack-ssl-enforcer'
12
12
  use Rack::SslEnforcer
13
13
 
14
- This will redirect all plain-text requests to SSL. Rack::SslEnforcer accepts two params, :redirect_to and :message
15
- You might need the :redirect_to option if the URL can't be determined (e.g. if using a proxy).
14
+ This will redirect all plain-text requests to SSL. Rack::SslEnforcer accepts two params, :redirect_to and :message.
15
+ You might need the :redirect_to option if the requested URL can't be determined (e.g. if using a proxy).
16
16
 
17
17
  use Rack::SslEnforcer, :redirect_to => 'https://example.org', :message => 'R-R-R-Redirecting...'
18
18
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{rack-ssl-enforcer}
8
- s.version = "0.1.0"
8
+ s.version = "0.1.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Tobias Matthies"]
12
- s.date = %q{2010-03-17}
12
+ s.date = %q{2010-03-18}
13
13
  s.email = %q{tm@mit2m.de}
14
14
  s.extra_rdoc_files = [
15
15
  "LICENSE",
@@ -59,5 +59,7 @@ class TestRackSslEnforcer < Test::Unit::TestCase
59
59
  assert_equal response.body, @message
60
60
  end
61
61
  end
62
+
63
+ end
62
64
 
63
65
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 0
9
- version: 0.1.0
8
+ - 1
9
+ version: 0.1.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Tobias Matthies
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-03-17 00:00:00 +01:00
17
+ date: 2010-03-18 00:00:00 +01:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency