ssl_enforcer 0.2.0 → 0.2.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.
@@ -35,7 +35,7 @@ class SSLEnforcer::Enforcer
35
35
  # Hack to deal with heroku redirect issues.
36
36
  # http://rack.lighthouseapp.com/projects/22435/tickets/101
37
37
  scheme = (env["SERVER_PORT"] == "443") ? :https : :http
38
- #scheme = env["HTTP_X_FORWARDED_PROTO"] if env["HTTP_X_FORWARDED_PROTO"]
38
+ scheme = env["HTTP_X_FORWARDED_PROTO"] if env["HTTP_X_FORWARDED_PROTO"]
39
39
 
40
40
  # If the "only" and or "exceptions" options have not been passed, then
41
41
  # we want to force SSL on ALL subdomains
@@ -1,3 +1,3 @@
1
1
  module SSLEnforcer
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ssl_enforcer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: