font-awesome-rails 3.2.0.0 → 4.7.0.8

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.
@@ -0,0 +1,100 @@
1
+ module FontAwesome
2
+ module Rails
3
+ module IconHelper
4
+ # Creates an icon tag given an icon name and possible icon
5
+ # modifiers.
6
+ #
7
+ # Examples
8
+ #
9
+ # fa_icon "camera-retro"
10
+ # # => <i class="fa fa-camera-retro"></i>
11
+ #
12
+ # fa_icon "camera-retro", text: "Take a photo"
13
+ # # => <i class="fa fa-camera-retro"></i> Take a photo
14
+ # fa_icon "chevron-right", text: "Get started", right: true
15
+ # # => Get started <i class="fa fa-chevron-right"></i>
16
+ #
17
+ # fa_icon "camera-retro 2x"
18
+ # # => <i class="fa fa-camera-retro fa-2x"></i>
19
+ # fa_icon ["camera-retro", "4x"]
20
+ # # => <i class="fa fa-camera-retro fa-4x"></i>
21
+ # fa_icon "spinner spin lg"
22
+ # # => <i class="fa fa-spinner fa-spin fa-lg">
23
+ #
24
+ # fa_icon "quote-left 4x", class: "pull-left"
25
+ # # => <i class="fa fa-quote-left fa-4x pull-left"></i>
26
+ #
27
+ # fa_icon "user", data: { id: 123 }
28
+ # # => <i class="fa fa-user" data-id="123"></i>
29
+ #
30
+ # content_tag(:li, fa_icon("check li", text: "Bulleted list item"))
31
+ # # => <li><i class="fa fa-check fa-li"></i> Bulleted list item</li>
32
+ def fa_icon(names = "flag", original_options = {})
33
+ options = original_options.deep_dup
34
+ classes = ["fa"]
35
+ classes.concat Private.icon_names(names)
36
+ classes.concat Array(options.delete(:class))
37
+ text = options.delete(:text)
38
+ right_icon = options.delete(:right)
39
+ icon = content_tag(:i, nil, options.merge(:class => classes))
40
+ Private.icon_join(icon, text, right_icon)
41
+ end
42
+
43
+ # Creates an stack set of icon tags given a base icon name, a main icon
44
+ # name, and possible icon modifiers.
45
+ #
46
+ # Examples
47
+ #
48
+ # fa_stacked_icon "twitter", base: "square-o"
49
+ # # => <span class="fa-stack">
50
+ # # => <i class="fa fa-square-o fa-stack-2x"></i>
51
+ # # => <i class="fa fa-twitter fa-stack-1x"></i>
52
+ # # => </span>
53
+ #
54
+ # fa_stacked_icon "terminal inverse", base: "square", class: "pull-right", text: "Hi!"
55
+ # # => <span class="fa-stack pull-right">
56
+ # # => <i class="fa fa-square fa-stack-2x"></i>
57
+ # # => <i class="fa fa-terminal fa-inverse fa-stack-1x"></i>
58
+ # # => </span> Hi!
59
+ #
60
+ # fa_stacked_icon "camera", base: "ban-circle", reverse: true
61
+ # # => <span class="fa-stack">
62
+ # # => <i class="fa fa-camera fa-stack-1x"></i>
63
+ # # => <i class="fa fa-ban-circle fa-stack-2x"></i>
64
+ # # => </span>
65
+ def fa_stacked_icon(names = "flag", original_options = {})
66
+ options = original_options.deep_dup
67
+ classes = Private.icon_names("stack").concat(Array(options.delete(:class)))
68
+ base_names = Private.array_value(options.delete(:base) || "square-o").push("stack-2x")
69
+ names = Private.array_value(names).push("stack-1x")
70
+ base = fa_icon(base_names, options.delete(:base_options) || {})
71
+ icon = fa_icon(names, options.delete(:icon_options) || {})
72
+ icons = [base, icon]
73
+ icons.reverse! if options.delete(:reverse)
74
+ text = options.delete(:text)
75
+ right_icon = options.delete(:right)
76
+ stacked_icon = content_tag(:span, safe_join(icons), options.merge(:class => classes))
77
+ Private.icon_join(stacked_icon, text, right_icon)
78
+ end
79
+
80
+ module Private
81
+ extend ActionView::Helpers::OutputSafetyHelper
82
+
83
+ def self.icon_join(icon, text, reverse_order = false)
84
+ return icon if text.blank?
85
+ elements = [icon, ERB::Util.html_escape(text)]
86
+ elements.reverse! if reverse_order
87
+ safe_join(elements, " ")
88
+ end
89
+
90
+ def self.icon_names(names = [])
91
+ array_value(names).map { |n| "fa-#{n}" }
92
+ end
93
+
94
+ def self.array_value(value = [])
95
+ value.is_a?(Array) ? value : value.to_s.split(/\s+/)
96
+ end
97
+ end
98
+ end
99
+ end
100
+ end
@@ -1,8 +1,6 @@
1
- module Font
2
- module Awesome
3
- module Rails
4
- class Engine < ::Rails::Engine
5
- end
1
+ module FontAwesome
2
+ module Rails
3
+ class Engine < ::Rails::Engine
6
4
  end
7
5
  end
8
6
  end
@@ -1,7 +1,6 @@
1
- module Font
2
- module Awesome
3
- module Rails
4
- VERSION = "3.2.0.0"
5
- end
1
+ module FontAwesome
2
+ module Rails
3
+ FA_VERSION = "4.7.0"
4
+ VERSION = "4.7.0.8"
6
5
  end
7
6
  end
@@ -0,0 +1,2 @@
1
+ /log
2
+ /tmp
@@ -0,0 +1,3 @@
1
+ //= link_tree ../images
2
+ //= link_directory ../javascripts .js
3
+ //= link_directory ../stylesheets .css
@@ -1,3 +1,3 @@
1
1
  /*
2
2
  *= require font-awesome
3
- */
3
+ */
@@ -0,0 +1,2 @@
1
+ class PagesController < ActionController::Base
2
+ end
@@ -0,0 +1,3 @@
1
+ <%= fa_icon "flag" %>
2
+
3
+ <%= fa_stacked_icon "twitter", :base => "check-empty" %>
@@ -14,5 +14,6 @@ module Dummy
14
14
  # replacement for environments/*.rb
15
15
  config.active_support.deprecation = :stderr
16
16
  config.eager_load = false
17
+ config.active_support.test_order = :random rescue nil
17
18
  end
18
19
  end
@@ -4,5 +4,19 @@
4
4
  # If you change this key, all old signed cookies will become invalid!
5
5
  # Make sure the secret is at least 30 characters and all random,
6
6
  # no regular words or you'll be exposed to dictionary attacks.
7
- Dummy::Application.config.secret_token = 'deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef'
8
- Dummy::Application.config.secret_key_base = 'deadbeef' if Dummy::Application.config.respond_to?(:secret_key_base)
7
+ #
8
+ # avoid deprecation warnings if building against older versions of Rails
9
+
10
+ # secret_token migrated to secret_key_base in Rails 4
11
+ SKB_VERSION = Gem::Version.new('4.0.0')
12
+
13
+ # Get the current Rails version.
14
+ RAILS_VERSION = Rails.respond_to?(:version) ? Gem::Version.new(Rails.version) : Gem::Version.new('3.22')
15
+
16
+ # if we're running an old version of Rails
17
+ if RAILS_VERSION < SKB_VERSION
18
+ Dummy::Application.config.secret_token = 'deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef'
19
+ else
20
+ Dummy::Application.config.secret_key_base = 'deadbeef' if Dummy::Application.config.respond_to?(:secret_key_base)
21
+ end
22
+
@@ -1,2 +1,3 @@
1
1
  Dummy::Application.routes.draw do
2
+ get "/icons", :to => "pages#icons"
2
3
  end
@@ -4,34 +4,35 @@ class FontAwesomeRailsTest < ActionDispatch::IntegrationTest
4
4
  teardown { clean_sprockets_cache }
5
5
 
6
6
  test "engine is loaded" do
7
- assert_equal ::Rails::Engine, Font::Awesome::Rails::Engine.superclass
7
+ assert_equal ::Rails::Engine, FontAwesome::Rails::Engine.superclass
8
8
  end
9
9
 
10
10
  test "fonts are served" do
11
11
  get "/assets/fontawesome-webfont.eot"
12
12
  assert_response :success
13
- get "/assets/fontawesome-webfont.ttf"
13
+ get "/assets/fontawesome-webfont.woff2"
14
14
  assert_response :success
15
15
  get "/assets/fontawesome-webfont.woff"
16
16
  assert_response :success
17
+ get "/assets/fontawesome-webfont.ttf"
18
+ assert_response :success
19
+ get "/assets/fontawesome-webfont.svg"
20
+ assert_response :success
17
21
  end
18
22
 
19
23
  test "stylesheets are served" do
20
24
  get "/assets/font-awesome.css"
21
25
  assert_font_awesome(response)
22
- get "/assets/font-awesome-ie7.min.css"
23
- assert_response :success
24
- get "/assets/font-awesome-ie7.css"
25
- assert_response :success
26
26
  end
27
27
 
28
28
  test "stylesheets contain asset pipeline references to fonts" do
29
29
  get "/assets/font-awesome.css"
30
- assert_match "/assets/fontawesome-webfont.eot", response.body
31
- assert_match "/assets/fontawesome-webfont.eot?#iefix", response.body
32
- assert_match "/assets/fontawesome-webfont.woff", response.body
33
- assert_match "/assets/fontawesome-webfont.ttf", response.body
34
- assert_match "/assets/fontawesome-webfont.svg#fontawesomeregular", response.body
30
+ assert_match %r{/assets/fontawesome-webfont(-\w+)?\.eot}, response.body
31
+ assert_match %r{/assets/fontawesome-webfont(-\w+)?\.eot\?#iefix}, response.body
32
+ assert_match %r{/assets/fontawesome-webfont(-\w+)?\.woff2}, response.body
33
+ assert_match %r{/assets/fontawesome-webfont(-\w+)?\.woff}, response.body
34
+ assert_match %r{/assets/fontawesome-webfont(-\w+)?\.ttf}, response.body
35
+ assert_match %r{/assets/fontawesome-webfont(-\w+)?\.svg#fontawesomeregular}, response.body
35
36
  end
36
37
 
37
38
  test "stylesheet is available in a css sprockets require" do
@@ -49,6 +50,13 @@ class FontAwesomeRailsTest < ActionDispatch::IntegrationTest
49
50
  assert_font_awesome(response)
50
51
  end
51
52
 
53
+ test "helpers should be available in the view" do
54
+ get "/icons"
55
+ assert_response :success
56
+ assert_select "i.fa.fa-flag"
57
+ assert_select "span.fa-stack"
58
+ end
59
+
52
60
  private
53
61
 
54
62
  def clean_sprockets_cache
@@ -0,0 +1,138 @@
1
+ require 'test_helper'
2
+
3
+ class FontAwesome::Rails::IconHelperTest < ActionView::TestCase
4
+
5
+ test "#fa_icon with no args should render a flag icon" do
6
+ assert_icon i("fa fa-flag")
7
+ end
8
+
9
+ test "#fa_icon should render different individual icons" do
10
+ assert_icon i("fa fa-flag"), "flag"
11
+ assert_icon i("fa fa-camera-retro"), "camera-retro"
12
+ assert_icon i("fa fa-cog"), "cog"
13
+ assert_icon i("fa fa-github"), "github"
14
+ end
15
+
16
+ test "#fa_icon should render icons with multiple modifiers" do
17
+ assert_icon i("fa fa-pencil fa-fixed-width"), "pencil fixed-width"
18
+ assert_icon i("fa fa-flag fa-4x"), "flag 4x"
19
+ assert_icon i("fa fa-refresh fa-2x fa-spin"), "refresh 2x spin"
20
+ end
21
+
22
+ test "#fa_icon should render icons with array modifiers" do
23
+ assert_icon i("fa fa-flag"), ["flag"]
24
+ assert_icon i("fa fa-check fa-li"), ["check", "li"]
25
+ assert_icon i("fa fa-flag fa-4x"), ["flag", "4x"]
26
+ assert_icon i("fa fa-refresh fa-2x fa-spin"), ["refresh", "2x", "spin"]
27
+ end
28
+
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-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
+ end
35
+
36
+ test "#fa_icon should incorporate a text suffix" do
37
+ assert_icon "#{i("fa fa-camera-retro")} Take a photo", "camera-retro", :text => "Take a photo"
38
+ end
39
+
40
+ test "#fa_icon should be able to put the icon on the right" do
41
+ assert_icon "Submit #{i("fa fa-chevron-right")}", "chevron-right", :text => "Submit", :right => true
42
+ end
43
+
44
+ test "#fa_icon should html escape text" do
45
+ assert_icon "#{i("fa fa-camera-retro")} &lt;script&gt;&lt;/script&gt;", "camera-retro", :text => "<script></script>"
46
+ end
47
+
48
+ test "#fa_icon should not html escape safe text" do
49
+ assert_icon "#{i("fa fa-camera-retro")} <script></script>", "camera-retro", :text => "<script></script>".html_safe
50
+ end
51
+
52
+ test "#fa_icon should pull it all together" do
53
+ assert_icon "#{i("fa fa-camera-retro pull-right")} Take a photo", "camera-retro", :text => "Take a photo", :class => "pull-right"
54
+ end
55
+
56
+ test "#fa_icon should pass all other options through" do
57
+ assert_icon %(<i class="fa fa-user" data-id="123"></i>), "user", :data => { :id => 123 }
58
+ end
59
+
60
+ test '#fa_icon does not modify options' do
61
+ icon_options = { :class => 'foo', :data => { :id => 123 }, :text => 'bar' }
62
+ assert_icon %(<i class="fa fa-user foo" data-id="123"></i> bar), "user", icon_options
63
+ assert_includes icon_options, :class
64
+ assert_includes icon_options, :text
65
+ assert_includes icon_options, :data
66
+ end
67
+
68
+ test "#fa_stacked_icon with no args should render a flag icon" do
69
+ expected = %(<span class="fa-stack">#{i("fa fa-square-o fa-stack-2x")}#{i("fa fa-flag fa-stack-1x")}</span>)
70
+ assert_stacked_icon expected
71
+ end
72
+
73
+ test "#fa_stacked_icon should render a stacked icon" do
74
+ expected = %(<span class="fa-stack">#{i("fa fa-square-o fa-stack-2x")}#{i("fa fa-twitter fa-stack-1x")}</span>)
75
+ assert_stacked_icon expected, "twitter", :base => "square-o"
76
+ expected = %(<span class="fa-stack">#{i("fa fa-square fa-stack-2x")}#{i("fa fa-terminal fa-inverse fa-stack-1x")}</span>)
77
+ assert_stacked_icon expected, ["terminal", "inverse"], :base => ["square"]
78
+ end
79
+
80
+ test "#fa_stacked_icon should incorporate additional class styles" do
81
+ expected = %(<span class="fa-stack pull-right">#{i("fa fa-square-o fa-stack-2x")}#{i("fa fa-twitter fa-stack-1x")}</span>)
82
+ assert_stacked_icon expected, "twitter", :base => "square-o", :class => "pull-right"
83
+ end
84
+
85
+ test "#fa_stacked_icon should reverse the stack" do
86
+ expected = %(<span class="fa-stack">#{i("fa fa-facebook fa-stack-1x")}#{i("fa fa-ban fa-stack-2x")}</span>)
87
+ assert_stacked_icon expected, "facebook", :base => "ban", :reverse => "true"
88
+ end
89
+
90
+ test "#fa_stacked_icon should be able to put the icon on the right" do
91
+ expected = %(Go <span class="fa-stack">#{i("fa fa-square-o fa-stack-2x")}#{i("fa fa-exclamation fa-stack-1x")}</span>)
92
+ assert_stacked_icon expected, "exclamation", :text => "Go", :right => true
93
+ end
94
+
95
+ test "#fa_stacked_icon should html escape text" do
96
+ expected = %(<span class="fa-stack">#{i("fa fa-check-empty fa-stack-2x")}#{i("fa fa-twitter fa-stack-1x")}</span> &lt;script&gt;)
97
+ assert_stacked_icon expected, "twitter", :base => "check-empty", :text => "<script>"
98
+ end
99
+
100
+ test "#fa_stacked_icon should not html escape safe text" do
101
+ expected = %(<span class="fa-stack">#{i("fa fa-square-o fa-stack-2x")}#{i("fa fa-twitter fa-stack-1x")}</span> <script>)
102
+ assert_stacked_icon expected, "twitter", :base => "square-o", :text => "<script>".html_safe
103
+ end
104
+
105
+ test "#fa_stacked_icon should accept options for base and main icons" do
106
+ expected = %(<span class="fa-stack">#{i("fa fa-camera fa-stack-1x text-info")}#{i("fa fa-ban fa-stack-2x text-error")}</span>)
107
+ assert_stacked_icon expected, "camera", :base => "ban", :reverse => true, :base_options => { :class => "text-error" }, :icon_options => { :class => "text-info" }
108
+ end
109
+
110
+ test "#fa_stacked_icon should pass all other options through" do
111
+ expected = %(<span class="fa-stack" data-id="123">#{i("fa fa-square-o fa-stack-2x")}#{i("fa fa-user fa-stack-1x")}</span>)
112
+ assert_stacked_icon expected, "user", :base => "square-o", :data => { :id => 123 }
113
+ end
114
+
115
+ test '#fa_stacked_icon does not modify options' do
116
+ icon_options = { :class => 'foo', :base => "square-o", :data => { :id => 123 } }
117
+ expected = %(<span class="fa-stack foo" data-id="123">#{i("fa fa-square-o fa-stack-2x")}#{i("fa fa-user fa-stack-1x")}</span>)
118
+ assert_stacked_icon expected, "user", icon_options
119
+ assert_includes icon_options, :class
120
+ assert_includes icon_options, :data
121
+ end
122
+
123
+ private
124
+
125
+ def assert_icon(expected, *args)
126
+ message = "`fa_icon(#{args.inspect[1...-1]})` should return `#{expected}`"
127
+ assert_dom_equal expected, fa_icon(*args), message
128
+ end
129
+
130
+ def assert_stacked_icon(expected, *args)
131
+ message = "`fa_stacked_icon(#{args.inspect[1...-1]})` should return `#{expected}`"
132
+ assert_dom_equal expected, fa_stacked_icon(*args), message
133
+ end
134
+
135
+ def i(classes)
136
+ %(<i class="#{classes}"></i>)
137
+ end
138
+ end
metadata CHANGED
@@ -1,146 +1,139 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: font-awesome-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.0.0
4
+ version: 4.7.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - bokmann
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-06-13 00:00:00.000000000 Z
11
+ date: 2021-12-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
+ name: railties
14
15
  requirement: !ruby/object:Gem::Requirement
15
16
  requirements:
16
- - - ! '>='
17
+ - - ">="
17
18
  - !ruby/object:Gem::Version
18
19
  version: '3.2'
19
- - - <
20
+ - - "<"
20
21
  - !ruby/object:Gem::Version
21
- version: '5.0'
22
+ version: '8.0'
23
+ type: :runtime
24
+ prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - ! '>='
27
+ - - ">="
25
28
  - !ruby/object:Gem::Version
26
29
  version: '3.2'
27
- - - <
30
+ - - "<"
28
31
  - !ruby/object:Gem::Version
29
- version: '5.0'
30
- type: :runtime
31
- prerelease: false
32
- name: railties
32
+ version: '8.0'
33
33
  - !ruby/object:Gem::Dependency
34
+ name: activesupport
34
35
  requirement: !ruby/object:Gem::Requirement
35
36
  requirements:
36
- - - ! '>='
37
- - !ruby/object:Gem::Version
38
- version: '0'
39
- version_requirements: !ruby/object:Gem::Requirement
40
- requirements:
41
- - - ! '>='
37
+ - - ">="
42
38
  - !ruby/object:Gem::Version
43
39
  version: '0'
44
40
  type: :development
45
41
  prerelease: false
46
- name: activesupport
47
- - !ruby/object:Gem::Dependency
48
- requirement: !ruby/object:Gem::Requirement
49
- requirements:
50
- - - ! '>='
51
- - !ruby/object:Gem::Version
52
- version: '0'
53
42
  version_requirements: !ruby/object:Gem::Requirement
54
43
  requirements:
55
- - - ! '>='
44
+ - - ">="
56
45
  - !ruby/object:Gem::Version
57
46
  version: '0'
58
- type: :development
59
- prerelease: false
60
- name: tzinfo
61
47
  - !ruby/object:Gem::Dependency
48
+ name: sassc-rails
62
49
  requirement: !ruby/object:Gem::Requirement
63
50
  requirements:
64
- - - ! '>='
51
+ - - ">="
65
52
  - !ruby/object:Gem::Version
66
53
  version: '0'
54
+ type: :development
55
+ prerelease: false
67
56
  version_requirements: !ruby/object:Gem::Requirement
68
57
  requirements:
69
- - - ! '>='
58
+ - - ">="
70
59
  - !ruby/object:Gem::Version
71
60
  version: '0'
72
- type: :development
73
- prerelease: false
74
- name: sass-rails
75
- description: I like font-awesome. I like the asset pipeline. I like semantic versioning.
76
- If you do too, you're welcome.
61
+ description: font-awesome-rails provides the Font-Awesome web fonts and stylesheets
62
+ as a Rails engine for use with the asset pipeline.
77
63
  email:
78
64
  - dbock@codesherpas.com
79
65
  executables: []
80
66
  extensions: []
81
67
  extra_rdoc_files: []
82
68
  files:
69
+ - LICENSE
70
+ - README.md
71
+ - Rakefile
72
+ - app/assets/fonts/FontAwesome.otf
83
73
  - app/assets/fonts/fontawesome-webfont.eot
84
74
  - app/assets/fonts/fontawesome-webfont.svg
85
75
  - app/assets/fonts/fontawesome-webfont.ttf
86
76
  - app/assets/fonts/fontawesome-webfont.woff
87
- - app/assets/fonts/FontAwesome.otf
88
- - app/assets/stylesheets/font-awesome-ie7.css
89
- - app/assets/stylesheets/font-awesome-ie7.min.css
77
+ - app/assets/fonts/fontawesome-webfont.woff2
90
78
  - app/assets/stylesheets/font-awesome.css.erb
79
+ - app/helpers/font_awesome/rails/icon_helper.rb
80
+ - lib/font-awesome-rails.rb
91
81
  - lib/font-awesome-rails/engine.rb
92
82
  - lib/font-awesome-rails/version.rb
93
- - lib/font-awesome-rails.rb
94
- - LICENSE
95
- - Rakefile
96
- - README.md
83
+ - test/dummy/.gitignore
84
+ - test/dummy/app/assets/config/manifest.js
97
85
  - test/dummy/app/assets/stylesheets/sass-import.css.sass
98
86
  - test/dummy/app/assets/stylesheets/scss-import.css.scss
99
87
  - test/dummy/app/assets/stylesheets/sprockets-require.css
88
+ - test/dummy/app/controllers/pages_controller.rb
89
+ - test/dummy/app/views/pages/icons.html.erb
90
+ - test/dummy/config.ru
100
91
  - test/dummy/config/application.rb
101
92
  - test/dummy/config/boot.rb
102
93
  - test/dummy/config/environment.rb
103
94
  - test/dummy/config/initializers/secret_token.rb
104
95
  - test/dummy/config/routes.rb
105
- - test/dummy/config.ru
106
- - test/dummy/log/test.log
107
96
  - test/font_awesome_rails_test.rb
97
+ - test/icon_helper_test.rb
108
98
  - test/test_helper.rb
109
99
  homepage: https://github.com/bokmann/font-awesome-rails
110
100
  licenses:
111
101
  - MIT
112
102
  - SIL Open Font License
113
103
  metadata: {}
114
- post_install_message:
104
+ post_install_message:
115
105
  rdoc_options: []
116
106
  require_paths:
117
107
  - lib
118
108
  required_ruby_version: !ruby/object:Gem::Requirement
119
109
  requirements:
120
- - - ! '>='
110
+ - - ">="
121
111
  - !ruby/object:Gem::Version
122
- version: '0'
112
+ version: 1.9.3
123
113
  required_rubygems_version: !ruby/object:Gem::Requirement
124
114
  requirements:
125
- - - ! '>='
115
+ - - ">="
126
116
  - !ruby/object:Gem::Version
127
117
  version: '0'
128
118
  requirements: []
129
- rubyforge_project:
130
- rubygems_version: 2.0.3
131
- signing_key:
119
+ rubygems_version: 3.1.6
120
+ signing_key:
132
121
  specification_version: 4
133
122
  summary: an asset gemification of the font-awesome icon font library
134
123
  test_files:
124
+ - test/dummy/.gitignore
125
+ - test/dummy/app/assets/config/manifest.js
135
126
  - test/dummy/app/assets/stylesheets/sass-import.css.sass
136
127
  - test/dummy/app/assets/stylesheets/scss-import.css.scss
137
128
  - test/dummy/app/assets/stylesheets/sprockets-require.css
129
+ - test/dummy/app/controllers/pages_controller.rb
130
+ - test/dummy/app/views/pages/icons.html.erb
131
+ - test/dummy/config.ru
138
132
  - test/dummy/config/application.rb
139
133
  - test/dummy/config/boot.rb
140
134
  - test/dummy/config/environment.rb
141
135
  - test/dummy/config/initializers/secret_token.rb
142
136
  - test/dummy/config/routes.rb
143
- - test/dummy/config.ru
144
- - test/dummy/log/test.log
145
137
  - test/font_awesome_rails_test.rb
138
+ - test/icon_helper_test.rb
146
139
  - test/test_helper.rb