font-awesome-rails 4.7.0.1 → 4.7.0.6

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: 8ac4c977716e754c6950a89aa53e79fdd9e971b2
4
- data.tar.gz: 17b236a5d70bfa6aa99d629aed654829d69714c9
2
+ SHA256:
3
+ metadata.gz: 3bd44f31c8b50ed99f1cc58b2f4877bfb6e78921114a1f8bee815691b5acad52
4
+ data.tar.gz: 57ae88640756c6c58ecd676ef44ed1f977d2de428408276a756c7bc3851b6ca7
5
5
  SHA512:
6
- metadata.gz: cce514f1e13b77576647624eb6a387dc827464f7966760664c5ea3ab01a764d2ac837c6a73fabd4b3a421ef165ce0d2455479b3cd1ade2be916bfabea1540baa
7
- data.tar.gz: 21df9365e1dad89a36b5ff4a5b665fbd148df2dec86479b48cedfb22a96fd14b6c8150560aaee6ab109a337b7b6bb2dfe381b699b98df0829232c0cbb5d07706
6
+ metadata.gz: 194177619485e858d79d3c6601f457ccbc82b49c4cf0560aead9d5e91a9a0952e1c5d564036337d0e05b2cadeca2f02dc73ccebfee0f253bfff05cebd38f76d2
7
+ data.tar.gz: f2ef1524b1c76c9a8635e45bcd9c39328e40a4e76ef61d82c49dd65c672d0b4a17f36aa6593f88e5a2ecc46d3fc13870ab68501e670ab592018830822a66c8a4
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2012 bokmann
1
+ Copyright (c) 2012-2017 bokmann
2
2
 
3
3
  MIT License
4
4
 
data/README.md CHANGED
@@ -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.1"
4
+ VERSION = "4.7.0.6"
5
5
  end
6
6
  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
+
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.1
4
+ version: 4.7.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - bokmann
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-13 00:00:00.000000000 Z
11
+ date: 2020-12-31 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.1'
22
+ version: '6.2'
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.1'
32
+ version: '6.2'
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: []
@@ -100,7 +100,7 @@ licenses:
100
100
  - MIT
101
101
  - SIL Open Font License
102
102
  metadata: {}
103
- post_install_message:
103
+ post_install_message:
104
104
  rdoc_options: []
105
105
  require_paths:
106
106
  - lib
@@ -115,9 +115,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
115
115
  - !ruby/object:Gem::Version
116
116
  version: '0'
117
117
  requirements: []
118
- rubyforge_project:
119
- rubygems_version: 2.5.1
120
- signing_key:
118
+ rubygems_version: 3.0.3
119
+ signing_key:
121
120
  specification_version: 4
122
121
  summary: an asset gemification of the font-awesome icon font library
123
122
  test_files: