font_assets 0.1.9 → 0.1.10

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ### master
2
2
 
3
+ ### 0.1.10 / 2013-07-07
4
+
5
+ Fixing Regression
6
+
3
7
  ### 0.1.9 / 2013-07-07
4
8
 
5
9
  Bug Fixes
@@ -8,7 +8,13 @@ module FontAssets
8
8
  config.font_assets.origin ||= "*"
9
9
  config.font_assets.options ||= { allow_ssl: true }
10
10
 
11
- app.middleware.insert_before 'Rack::Runtime', FontAssets::Middleware, config.font_assets.origin
11
+ insert_target = if defined?(ActionDispatch::Static)
12
+ 'ActionDispatch::Static'
13
+ else
14
+ 'Rack::Runtime'
15
+ end
16
+
17
+ app.middleware.insert_before insert_target, FontAssets::Middleware, config.font_assets.origin, config.font_assets.options
12
18
  end
13
19
  end
14
20
  end
@@ -1,3 +1,3 @@
1
1
  module FontAssets
2
- VERSION = "0.1.9"
2
+ VERSION = "0.1.10"
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.9
4
+ version: 0.1.10
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-07-03 00:00:00.000000000 Z
12
+ date: 2013-07-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rack