font_assets 0.1.8 → 0.1.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,11 @@
1
1
  ### master
2
2
 
3
+ ### 0.1.9 / 2013-07-07
4
+
5
+ Bug Fixes
6
+
7
+ * Change middleware insert order to work with config.threadsafe! (thnx [Nick Urban!](https://github.com/nickurban))
8
+
3
9
  ### 0.1.1 / 2012-01-18
4
10
 
5
11
  [full changelog](https://github.com/rubymaverick/font_assets/compare/v0.1.0...v0.1.1)
data/README.md CHANGED
@@ -109,3 +109,4 @@ Contributors
109
109
  * [Eric Allam](https://github.com/rubymaverick)
110
110
  * [Ryan Montgomery](https://github.com/rmontgomery429)
111
111
  * [Jack Foy](https://github.com/jfoy)
112
+ * [Nick Urban](https://github.com/nickurban)
@@ -8,13 +8,7 @@ module FontAssets
8
8
  config.font_assets.origin ||= "*"
9
9
  config.font_assets.options ||= { allow_ssl: true }
10
10
 
11
- insert_target = if defined?(ActionDispatch::Static)
12
- 'ActionDispatch::Static'
13
- else
14
- 'Rack::Lock'
15
- end
16
-
17
- app.middleware.insert_before insert_target, FontAssets::Middleware, config.font_assets.origin, config.font_assets.options
11
+ app.middleware.insert_before 'Rack::Runtime', FontAssets::Middleware, config.font_assets.origin
18
12
  end
19
13
  end
20
14
  end
@@ -1,3 +1,3 @@
1
1
  module FontAssets
2
- VERSION = "0.1.8"
2
+ VERSION = "0.1.9"
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.8
4
+ version: 0.1.9
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-05-29 00:00:00.000000000 Z
12
+ date: 2013-07-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rack