font_awesome-sass-rails 2.0.2 → 2.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.0.2
1
+ 2.0.3
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "font_awesome-sass-rails"
8
- s.version = "2.0.2"
8
+ s.version = "2.0.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Kristian Mandrup"]
12
- s.date = "2012-09-04"
12
+ s.date = "2012-09-07"
13
13
  s.description = "Use Font Awesome in your Rails app :)"
14
14
  s.email = "kmandrup@gmail.com"
15
15
  s.extra_rdoc_files = [
@@ -39,8 +39,8 @@ Gem::Specification.new do |s|
39
39
  "vendor/assets/fonts/fontawesome-webfont.ttf",
40
40
  "vendor/assets/fonts/fontawesome-webfont.woff",
41
41
  "vendor/assets/stylesheets/font-awesome-ie7.css",
42
- "vendor/assets/stylesheets/font-awesome.css",
43
- "vendor/assets/stylesheets/font-awesome.less",
42
+ "vendor/assets/stylesheets/font-awesome.css.erb",
43
+ "vendor/assets/stylesheets/font-awesome.less.erb",
44
44
  "vendor/assets/stylesheets/font-awesome.sass",
45
45
  "vendor/assets/stylesheets/font-awesome.scss"
46
46
  ]
@@ -20,11 +20,15 @@
20
20
  Twitter: http://twitter.com/fortaweso_me
21
21
  Work: Lead Product Designer @ http://kyruus.com
22
22
 
23
+ Using asset_path (css)
23
24
  */
24
25
  @font-face {
25
26
  font-family: 'FontAwesome';
26
- src: url('../fonts/fontawesome-webfont.eot');
27
- src: url('../fonts/fontawesome-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/fontawesome-webfont.woff') format('woff'), url('../fonts/fontawesome-webfont.ttf') format('truetype'), url('../fonts/fontawesome-webfont.svg#FontAwesome') format('svg');
27
+ src: url('<%= asset_path "fontawesome-webfont.eot" %>');
28
+ src: url('<%= asset_path "fontawesome-webfont.eot?#iefix" %>') format('embedded-opentype'),
29
+ url('<%= asset_path "fontawesome-webfont.woff" %>') format('woff'),
30
+ url('<%= asset_path "fontawesome-webfont.ttf" %>') format('truetype'),
31
+ url('<%= asset_path "fontawesome-webfont.svg#FontAwesome" %>') format('svg');
28
32
  font-weight: normal;
29
33
  font-style: normal;
30
34
  }
@@ -20,15 +20,16 @@
20
20
  Twitter: http://twitter.com/fortaweso_me
21
21
  Work: Lead Product Designer @ http://kyruus.com
22
22
 
23
+ Using asset_path (less)
23
24
  */
24
25
 
25
26
  @font-face {
26
27
  font-family: 'FontAwesome';
27
- src: url('../fonts/fontawesome-webfont.eot');
28
- src: url('../fonts/fontawesome-webfont.eot?#iefix') format('embedded-opentype'),
29
- url('../fonts/fontawesome-webfont.woff') format('woff'),
30
- url('../fonts/fontawesome-webfont.ttf') format('truetype'),
31
- url('../fonts/fontawesome-webfont.svg#FontAwesome') format('svg');
28
+ src: url('<%= asset_path "fontawesome-webfont.eot" %>');
29
+ src: url('<%= asset_path "fontawesome-webfont.eot?#iefix" %>') format('embedded-opentype'),
30
+ url('<%= asset_path "fontawesome-webfont.woff" %>') format('woff'),
31
+ url('<%= asset_path "fontawesome-webfont.ttf" %>') format('truetype'),
32
+ url('<%= asset_path "fontawesome-webfont.svg#FontAwesome" %>') format('svg');
32
33
  font-weight: normal;
33
34
  font-style: normal;
34
35
  }
@@ -19,10 +19,12 @@
19
19
  * Email: dave@davegandy.com
20
20
  * Twitter: http://twitter.com/fortaweso_me
21
21
  * Work: Lead Product Designer @ http://kyruus.com
22
+ *
23
+ * Using asset_path (sass)
22
24
 
23
25
  @import compass/css3/font-face
24
26
 
25
- $font_path: "../fonts/fontawesome-webfont" !default
27
+ $font_path: asset-path("fontawesome-webfont", font) !default
26
28
 
27
29
  +font-face("FontAwesome", font-files("#{$font_path}.woff", woff, "#{$font_path}.ttf", truetype, "#{$font_path}.otf", opentype, "#{$font_path}.svgz#FontAwesomeRegular", svg, "#{$font_path}.svg#FontAwesomeRegular", svg), "#{$font_path}.eot", normal, normal)
28
30
 
@@ -20,10 +20,11 @@
20
20
  Twitter: http://twitter.com/fortaweso_me
21
21
  Work: Lead Product Designer @ http://kyruus.com
22
22
 
23
+ Using asset_path (scss)
23
24
  */
24
25
 
25
26
  @import "compass/css3/font-face";
26
- $font_path: "../fonts/fontawesome-webfont" !default;
27
+ $font_path: asset-path("fontawesome-webfont", font) !default;
27
28
 
28
29
  @include font-face(
29
30
  'FontAwesome',
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: font_awesome-sass-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.3
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: 2012-09-04 00:00:00.000000000 Z
12
+ date: 2012-09-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -169,8 +169,8 @@ files:
169
169
  - vendor/assets/fonts/fontawesome-webfont.ttf
170
170
  - vendor/assets/fonts/fontawesome-webfont.woff
171
171
  - vendor/assets/stylesheets/font-awesome-ie7.css
172
- - vendor/assets/stylesheets/font-awesome.css
173
- - vendor/assets/stylesheets/font-awesome.less
172
+ - vendor/assets/stylesheets/font-awesome.css.erb
173
+ - vendor/assets/stylesheets/font-awesome.less.erb
174
174
  - vendor/assets/stylesheets/font-awesome.sass
175
175
  - vendor/assets/stylesheets/font-awesome.scss
176
176
  homepage: http://github.com/kristianmandrup/font_awesome-sass-rails
@@ -188,7 +188,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
188
188
  version: '0'
189
189
  segments:
190
190
  - 0
191
- hash: 1031219020780303374
191
+ hash: -1212960726032649144
192
192
  required_rubygems_version: !ruby/object:Gem::Requirement
193
193
  none: false
194
194
  requirements: