font-awesome-rails 4.0.0.0 → 4.0.1.0

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: b08dd5de2b11c19840d5eb5643647383e5a4655e
4
- data.tar.gz: 416ce426a02b5c13e597e0d1dbe7cbdf64956ef3
3
+ metadata.gz: 1cd6174de33a47ca0258540ac0a13bc6f6d8cdaa
4
+ data.tar.gz: 758b7c21aa497bdfd39e956bd7d083e9231b5dfe
5
5
  SHA512:
6
- metadata.gz: 6a6c7e714c523be31ec732dcf83f8cc9a1a60016ed339506ddf5bdd9cfad45f803aef867c353f64c17dd56dcba6ccc8c020cf2abe9a1201b85cd8b98675ac2ef
7
- data.tar.gz: 641f5e727f84afeef7e2bf5a1b38465ce7d1ea379ef57c48635442e9d3f7f75ab3f8a659c22213c316ba9cd4bb9920ac3350d1d63c044d2ce15398d726cf9c3b
6
+ metadata.gz: 6180983b85936711854f2448acbea55763fc63c113b6001db6827256732248e003a52157afad667712142d6d7a17dd4bf855c17558d124b0a36a624afe9454a4
7
+ data.tar.gz: 95998281bb57f6819eb87b94eea2d20e88009a6efbaac15017ac0a1e9601059cfa61cc73b1771b9a4b9e3ef3a738f03e077e4dfeaec9da8bb7f064bd6d6da14b
data/README.md CHANGED
@@ -60,8 +60,8 @@ fa_icon "camera-retro", text: "Take a photo"
60
60
  fa_icon "quote-left 4x muted", class: "muted pull-left"
61
61
  # => <i class="fa fa-quote-left fa-4x muted pull-left"></i>
62
62
 
63
- content_tag(:li, fa_icon("ok li", text: "Bulleted list item"))
64
- # => <li><i class="fa fa-ok fa-li"></i> Bulleted list item</li>
63
+ content_tag(:li, fa_icon("check li", text: "Bulleted list item"))
64
+ # => <li><i class="fa fa-check fa-li"></i> Bulleted list item</li>
65
65
  ```
66
66
 
67
67
  ```ruby
@@ -105,6 +105,7 @@ so that these helpers are automatically loaded in production environments.
105
105
  | 3.2.1.2 | b1a8ad4 | fixed suffix on svg font url during asset precompilation |
106
106
  | 3.2.1.3 | b1a8ad4 | added `fa_icon` and `fa_stacked_icon` view helpers |
107
107
  | 4.0.0.0 | 4e92eeb | 4.0.0 release (new naming conventions, new icons, IE7 support dropped) |
108
+ | 4.0.1.0 | c84c8ab | 4.0.1 release (fixed hdd icon and fa-stack alignment) |
108
109
 
109
110
  **note on version 0.2.0**: FontAwesome now includes scss and sass files, but
110
111
  when I used them instead of the plain ol css file included in the project, it
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Font Awesome 4.0.0
2
+ * Font Awesome 4.0.1
3
3
  * the iconic font designed for Bootstrap
4
4
  * ------------------------------------------------------------------------------
5
5
  * The full suite of pictographic icons, examples, and documentation can be
@@ -195,6 +195,7 @@
195
195
  .fa-stack-1x,
196
196
  .fa-stack-2x {
197
197
  position: absolute;
198
+ left: 0;
198
199
  width: 100%;
199
200
  text-align: center;
200
201
  }
@@ -666,7 +667,7 @@
666
667
  .fa-rss:before {
667
668
  content: "\f09e";
668
669
  }
669
- .fa-hdd:before {
670
+ .fa-hdd-o:before {
670
671
  content: "\f0a0";
671
672
  }
672
673
  .fa-bullhorn:before {
@@ -25,8 +25,8 @@ module FontAwesome
25
25
  # fa_icon "user", data: { id: 123 }
26
26
  # # => <i class="fa fa-user" data-id="123"></i>
27
27
  #
28
- # content_tag(:li, fa_icon("ok li", text: "Bulleted list item"))
29
- # # => <li><i class="fa fa-ok fa-li"></i> Bulleted list item</li>
28
+ # content_tag(:li, fa_icon("check li", text: "Bulleted list item"))
29
+ # # => <li><i class="fa fa-check fa-li"></i> Bulleted list item</li>
30
30
  def fa_icon(names = "flag", options = {})
31
31
  classes = ["fa"]
32
32
  classes.concat Private.icon_names(names)
@@ -1,5 +1,5 @@
1
1
  module FontAwesome
2
2
  module Rails
3
- VERSION = "4.0.0.0"
3
+ VERSION = "4.0.1.0"
4
4
  end
5
5
  end
@@ -5780,3 +5780,29 @@ Compiled font-awesome.css (18ms) (pid 18078)
5780
5780
  Served asset /font-awesome.css - 200 OK (24ms)
5781
5781
  Started GET "/assets/font-awesome.css" for 127.0.0.1 at 2013-10-23 21:20:08 -0400
5782
5782
  Served asset /font-awesome.css - 200 OK (0ms)
5783
+ Started GET "/assets/fontawesome-webfont.eot" for 127.0.0.1 at 2013-10-24 08:41:34 -0400
5784
+ Served asset /fontawesome-webfont.eot - 200 OK (4ms)
5785
+ Started GET "/assets/fontawesome-webfont.ttf" for 127.0.0.1 at 2013-10-24 08:41:34 -0400
5786
+ Served asset /fontawesome-webfont.ttf - 200 OK (3ms)
5787
+ Started GET "/assets/fontawesome-webfont.woff" for 127.0.0.1 at 2013-10-24 08:41:34 -0400
5788
+ Served asset /fontawesome-webfont.woff - 200 OK (3ms)
5789
+ Started GET "/icons" for 127.0.0.1 at 2013-10-24 08:41:34 -0400
5790
+ Processing by PagesController#icons as HTML
5791
+ Completed 200 OK in 6ms (Views: 6.1ms)
5792
+ Started GET "/assets/sprockets-require.css" for 127.0.0.1 at 2013-10-24 08:41:34 -0400
5793
+ Compiled font-awesome.css (12ms) (pid 10524)
5794
+ Compiled sprockets-require.css (16ms) (pid 10524)
5795
+ Served asset /sprockets-require.css - 200 OK (22ms)
5796
+ Started GET "/assets/sass-import.css" for 127.0.0.1 at 2013-10-24 08:41:34 -0400
5797
+ Compiled font-awesome.css (15ms) (pid 10524)
5798
+ Compiled sass-import.css (223ms) (pid 10524)
5799
+ Served asset /sass-import.css - 200 OK (232ms)
5800
+ Started GET "/assets/scss-import.css" for 127.0.0.1 at 2013-10-24 08:41:34 -0400
5801
+ Compiled font-awesome.css (25ms) (pid 10524)
5802
+ Compiled scss-import.css (208ms) (pid 10524)
5803
+ Served asset /scss-import.css - 200 OK (215ms)
5804
+ Started GET "/assets/font-awesome.css" for 127.0.0.1 at 2013-10-24 08:41:34 -0400
5805
+ Compiled font-awesome.css (16ms) (pid 10524)
5806
+ Served asset /font-awesome.css - 200 OK (21ms)
5807
+ Started GET "/assets/font-awesome.css" for 127.0.0.1 at 2013-10-24 08:41:35 -0400
5808
+ Served asset /font-awesome.css - 200 OK (0ms)
@@ -21,16 +21,16 @@ class FontAwesome::Rails::IconHelperTest < ActionView::TestCase
21
21
 
22
22
  test "#fa_icon should render icons with array modifiers" do
23
23
  assert_icon i("fa fa-flag"), ["flag"]
24
- assert_icon i("fa fa-ok fa-li"), ["ok", "li"]
24
+ assert_icon i("fa fa-check fa-li"), ["check", "li"]
25
25
  assert_icon i("fa fa-flag fa-4x"), ["flag", "4x"]
26
26
  assert_icon i("fa fa-refresh fa-2x fa-spin"), ["refresh", "2x", "spin"]
27
27
  end
28
28
 
29
29
  test "#fa_icon should incorporate additional class styles" do
30
- assert_icon i("fa fa-flag pull-right"), "flag", :class => "pull-right"
31
- assert_icon i("fa fa-flag fa-2x pull-right"), ["flag", "2x"], :class => ["pull-right"]
32
- assert_icon i("fa fa-ok fa-li pull-right special"), "ok li", :class => "pull-right special"
33
- assert_icon i("fa fa-ok pull-right special"), "ok", :class => ["pull-right", "special"]
30
+ assert_icon i("fa fa-flag pull-right"), "flag", :class => "pull-right"
31
+ assert_icon i("fa fa-flag fa-2x pull-right"), ["flag", "2x"], :class => ["pull-right"]
32
+ assert_icon i("fa fa-check fa-li pull-right special"), "check li", :class => "pull-right special"
33
+ assert_icon i("fa fa-check pull-right special"), "check", :class => ["pull-right", "special"]
34
34
  end
35
35
 
36
36
  test "#fa_icon should incorporate a text suffix" do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: font-awesome-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0.0
4
+ version: 4.0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - bokmann
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-10-24 00:00:00.000000000 Z
11
+ date: 2013-10-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties