font_assets 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,8 +6,9 @@ module FontAssets
6
6
 
7
7
  initializer "font_assets.configure_rails_initialization" do |app|
8
8
  config.font_assets.origin ||= "*"
9
+ config.font_assets.options ||= { allow_ssl: true }
9
10
 
10
- app.middleware.insert_before 'Rack::Lock', FontAssets::Middleware, config.font_assets.origin
11
+ app.middleware.insert_before 'Rack::Lock', FontAssets::Middleware, config.font_assets.origin, config.font_assets.options
11
12
  end
12
13
  end
13
14
  end
@@ -1,3 +1,3 @@
1
1
  module FontAssets
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
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.4
4
+ version: 0.1.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: