simple-line-icons-rails 0.0.1 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -14,6 +14,10 @@ class SimpleLineIconsRailsTest < ActionDispatch::IntegrationTest
14
14
  assert_response :success
15
15
  get "/assets/Simple-Line-Icons.woff"
16
16
  assert_response :success
17
+ get "/assets/Simple-Line-Icons.woff2"
18
+ assert_response :success
19
+ get "/assets/Simple-Line-Icons.svg"
20
+ assert_response :success
17
21
  end
18
22
 
19
23
  test "stylesheets are served" do
@@ -23,11 +27,11 @@ class SimpleLineIconsRailsTest < ActionDispatch::IntegrationTest
23
27
 
24
28
  test "stylesheets contain asset pipeline references to fonts" do
25
29
  get "/assets/simple-line-icons.css"
26
- assert_match "/assets/Simple-Line-Icons.eot", response.body
27
- assert_match "/assets/Simple-Line-Icons.eot?#iefix", response.body
28
- assert_match "/assets/Simple-Line-Icons.woff", response.body
29
- assert_match "/assets/Simple-Line-Icons.ttf", response.body
30
- assert_match "/assets/Simple-Line-Icons.svg#Simple-Line-Icons", response.body
30
+ assert_match %r{/assets/Simple-Line-Icons(-\w+)?\.eot\?v=2.3.2}, response.body
31
+ assert_match %r{/assets/Simple-Line-Icons(-\w+)?\.eot\?v=2.3.2#iefix}, response.body
32
+ assert_match %r{/assets/Simple-Line-Icons(-\w+)?\.woff\?v=2.3.2}, response.body
33
+ assert_match %r{/assets/Simple-Line-Icons(-\w+)?\.ttf\?v=2.3.2}, response.body
34
+ assert_match %r{/assets/Simple-Line-Icons(-\w+)?\.svg#Simple-Line-Icons\?v=2.3.2}, response.body
31
35
  end
32
36
 
33
37
  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: simple-line-icons-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - JeskTop
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-18 00:00:00.000000000 Z
11
+ date: 2016-07-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -17,7 +17,7 @@ dependencies:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '3.2'
20
- - - "<"
20
+ - - "<="
21
21
  - !ruby/object:Gem::Version
22
22
  version: '5.0'
23
23
  type: :runtime
@@ -27,7 +27,7 @@ dependencies:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
29
  version: '3.2'
30
- - - "<"
30
+ - - "<="
31
31
  - !ruby/object:Gem::Version
32
32
  version: '5.0'
33
33
  - !ruby/object:Gem::Dependency
@@ -72,6 +72,7 @@ files:
72
72
  - app/assets/fonts/Simple-Line-Icons.svg
73
73
  - app/assets/fonts/Simple-Line-Icons.ttf
74
74
  - app/assets/fonts/Simple-Line-Icons.woff
75
+ - app/assets/fonts/Simple-Line-Icons.woff2
75
76
  - app/assets/stylesheets/simple-line-icons.css.erb
76
77
  - lib/simple-line-icons-rails.rb
77
78
  - lib/simple-line-icons-rails/engine.rb
@@ -110,7 +111,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
110
111
  version: '0'
111
112
  requirements: []
112
113
  rubyforge_project:
113
- rubygems_version: 2.4.4
114
+ rubygems_version: 2.5.1
114
115
  signing_key:
115
116
  specification_version: 4
116
117
  summary: I like simple-line-icons. I like the asset pipeline. I like semantic versioning.