material_icons-rails 0.1.2 → 1.0.2
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
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bf68d38b035d0353869069fdf6bc615db522d83f
|
4
|
+
data.tar.gz: 4f20fc8c4b2bec6471bbe16580b682edc5abb48b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ae573fef9bb2c5e9a703089b08f67b9d4588f811b2efe235f73e493e4c5a37d5b11d9e67133e68173043a92c1436dc2ce76cbbc9bd0c0776cab273448c83adce
|
7
|
+
data.tar.gz: 296b836bc6f5f5d0b36127859b3e26007a80252639f31e484339dc4c7becf0f65199414c6245bb56a730e19b0cd5f077a83c7093b76574b326921840fb113abd
|
@@ -2,12 +2,13 @@
|
|
2
2
|
font-family: 'Material Icons';
|
3
3
|
font-style: normal;
|
4
4
|
font-weight: 400;
|
5
|
-
src: url(MaterialIcons-Regular.eot); /* For IE6-8 */
|
5
|
+
src: url('<%= font_path('MaterialIcons-Regular.eot') %>'); /* For IE6-8 */
|
6
6
|
src: local('Material Icons'),
|
7
7
|
local('MaterialIcons-Regular'),
|
8
|
-
url(MaterialIcons-Regular.woff2) format('woff2'),
|
9
|
-
url(MaterialIcons-Regular.woff) format('woff'),
|
10
|
-
url(MaterialIcons-Regular.ttf) format('truetype')
|
8
|
+
url('<%= font_path('MaterialIcons-Regular.woff2') %>') format('woff2'),
|
9
|
+
url('<%= font_path('MaterialIcons-Regular.woff') %>') format('woff'),
|
10
|
+
url('<%= font_path('MaterialIcons-Regular.ttf') %>') format('truetype'),
|
11
|
+
url('<%= font_path('MaterialIcons-Regular.svg') %>#fontawesomeregular') format('svg');
|
11
12
|
}
|
12
13
|
|
13
14
|
.material-icons {
|
@@ -3,8 +3,8 @@ module MaterialIcons
|
|
3
3
|
class Engine < ::Rails::Engine
|
4
4
|
config.generators do |generators|
|
5
5
|
generators.test_framework :rspec, :fixture => false
|
6
|
-
|
7
|
-
|
6
|
+
generators.assets true
|
7
|
+
generators.helper true
|
8
8
|
end
|
9
9
|
end
|
10
10
|
end
|
data/lib/version.rb
CHANGED
@@ -1,11 +1,15 @@
|
|
1
|
-
|
1
|
+
initializer "material_icons-rails.assets.precompile" do |app|
|
2
|
+
# Be sure to restart your server when you modify this file.
|
2
3
|
|
3
|
-
# Version of your assets, change this if you want to expire all your assets.
|
4
|
-
Rails.application.config.assets.version =
|
4
|
+
# Version of your assets, change this if you want to expire all your assets.
|
5
|
+
Rails.application.config.assets.version = MaterialIcons::Rails::VERSION
|
5
6
|
|
6
|
-
# Add additional assets to the asset load path
|
7
|
-
# Rails.application.config.assets.paths << Emoji.images_path
|
7
|
+
# Add additional assets to the asset load path
|
8
|
+
# Rails.application.config.assets.paths << Emoji.images_path
|
8
9
|
|
9
|
-
# Precompile additional assets.
|
10
|
-
# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
|
11
|
-
# Rails.application.config.assets.precompile += %w( search.js )
|
10
|
+
# Precompile additional assets.
|
11
|
+
# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
|
12
|
+
# Rails.application.config.assets.precompile += %w( search.js )
|
13
|
+
Rails.application.config.assets.precompile += [/material-icons.css/]
|
14
|
+
Rails.application.config.assets.precompile += [/.*MaterialIcons-Regular/]
|
15
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: material_icons-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- chaunce
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-07-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -80,7 +80,7 @@ files:
|
|
80
80
|
- app/assets/fonts/MaterialIcons-Regular.ttf
|
81
81
|
- app/assets/fonts/MaterialIcons-Regular.woff
|
82
82
|
- app/assets/fonts/MaterialIcons-Regular.woff2
|
83
|
-
- app/assets/stylesheets/material-icons.css
|
83
|
+
- app/assets/stylesheets/material-icons.css.erb
|
84
84
|
- app/helpers/material_icons/rails/icon_helper.rb
|
85
85
|
- lib/material_icons-rails.rb
|
86
86
|
- lib/material_icons/rails/engine.rb
|