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.
- data/CHANGELOG.md +6 -0
- data/README.md +1 -0
- data/lib/font_assets/railtie.rb +1 -7
- data/lib/font_assets/version.rb +1 -1
- metadata +2 -2
data/CHANGELOG.md
CHANGED
@@ -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
data/lib/font_assets/railtie.rb
CHANGED
@@ -8,13 +8,7 @@ module FontAssets
|
|
8
8
|
config.font_assets.origin ||= "*"
|
9
9
|
config.font_assets.options ||= { allow_ssl: true }
|
10
10
|
|
11
|
-
|
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
|
data/lib/font_assets/version.rb
CHANGED
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
|
+
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-
|
12
|
+
date: 2013-07-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rack
|