font_assets 0.1.11 → 0.1.12

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -48,6 +48,9 @@ you'd want to set the origin header to this:
48
48
  config.font_assets.origin = 'http://coffeescript.codeschool.com'
49
49
  ```
50
50
 
51
+ To match the actual `Origin` value, omit the trailing slash
52
+ ([details](http://dev.opera.com/articles/view/dom-access-control-using-cross-origin-resource-sharing/#AccessControlAllowOrigin)).
53
+
51
54
  An Example Response
52
55
  -------------------
53
56
 
@@ -6,7 +6,8 @@ module FontAssets
6
6
  '.svg' => 'image/svg+xml',
7
7
  '.ttf' => 'application/x-font-ttf',
8
8
  '.otf' => 'application/x-font-otf',
9
- '.woff' => 'application/x-font-woff'
9
+ '.woff' => 'application/x-font-woff',
10
+ '.woff2' => 'application/x-font-woff2'
10
11
  }
11
12
 
12
13
  def initialize(types, default = DEFAULT_TYPE.dup)
@@ -1,3 +1,3 @@
1
1
  module FontAssets
2
- VERSION = "0.1.11"
2
+ VERSION = "0.1.12"
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.11
4
+ version: 0.1.12
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: 2014-02-25 00:00:00.000000000 Z
12
+ date: 2015-10-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rack
@@ -85,7 +85,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
85
85
  version: '0'
86
86
  requirements: []
87
87
  rubyforge_project: font_assets
88
- rubygems_version: 1.8.24
88
+ rubygems_version: 1.8.23
89
89
  signing_key:
90
90
  specification_version: 3
91
91
  summary: Improve font serving in Rails 3.1