font_awesome_rails 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -44,16 +44,7 @@ Note that you need to `@import` it with Sass and not `*= require` it with Sprock
44
44
 
45
45
  ## Usage
46
46
 
47
- ### Adding icons
48
- `@include` any of the following mixins to add icons to your elements:
49
- - `icon-before($name)`: prepend the named icon
50
- - `icon-after($name)`: append the named icon
51
- - `icon($before)`: alias for `icon-before`
52
- - `icon($before, $after)`: append and prepend the named icons
53
-
54
- Each of these mixins can optionally take a
55
- [content block](http://sass-lang.com/docs/yardoc/file.SASS_REFERENCE.html#mixin-content)
56
- with styles to be applied to the icon.
47
+ For usage examples, see the [project page](http://haines.github.com/font_awesome_rails/).
57
48
 
58
49
 
59
50
  ## Compatibility
@@ -25,9 +25,11 @@
25
25
  }
26
26
  }
27
27
 
28
- .nav-tabs > li > a {
29
- @include icon-before-style {
30
- width: 1em;
28
+ .nav-tabs, .dropdown-menu, .dropdown-submenu {
29
+ > li > a {
30
+ @include icon-before-style {
31
+ width: 1em;
32
+ }
31
33
  }
32
34
  }
33
35
 
@@ -5,7 +5,7 @@ Gem::Specification.new do |gem|
5
5
  gem.email = ["andrew@haines.org.nz"]
6
6
  gem.description = %q{Font Awesome for Rails}
7
7
  gem.summary = %q{Brings the fantastic Font Awesome iconic font to the Rails asset pipeline, with a bunch of new Sass styles for semantic markup.}
8
- gem.homepage = "http://github.com/haines/font_awesome_rails"
8
+ gem.homepage = "http://haines.github.com/font_awesome_rails/"
9
9
 
10
10
  gem.files = `git ls-files`.split($\)
11
11
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
@@ -1,3 +1,3 @@
1
1
  module FontAwesomeRails
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: font_awesome_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
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-08-22 00:00:00.000000000 Z
12
+ date: 2012-08-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sass
@@ -178,7 +178,7 @@ files:
178
178
  - vendor/assets/font/fontawesome-webfont.woff
179
179
  - vendor/assets/stylesheets/font-awesome/_classic.scss
180
180
  - vendor/assets/stylesheets/font-awesome/ie7.css
181
- homepage: http://github.com/haines/font_awesome_rails
181
+ homepage: http://haines.github.com/font_awesome_rails/
182
182
  licenses: []
183
183
  post_install_message:
184
184
  rdoc_options: []
@@ -192,7 +192,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
192
192
  version: '0'
193
193
  segments:
194
194
  - 0
195
- hash: -639331551
195
+ hash: -603990543
196
196
  required_rubygems_version: !ruby/object:Gem::Requirement
197
197
  none: false
198
198
  requirements:
@@ -201,7 +201,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
201
201
  version: '0'
202
202
  segments:
203
203
  - 0
204
- hash: -639331551
204
+ hash: -603990543
205
205
  requirements: []
206
206
  rubyforge_project:
207
207
  rubygems_version: 1.8.24