rack-fontserve 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
# Rack::Fontserve::VERSION since Fontserve is a class that inherits from Sinatra::Base
|
|
3
3
|
# and we'd be getting Superclass mismatch errors here since Sinatra is
|
|
4
4
|
# unavailable when evaluating this file standalone, i.e. in Rakefile
|
|
5
|
-
FONTSERVE_VERSION = '0.1.
|
|
5
|
+
FONTSERVE_VERSION = '0.1.4'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<% if @font.license? %>/* LICENSE: <%= @font.license %> */<% end %>
|
|
2
2
|
@font-face {
|
|
3
|
-
font-family: '<%= @font.name %>'
|
|
3
|
+
font-family: '<%= @font.name %>';
|
|
4
4
|
<% if format?('eot') %>src: url('<%= "./#{@font.name}.eot" %>');<% end %>
|
|
5
5
|
src: local('☺'),
|
|
6
6
|
<% if format?('eot') %>url('<%= "./#{@font.name}.eot?iefix" %>') format('eot'), <% end %>
|