font_assets 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -21,7 +21,7 @@ module FontAssets
21
21
  end
22
22
 
23
23
  def call(env)
24
- @ssl_request = env['HTTPS'] == 'on' or env['rack.url_scheme'] == 'https'
24
+ @ssl_request = Rack::Request.new(env).scheme == "https"
25
25
  # intercept the "preflight" request
26
26
  if env["REQUEST_METHOD"] == "OPTIONS"
27
27
  return [200, access_control_headers, []]
@@ -1,3 +1,3 @@
1
1
  module FontAssets
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: font_assets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: