ssl_enforcer 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -54,7 +54,7 @@ class SSLEnforcer::Enforcer
54
54
  ## If the option was not passed, then we must assume to change all
55
55
  ## subdomains NOT responded to by @exceptions
56
56
  if @only.empty?
57
- return scheme == :https
57
+ return scheme.downcase.to_sym == :https
58
58
  else
59
59
  return true
60
60
  end
@@ -1,3 +1,3 @@
1
1
  module SSLEnforcer
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
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.1
4
+ version: 0.2.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: