font_assets 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +8 -0
- data/font_assets.gemspec +1 -1
- data/lib/font_assets/middleware.rb +1 -1
- data/lib/font_assets/version.rb +1 -1
- metadata +7 -7
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
### master
|
2
2
|
|
3
|
+
### 0.1.1 / 2012-01-18
|
4
|
+
|
5
|
+
[full changelog](https://github.com/rubymaverick/font_assets/compare/v0.1.0...v0.1.1)
|
6
|
+
|
7
|
+
Bug Fixes
|
8
|
+
|
9
|
+
* Fix Rack::File#empty? call in middleware causing an exception.
|
10
|
+
|
3
11
|
### 0.1.0 / 2012-01-18
|
4
12
|
|
5
13
|
[full changelog](https://github.com/rubymaverick/font_assets/compare/v0.0.2...v0.1.0)
|
data/font_assets.gemspec
CHANGED
@@ -45,7 +45,7 @@ module FontAssets
|
|
45
45
|
def set_headers!(headers, body, path)
|
46
46
|
if ext = extension(path) and font_asset?(ext)
|
47
47
|
headers.merge!(access_control_headers)
|
48
|
-
headers.merge!('Content-Type' => mime_type(ext))
|
48
|
+
headers.merge!('Content-Type' => mime_type(ext)) if headers['Content-Type']
|
49
49
|
end
|
50
50
|
end
|
51
51
|
|
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.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-01-18 00:00:00.000000000Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rack
|
16
|
-
requirement: &
|
16
|
+
requirement: &2164268920 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,18 +21,18 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *2164268920
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: rspec
|
27
|
-
requirement: &
|
27
|
+
requirement: &2164268420 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
|
-
- -
|
30
|
+
- - ~>
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '0'
|
32
|
+
version: '2.0'
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *2164268420
|
36
36
|
description: Improve font serving in Rails 3.1
|
37
37
|
email:
|
38
38
|
- rubymaverick@gmail.com
|