font-awesome-sass 4.2.0 → 4.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3b453582ebba80eb5fe05f397237b5195bfae69a
4
- data.tar.gz: 0cdf0ab5f2aa2cd37443f914c663097b86b9335c
3
+ metadata.gz: 584b2f8a5c521c7cb159aa0cea48de97feef7eec
4
+ data.tar.gz: 871bfd184d00ef17602b7eef6ee90b863823b023
5
5
  SHA512:
6
- metadata.gz: 67a6708183fd1b58bdeb0b07f537745a1bf6511385dc4ed2311e289d719d4d0aec8ab72db7b8820a9c65ec7ef037d278eb76769bb7a6a43f45b48f85ca3bb7e7
7
- data.tar.gz: b75d67f2410b8e57c8706ac090fadc7bff01d871bd744dbcf4dd0138844af192949ae547af9e86c0de47e79f91291268e3ac62ea0890d46b8c69206ee8f57478
6
+ metadata.gz: 4a12817e1916b3a884839e6971d51bceb268ea60b8a243301710666e3f531738c40b7ba3162ed5c2ced461f068385aece9f765f04576a9313b1ac066efeab9b6
7
+ data.tar.gz: f0c6461343eea5dc38c6a24ced2fe62dd74ba8a8efa2e5a56367b847d93d674b90a21cb35908a5f17e058d63b71ea26686829264c63c06eb7bd032124d7233ad
data/README.md CHANGED
@@ -28,7 +28,7 @@ bundle install
28
28
  ```
29
29
 
30
30
  Import the FontAwesome styles in your `app/assets/stylesheets/application.css.scss`. The `font-awesome-sprockets` file
31
- includes the sprockets assest helper Sass functions used for finding the proper path to the font file.
31
+ includes the sprockets assets helper Sass functions used for finding the proper path to the font file.
32
32
 
33
33
  ```scss
34
34
  @import "font-awesome-sprockets";
@@ -61,20 +61,20 @@ Note: the icon helper can take a hash of options that will be passed to the cont
61
61
  Install the gem
62
62
 
63
63
  ```sh
64
- gem install bootstrap-sass
64
+ gem install font-awesome-sass
65
65
  ```
66
66
 
67
67
  If you have an existing Compass project:
68
68
 
69
69
  ```ruby
70
70
  # config.rb:
71
- require 'bootstrap-sass'
71
+ require 'font-awesome-sass'
72
72
  ```
73
73
 
74
74
  Import the FontAwesome styles
75
75
 
76
76
  ```scss
77
- @import "font-awesome-compess";
77
+ @import "font-awesome-compass";
78
78
  @import "font-awesome";
79
79
  ```
80
80
 
@@ -1,7 +1,3 @@
1
- @function icon-font-path($path) {
1
+ @function fa-font-path($path) {
2
2
  @return font-url($path, true);
3
3
  }
4
-
5
- @function icon-image-path($path) {
6
- @return image-url($path, true);
7
- }
@@ -1,7 +1,3 @@
1
- @function icon-font-path($path) {
1
+ @function fa-font-path($path) {
2
2
  @return font-path($path);
3
3
  }
4
-
5
- @function icon-image-path($path) {
6
- @return image-path($path);
7
- }
@@ -1,13 +1,12 @@
1
1
  /* FONT PATH
2
2
  * -------------------------- */
3
-
4
3
  @font-face {
5
4
  font-family: 'FontAwesome';
6
- src: url(if($fa-sass-asset-helper, icon-font-path('#{$fa-font-path}#{$fa-font-name}.eot'), '#{$fa-font-path}#{$fa-font-name}.eot'));
7
- src: url(if($fa-sass-asset-helper, icon-font-path('#{$fa-font-path}#{$fa-font-name}.eot?#iefix'), '#{$fa-font-path}#{$fa-font-name}.eot?#iefix')) format('embedded-opentype'),
8
- url(if($fa-sass-asset-helper, icon-font-path('#{$fa-font-path}#{$fa-font-name}.woff'), '#{$fa-font-path}#{$fa-font-name}.woff')) format('woff'),
9
- url(if($fa-sass-asset-helper, icon-font-path('#{$fa-font-path}#{$fa-font-name}.ttf'), '#{$fa-font-path}#{$fa-font-name}.ttf')) format('truetype'),
10
- url(if($fa-sass-asset-helper, icon-font-path('#{$fa-font-path}#{$fa-font-name}.svg#fontawesomeregular'), '#{$fa-font-path}#{$fa-font-name}.svg#fontawesomeregular')) format('svg');
5
+ src: url(if($fa-sass-asset-helper, fa-font-path('#{$fa-font-path}#{$fa-font-name}.eot'), '#{$fa-font-path}#{$fa-font-name}.eot'));
6
+ src: url(if($fa-sass-asset-helper, fa-font-path('#{$fa-font-path}#{$fa-font-name}.eot?#iefix'), '#{$fa-font-path}#{$fa-font-name}.eot?#iefix')) format('embedded-opentype'),
7
+ url(if($fa-sass-asset-helper, fa-font-path('#{$fa-font-path}#{$fa-font-name}.woff'), '#{$fa-font-path}#{$fa-font-name}.woff')) format('woff'),
8
+ url(if($fa-sass-asset-helper, fa-font-path('#{$fa-font-path}#{$fa-font-name}.ttf'), '#{$fa-font-path}#{$fa-font-name}.ttf')) format('truetype'),
9
+ url(if($fa-sass-asset-helper, fa-font-path('#{$fa-font-path}#{$fa-font-name}.svg#fontawesomeregular'), '#{$fa-font-path}#{$fa-font-name}.svg#fontawesomeregular')) format('svg');
11
10
  font-weight: normal;
12
11
  font-style: normal;
13
12
  }
@@ -1,7 +1,6 @@
1
1
  // Variables
2
2
  // --------------------------
3
-
4
- $fa-sass-asset-helper: (icon-font-path("") != unquote('icon-font-path("")')) !default;
3
+ $fa-sass-asset-helper: (fa-font-path("") != unquote('fa-font-path("")')) !default;
5
4
 
6
5
  $fa-font-path: if($fa-sass-asset-helper, "font-awesome/", "../fonts/font-awesome/") !default;
7
6
  $fa-font-name: "fontawesome-webfont" !default;
@@ -7,7 +7,7 @@ module FontAwesome
7
7
  app.config.assets.paths << root.join('assets', sub)
8
8
  end
9
9
 
10
- app.config.assets.precompile << %r(font-awesome/fontawesome-webfont\.(?:eot|svg|ttf|woff)$)
10
+ config.assets.precompile << /\.(?:svg|eot|woff|ttf)\z/
11
11
  end
12
12
  end
13
13
  end
@@ -1,5 +1,5 @@
1
1
  module FontAwesome
2
2
  module Sass
3
- VERSION = '4.2.0'
3
+ VERSION = '4.2.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: font-awesome-sass
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.2.0
4
+ version: 4.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Travis Chase
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-28 00:00:00.000000000 Z
11
+ date: 2014-10-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sass
@@ -138,7 +138,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
138
138
  version: '0'
139
139
  requirements: []
140
140
  rubyforge_project:
141
- rubygems_version: 2.2.2
141
+ rubygems_version: 2.4.1
142
142
  signing_key:
143
143
  specification_version: 4
144
144
  summary: Font-Awesome SASS