font-awesome-rails 4.1.0.0 → 4.2.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -23,11 +23,12 @@ class FontAwesomeRailsTest < ActionDispatch::IntegrationTest
23
23
 
24
24
  test "stylesheets contain asset pipeline references to fonts" do
25
25
  get "/assets/font-awesome.css"
26
- assert_match "/assets/fontawesome-webfont.eot", response.body
27
- assert_match "/assets/fontawesome-webfont.eot?#iefix", response.body
28
- assert_match "/assets/fontawesome-webfont.woff", response.body
29
- assert_match "/assets/fontawesome-webfont.ttf", response.body
30
- assert_match "/assets/fontawesome-webfont.svg#fontawesomeregular", response.body
26
+ v = FontAwesome::Rails::FA_VERSION
27
+ assert_match "/assets/fontawesome-webfont.eot?v=#{v}", response.body
28
+ assert_match "/assets/fontawesome-webfont.eot?#iefix&v=#{v}", response.body
29
+ assert_match "/assets/fontawesome-webfont.woff?v=#{v}", response.body
30
+ assert_match "/assets/fontawesome-webfont.ttf?v=#{v}", response.body
31
+ assert_match "/assets/fontawesome-webfont.svg?v=#{v}#fontawesomeregular", response.body
31
32
  end
32
33
 
33
34
  test "stylesheet is available in a css sprockets require" 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.1.0.0
4
+ version: 4.2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - bokmann
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-15 00:00:00.000000000 Z
11
+ date: 2014-08-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties