font-awesome-rails 4.7.0.2 → 4.7.0.7

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
- SHA1:
3
- metadata.gz: b22a4addac2e58023dc811e6fb1544e12f81fe24
4
- data.tar.gz: 521d0896002f1b547e124f89f89e93a2af8d33dd
2
+ SHA256:
3
+ metadata.gz: 2ab2227fa63932e46da120c386f9b872d53212548647ef4a1843c749c36793a7
4
+ data.tar.gz: 7b418248c5fc84029ea1f16efdb16516b753ad4d058a29dd9fd46547d795b882
5
5
  SHA512:
6
- metadata.gz: 108b1bb679cf05751b81b964c1079aed2f432f54a727a77182180e7f76b93bf8544e14c70ff801cff692c277038e93359949691ccdd735da1b13e839ba36d9ab
7
- data.tar.gz: 8e3efca5a960e39b748c67ba0d361fe5e8c26603db41a58783cedcb50d91dfa6058cf42716fc20e2e2dffb0bf9b36a19b9a6124c42210f8710871008205ce5c9
6
+ metadata.gz: 054deab3425809e3784a123e6df2798c4ff84b8dd11dfeb63f7a7ee7f9a80568679dda58fa82914488c2eb6d101482f54d4866284475d2b417a6d05cd04b0dc2
7
+ data.tar.gz: ec9d8fef04ecebe35456eadc4ee77720eb2fdaf3fd2712c18919d4664d357d5cf0d8bfbf6b4bd5a7e91215adaab45eb379a607539ec75cc51869a469e1299619
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # font-awesome-rails
2
2
 
3
3
  [![Gem Version](http://img.shields.io/gem/v/font-awesome-rails.svg)](https://rubygems.org/gems/font-awesome-rails)
4
- [![Build Status](https://secure.travis-ci.org/bokmann/font-awesome-rails.svg)](http://travis-ci.org/bokmann/font-awesome-rails)
4
+ [![Build Status](https://github.com/bokmann/font-awesome-rails/workflows/CI/badge.svg)](https://github.com/bokmann/font-awesome-rails/actions?query=workflow%3ACI)
5
5
  [![Gem Downloads](https://img.shields.io/gem/dt/font-awesome-rails.svg)](https://rubygems.org/gems/font-awesome-rails)
6
6
 
7
7
  font-awesome-rails provides the
@@ -97,7 +97,7 @@ fa_stacked_icon "terminal inverse", base: "square", class: "pull-right", text: "
97
97
  ### Rails engines
98
98
 
99
99
  When building a Rails engine that includes font-awesome-rails as a dependency,
100
- be sure to `require "font-awesome-rails"` somewhere during the intialization of
100
+ be sure to `require "font-awesome-rails"` somewhere during the initialization of
101
101
  your engine. Otherwise, Rails will not automatically pick up the load path of
102
102
  the font-awesome-rails assets and helpers ([source 1](https://github.com/bokmann/font-awesome-rails/issues/130#issuecomment-95308175), [source 2](https://bibwild.wordpress.com/2013/02/27/gem-depends-on-rails-engine-gem-gotcha-need-explicit-require/), [source 3](http://stackoverflow.com/questions/5159607/rails-engine-gems-dependencies-how-to-load-them-into-the-application/5850503#5850503)).
103
103
 
@@ -130,6 +130,10 @@ set the config option `action_controller.relative_url_root`:
130
130
  The default value of this variable is taken from `ENV['RAILS_RELATIVE_URL_ROOT']`,
131
131
  so configuring the environment to define `RAILS_RELATIVE_URL_ROOT` is an alternative strategy.
132
132
 
133
+ In addition you need to indicate the subfolder when you *precompile* the assets:
134
+
135
+ RAILS_ENV=production bundle exec rake assets:precompile RAILS_RELATIVE_URL_ROOT=/myrailsapp
136
+
133
137
  ### Rails 3.2
134
138
 
135
139
  **Note:** In Rails 3.2, make sure font-awesome-rails is outside the bundler asset group
@@ -1,6 +1,6 @@
1
1
  module FontAwesome
2
2
  module Rails
3
3
  FA_VERSION = "4.7.0"
4
- VERSION = "4.7.0.2"
4
+ VERSION = "4.7.0.7"
5
5
  end
6
6
  end
@@ -0,0 +1,3 @@
1
+ //= link_tree ../images
2
+ //= link_directory ../javascripts .js
3
+ //= link_directory ../stylesheets .css
@@ -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
+
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.7.0.2
4
+ version: 4.7.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - bokmann
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-01 00:00:00.000000000 Z
11
+ date: 2021-02-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3.2'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '5.2'
22
+ version: '7'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3.2'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '5.2'
32
+ version: '7'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: activesupport
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -45,7 +45,7 @@ dependencies:
45
45
  - !ruby/object:Gem::Version
46
46
  version: '0'
47
47
  - !ruby/object:Gem::Dependency
48
- name: sass-rails
48
+ name: sassc-rails
49
49
  requirement: !ruby/object:Gem::Requirement
50
50
  requirements:
51
51
  - - ">="
@@ -58,8 +58,8 @@ dependencies:
58
58
  - - ">="
59
59
  - !ruby/object:Gem::Version
60
60
  version: '0'
61
- description: I like font-awesome. I like the asset pipeline. I like semantic versioning.
62
- 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.
63
63
  email:
64
64
  - dbock@codesherpas.com
65
65
  executables: []
@@ -81,6 +81,7 @@ files:
81
81
  - lib/font-awesome-rails/engine.rb
82
82
  - lib/font-awesome-rails/version.rb
83
83
  - test/dummy/.gitignore
84
+ - test/dummy/app/assets/config/manifest.js
84
85
  - test/dummy/app/assets/stylesheets/sass-import.css.sass
85
86
  - test/dummy/app/assets/stylesheets/scss-import.css.scss
86
87
  - test/dummy/app/assets/stylesheets/sprockets-require.css
@@ -100,7 +101,7 @@ licenses:
100
101
  - MIT
101
102
  - SIL Open Font License
102
103
  metadata: {}
103
- post_install_message:
104
+ post_install_message:
104
105
  rdoc_options: []
105
106
  require_paths:
106
107
  - lib
@@ -115,13 +116,13 @@ required_rubygems_version: !ruby/object:Gem::Requirement
115
116
  - !ruby/object:Gem::Version
116
117
  version: '0'
117
118
  requirements: []
118
- rubyforge_project:
119
- rubygems_version: 2.6.11
120
- signing_key:
119
+ rubygems_version: 3.0.3
120
+ signing_key:
121
121
  specification_version: 4
122
122
  summary: an asset gemification of the font-awesome icon font library
123
123
  test_files:
124
124
  - test/dummy/.gitignore
125
+ - test/dummy/app/assets/config/manifest.js
125
126
  - test/dummy/app/assets/stylesheets/sass-import.css.sass
126
127
  - test/dummy/app/assets/stylesheets/scss-import.css.scss
127
128
  - test/dummy/app/assets/stylesheets/sprockets-require.css