material_icons 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/{app/assets/fonts/LICENSE → LICENSE_OF_FONTS} +7 -0
- data/README.md +19 -1
- data/app/models/material_icon.rb +3 -3
- data/lib/material_icons/version.rb +1 -1
- metadata +48 -20
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0b082a779ba70bfdb65a158d658ffcba0432f7c1
|
4
|
+
data.tar.gz: 8b931ea4c19913528d504e7f72269f0a323f7a7c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3eaa6bb2ec906b3504aa59d0cb2e0a3922e8915c63a5e2ed1c1fd1ce619e4ea62f1408104ef5bb17fac74d9da38468021bf884ba6e5d144ca53c9779788b3cd2
|
7
|
+
data.tar.gz: 96b8caba957c6fbb0589471c14e92b3ebef42b4779be5dac5df662078546711054f657e6f6d481a0ceb927afba5c593cf22e92aaff08d7f44e17acd110105c14
|
@@ -1,3 +1,10 @@
|
|
1
|
+
This license is applied to all Fonts from Google Material Icons. In
|
2
|
+
this gem it's stored at: app/assets/fonts.
|
3
|
+
|
4
|
+
More info about license at: https://github.com/google/material-design-icons#license
|
5
|
+
|
6
|
+
=======================================================================
|
7
|
+
|
1
8
|
Attribution 4.0 International
|
2
9
|
|
3
10
|
=======================================================================
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
[![Gem Version](https://badge.fury.io/rb/material_icons.svg)](http://badge.fury.io/rb/material_icons) [![Build Status](https://travis-ci.org/Angelmmiguel/material_icons.svg?branch=master)](https://travis-ci.org/Angelmmiguel/material_icons)
|
1
|
+
[![Gem Version](https://badge.fury.io/rb/material_icons.svg)](http://badge.fury.io/rb/material_icons) [![Build Status](https://travis-ci.org/Angelmmiguel/material_icons.svg?branch=master)](https://travis-ci.org/Angelmmiguel/material_icons) [![Code Climate](https://codeclimate.com/github/Angelmmiguel/material_icons/badges/gpa.svg)](https://codeclimate.com/github/Angelmmiguel/material_icons) [![Coverage Status](https://coveralls.io/repos/Angelmmiguel/material_icons/badge.svg?branch=master&service=github)](https://coveralls.io/github/Angelmmiguel/material_icons?branch=master)
|
2
2
|
|
3
3
|
![Material Icons for Rails](https://raw.githubusercontent.com/Angelmmiguel/material_icons/master/material.png)
|
4
4
|
|
@@ -138,6 +138,24 @@ This version increase the size of the CSS file too. To see the difference, these
|
|
138
138
|
material_icons.css.erb 3 KB
|
139
139
|
material_icons_unicode.css.erb 68 KB
|
140
140
|
|
141
|
+
# Tested on
|
142
|
+
|
143
|
+
Tested with [Travis CI](https://travis-ci.org/Angelmmiguel/material_icons).
|
144
|
+
|
145
|
+
Ruby versions:
|
146
|
+
|
147
|
+
* 2.2.2
|
148
|
+
* 2.1.2
|
149
|
+
* 1.9.3
|
150
|
+
|
151
|
+
Rails versions:
|
152
|
+
|
153
|
+
* 3.2
|
154
|
+
* 4.0
|
155
|
+
* 4.1
|
156
|
+
* 4.2
|
157
|
+
* master
|
158
|
+
|
141
159
|
# They are using Material icons for Rails :)
|
142
160
|
|
143
161
|
* [Materialup.com](http://www.materialup.com): a big community to share, discover and learn about Material Design.
|
data/app/models/material_icon.rb
CHANGED
@@ -53,7 +53,7 @@ class MaterialIcon
|
|
53
53
|
@css_class = " #{css_class}"
|
54
54
|
self
|
55
55
|
end
|
56
|
-
|
56
|
+
|
57
57
|
#
|
58
58
|
# Add CSS properties to :i tag
|
59
59
|
#
|
@@ -108,12 +108,12 @@ class MaterialIcon
|
|
108
108
|
content_tag(:i, '',
|
109
109
|
@html.merge(
|
110
110
|
style: @style,
|
111
|
-
class: "
|
111
|
+
class: "material-icons #{@icon}#{@size}#{@rotation}#{@css_class}"))
|
112
112
|
else
|
113
113
|
content_tag(:i, "#{@icon}",
|
114
114
|
@html.merge(
|
115
115
|
style: @style,
|
116
|
-
class: "
|
116
|
+
class: "material-icons#{@size}#{@rotation}#{@css_class}"))
|
117
117
|
end
|
118
118
|
end
|
119
119
|
|
metadata
CHANGED
@@ -1,25 +1,42 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: material_icons
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Angel M Miguel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-08-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: railties
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '3.2'
|
20
|
+
- - "<="
|
18
21
|
- !ruby/object:Gem::Version
|
19
22
|
version: '4.2'
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
20
27
|
- - ">="
|
21
28
|
- !ruby/object:Gem::Version
|
22
|
-
version:
|
29
|
+
version: '3.2'
|
30
|
+
- - "<="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '4.2'
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: rails
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - "~>"
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '4.2'
|
23
40
|
type: :development
|
24
41
|
prerelease: false
|
25
42
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -27,65 +44,76 @@ dependencies:
|
|
27
44
|
- - "~>"
|
28
45
|
- !ruby/object:Gem::Version
|
29
46
|
version: '4.2'
|
30
|
-
- - ">="
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version: 4.2.0
|
33
47
|
- !ruby/object:Gem::Dependency
|
34
48
|
name: sqlite3
|
35
49
|
requirement: !ruby/object:Gem::Requirement
|
36
50
|
requirements:
|
37
|
-
- - "
|
51
|
+
- - "~>"
|
38
52
|
- !ruby/object:Gem::Version
|
39
53
|
version: '1.3'
|
40
54
|
type: :development
|
41
55
|
prerelease: false
|
42
56
|
version_requirements: !ruby/object:Gem::Requirement
|
43
57
|
requirements:
|
44
|
-
- - "
|
58
|
+
- - "~>"
|
45
59
|
- !ruby/object:Gem::Version
|
46
60
|
version: '1.3'
|
47
61
|
- !ruby/object:Gem::Dependency
|
48
62
|
name: rspec
|
49
63
|
requirement: !ruby/object:Gem::Requirement
|
50
64
|
requirements:
|
51
|
-
- - "
|
65
|
+
- - "~>"
|
52
66
|
- !ruby/object:Gem::Version
|
53
67
|
version: '3.2'
|
54
68
|
type: :development
|
55
69
|
prerelease: false
|
56
70
|
version_requirements: !ruby/object:Gem::Requirement
|
57
71
|
requirements:
|
58
|
-
- - "
|
72
|
+
- - "~>"
|
59
73
|
- !ruby/object:Gem::Version
|
60
74
|
version: '3.2'
|
61
75
|
- !ruby/object:Gem::Dependency
|
62
76
|
name: rspec-rails
|
63
77
|
requirement: !ruby/object:Gem::Requirement
|
64
78
|
requirements:
|
65
|
-
- - "
|
79
|
+
- - "~>"
|
66
80
|
- !ruby/object:Gem::Version
|
67
|
-
version: '3.
|
81
|
+
version: '3.0'
|
68
82
|
type: :development
|
69
83
|
prerelease: false
|
70
84
|
version_requirements: !ruby/object:Gem::Requirement
|
71
85
|
requirements:
|
72
|
-
- - "
|
86
|
+
- - "~>"
|
73
87
|
- !ruby/object:Gem::Version
|
74
|
-
version: '3.
|
88
|
+
version: '3.0'
|
75
89
|
- !ruby/object:Gem::Dependency
|
76
90
|
name: capybara
|
77
91
|
requirement: !ruby/object:Gem::Requirement
|
78
92
|
requirements:
|
79
|
-
- - "
|
93
|
+
- - "~>"
|
80
94
|
- !ruby/object:Gem::Version
|
81
95
|
version: 2.4.4
|
82
96
|
type: :development
|
83
97
|
prerelease: false
|
84
98
|
version_requirements: !ruby/object:Gem::Requirement
|
85
99
|
requirements:
|
86
|
-
- - "
|
100
|
+
- - "~>"
|
87
101
|
- !ruby/object:Gem::Version
|
88
102
|
version: 2.4.4
|
103
|
+
- !ruby/object:Gem::Dependency
|
104
|
+
name: coveralls
|
105
|
+
requirement: !ruby/object:Gem::Requirement
|
106
|
+
requirements:
|
107
|
+
- - "~>"
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: 0.8.2
|
110
|
+
type: :development
|
111
|
+
prerelease: false
|
112
|
+
version_requirements: !ruby/object:Gem::Requirement
|
113
|
+
requirements:
|
114
|
+
- - "~>"
|
115
|
+
- !ruby/object:Gem::Version
|
116
|
+
version: 0.8.2
|
89
117
|
description: Add Google Material Icons in your Rails projects easily. It is a library
|
90
118
|
with +750 icons ;)
|
91
119
|
email: angel@laux.es
|
@@ -94,9 +122,9 @@ extensions: []
|
|
94
122
|
extra_rdoc_files: []
|
95
123
|
files:
|
96
124
|
- LICENSE
|
125
|
+
- LICENSE_OF_FONTS
|
97
126
|
- README.md
|
98
127
|
- Rakefile
|
99
|
-
- app/assets/fonts/LICENSE
|
100
128
|
- app/assets/fonts/MaterialIcons-Regular.eot
|
101
129
|
- app/assets/fonts/MaterialIcons-Regular.ttf
|
102
130
|
- app/assets/fonts/MaterialIcons-Regular.woff
|
@@ -108,7 +136,7 @@ files:
|
|
108
136
|
- lib/material_icons.rb
|
109
137
|
- lib/material_icons/engine.rb
|
110
138
|
- lib/material_icons/version.rb
|
111
|
-
homepage:
|
139
|
+
homepage: http://irb.rocks
|
112
140
|
licenses:
|
113
141
|
- MIT
|
114
142
|
- Creative Common Attribution 4.0 International License
|