material_icons 2.2.0 → 2.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE_OF_FONTS +201 -399
- data/README.md +7 -5
- data/app/models/material_icon.rb +26 -0
- data/lib/material_icons/version.rb +1 -1
- metadata +4 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f87d1314fa1478ced62e604bb57d068a29278470
|
4
|
+
data.tar.gz: 7599ebb813fd6976182638bbea9a2c6e19b4c0d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 840926e154cff6ddfbb699936a9d4f37f97081e1391bf163da9c4eb7754498a00b9cceb28a354fb2087a64c88489344294fda5c814a53c8ae4f702486b9ca28d
|
7
|
+
data.tar.gz: 27ae98079321f4c712c941ac479fd7f59b390546df173ff9795087dab0d927be5a2bd7c46f840b67148b528f79e9802c22d0be642d5c1bb4e2b658702e9cc213
|
data/LICENSE_OF_FONTS
CHANGED
@@ -1,400 +1,202 @@
|
|
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
|
-
|
8
|
-
Attribution 4.0 International
|
9
|
-
|
10
|
-
=======================================================================
|
11
|
-
|
12
|
-
Creative Commons Corporation ("Creative Commons") is not a law firm and
|
13
|
-
does not provide legal services or legal advice. Distribution of
|
14
|
-
Creative Commons public licenses does not create a lawyer-client or
|
15
|
-
other relationship. Creative Commons makes its licenses and related
|
16
|
-
information available on an "as-is" basis. Creative Commons gives no
|
17
|
-
warranties regarding its licenses, any material licensed under their
|
18
|
-
terms and conditions, or any related information. Creative Commons
|
19
|
-
disclaims all liability for damages resulting from their use to the
|
20
|
-
fullest extent possible.
|
21
|
-
|
22
|
-
Using Creative Commons Public Licenses
|
23
|
-
|
24
|
-
Creative Commons public licenses provide a standard set of terms and
|
25
|
-
conditions that creators and other rights holders may use to share
|
26
|
-
original works of authorship and other material subject to copyright
|
27
|
-
and certain other rights specified in the public license below. The
|
28
|
-
following considerations are for informational purposes only, are not
|
29
|
-
exhaustive, and do not form part of our licenses.
|
30
|
-
|
31
|
-
Considerations for licensors: Our public licenses are
|
32
|
-
intended for use by those authorized to give the public
|
33
|
-
permission to use material in ways otherwise restricted by
|
34
|
-
copyright and certain other rights. Our licenses are
|
35
|
-
irrevocable. Licensors should read and understand the terms
|
36
|
-
and conditions of the license they choose before applying it.
|
37
|
-
Licensors should also secure all rights necessary before
|
38
|
-
applying our licenses so that the public can reuse the
|
39
|
-
material as expected. Licensors should clearly mark any
|
40
|
-
material not subject to the license. This includes other CC-
|
41
|
-
licensed material, or material used under an exception or
|
42
|
-
limitation to copyright. More considerations for licensors:
|
43
|
-
wiki.creativecommons.org/Considerations_for_licensors
|
44
|
-
|
45
|
-
Considerations for the public: By using one of our public
|
46
|
-
licenses, a licensor grants the public permission to use the
|
47
|
-
licensed material under specified terms and conditions. If
|
48
|
-
the licensor's permission is not necessary for any reason--for
|
49
|
-
example, because of any applicable exception or limitation to
|
50
|
-
copyright--then that use is not regulated by the license. Our
|
51
|
-
licenses grant only permissions under copyright and certain
|
52
|
-
other rights that a licensor has authority to grant. Use of
|
53
|
-
the licensed material may still be restricted for other
|
54
|
-
reasons, including because others have copyright or other
|
55
|
-
rights in the material. A licensor may make special requests,
|
56
|
-
such as asking that all changes be marked or described.
|
57
|
-
Although not required by our licenses, you are encouraged to
|
58
|
-
respect those requests where reasonable. More_considerations
|
59
|
-
for the public:
|
60
|
-
wiki.creativecommons.org/Considerations_for_licensees
|
61
|
-
|
62
|
-
=======================================================================
|
63
|
-
|
64
|
-
Creative Commons Attribution 4.0 International Public License
|
65
|
-
|
66
|
-
By exercising the Licensed Rights (defined below), You accept and agree
|
67
|
-
to be bound by the terms and conditions of this Creative Commons
|
68
|
-
Attribution 4.0 International Public License ("Public License"). To the
|
69
|
-
extent this Public License may be interpreted as a contract, You are
|
70
|
-
granted the Licensed Rights in consideration of Your acceptance of
|
71
|
-
these terms and conditions, and the Licensor grants You such rights in
|
72
|
-
consideration of benefits the Licensor receives from making the
|
73
|
-
Licensed Material available under these terms and conditions.
|
74
|
-
|
75
|
-
|
76
|
-
Section 1 -- Definitions.
|
77
|
-
|
78
|
-
a. Adapted Material means material subject to Copyright and Similar
|
79
|
-
Rights that is derived from or based upon the Licensed Material
|
80
|
-
and in which the Licensed Material is translated, altered,
|
81
|
-
arranged, transformed, or otherwise modified in a manner requiring
|
82
|
-
permission under the Copyright and Similar Rights held by the
|
83
|
-
Licensor. For purposes of this Public License, where the Licensed
|
84
|
-
Material is a musical work, performance, or sound recording,
|
85
|
-
Adapted Material is always produced where the Licensed Material is
|
86
|
-
synched in timed relation with a moving image.
|
87
|
-
|
88
|
-
b. Adapter's License means the license You apply to Your Copyright
|
89
|
-
and Similar Rights in Your contributions to Adapted Material in
|
90
|
-
accordance with the terms and conditions of this Public License.
|
91
|
-
|
92
|
-
c. Copyright and Similar Rights means copyright and/or similar rights
|
93
|
-
closely related to copyright including, without limitation,
|
94
|
-
performance, broadcast, sound recording, and Sui Generis Database
|
95
|
-
Rights, without regard to how the rights are labeled or
|
96
|
-
categorized. For purposes of this Public License, the rights
|
97
|
-
specified in Section 2(b)(1)-(2) are not Copyright and Similar
|
98
|
-
Rights.
|
99
|
-
|
100
|
-
d. Effective Technological Measures means those measures that, in the
|
101
|
-
absence of proper authority, may not be circumvented under laws
|
102
|
-
fulfilling obligations under Article 11 of the WIPO Copyright
|
103
|
-
Treaty adopted on December 20, 1996, and/or similar international
|
104
|
-
agreements.
|
105
|
-
|
106
|
-
e. Exceptions and Limitations means fair use, fair dealing, and/or
|
107
|
-
any other exception or limitation to Copyright and Similar Rights
|
108
|
-
that applies to Your use of the Licensed Material.
|
109
|
-
|
110
|
-
f. Licensed Material means the artistic or literary work, database,
|
111
|
-
or other material to which the Licensor applied this Public
|
112
|
-
License.
|
113
|
-
|
114
|
-
g. Licensed Rights means the rights granted to You subject to the
|
115
|
-
terms and conditions of this Public License, which are limited to
|
116
|
-
all Copyright and Similar Rights that apply to Your use of the
|
117
|
-
Licensed Material and that the Licensor has authority to license.
|
118
|
-
|
119
|
-
h. Licensor means the individual(s) or entity(ies) granting rights
|
120
|
-
under this Public License.
|
121
|
-
|
122
|
-
i. Share means to provide material to the public by any means or
|
123
|
-
process that requires permission under the Licensed Rights, such
|
124
|
-
as reproduction, public display, public performance, distribution,
|
125
|
-
dissemination, communication, or importation, and to make material
|
126
|
-
available to the public including in ways that members of the
|
127
|
-
public may access the material from a place and at a time
|
128
|
-
individually chosen by them.
|
129
|
-
|
130
|
-
j. Sui Generis Database Rights means rights other than copyright
|
131
|
-
resulting from Directive 96/9/EC of the European Parliament and of
|
132
|
-
the Council of 11 March 1996 on the legal protection of databases,
|
133
|
-
as amended and/or succeeded, as well as other essentially
|
134
|
-
equivalent rights anywhere in the world.
|
135
|
-
|
136
|
-
k. You means the individual or entity exercising the Licensed Rights
|
137
|
-
under this Public License. Your has a corresponding meaning.
|
138
|
-
|
139
|
-
|
140
|
-
Section 2 -- Scope.
|
141
|
-
|
142
|
-
a. License grant.
|
143
|
-
|
144
|
-
1. Subject to the terms and conditions of this Public License,
|
145
|
-
the Licensor hereby grants You a worldwide, royalty-free,
|
146
|
-
non-sublicensable, non-exclusive, irrevocable license to
|
147
|
-
exercise the Licensed Rights in the Licensed Material to:
|
148
|
-
|
149
|
-
a. reproduce and Share the Licensed Material, in whole or
|
150
|
-
in part; and
|
151
|
-
|
152
|
-
b. produce, reproduce, and Share Adapted Material.
|
153
|
-
|
154
|
-
2. Exceptions and Limitations. For the avoidance of doubt, where
|
155
|
-
Exceptions and Limitations apply to Your use, this Public
|
156
|
-
License does not apply, and You do not need to comply with
|
157
|
-
its terms and conditions.
|
158
|
-
|
159
|
-
3. Term. The term of this Public License is specified in Section
|
160
|
-
6(a).
|
161
|
-
|
162
|
-
4. Media and formats; technical modifications allowed. The
|
163
|
-
Licensor authorizes You to exercise the Licensed Rights in
|
164
|
-
all media and formats whether now known or hereafter created,
|
165
|
-
and to make technical modifications necessary to do so. The
|
166
|
-
Licensor waives and/or agrees not to assert any right or
|
167
|
-
authority to forbid You from making technical modifications
|
168
|
-
necessary to exercise the Licensed Rights, including
|
169
|
-
technical modifications necessary to circumvent Effective
|
170
|
-
Technological Measures. For purposes of this Public License,
|
171
|
-
simply making modifications authorized by this Section 2(a)
|
172
|
-
(4) never produces Adapted Material.
|
173
1
|
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
Licensor.
|
376
|
-
|
377
|
-
d. Nothing in this Public License constitutes or may be interpreted
|
378
|
-
as a limitation upon, or waiver of, any privileges and immunities
|
379
|
-
that apply to the Licensor or You, including from the legal
|
380
|
-
processes of any jurisdiction or authority.
|
381
|
-
|
382
|
-
|
383
|
-
=======================================================================
|
384
|
-
|
385
|
-
Creative Commons is not a party to its public licenses.
|
386
|
-
Notwithstanding, Creative Commons may elect to apply one of its public
|
387
|
-
licenses to material it publishes and in those instances will be
|
388
|
-
considered the "Licensor." Except for the limited purpose of indicating
|
389
|
-
that material is shared under a Creative Commons public license or as
|
390
|
-
otherwise permitted by the Creative Commons policies published at
|
391
|
-
creativecommons.org/policies, Creative Commons does not authorize the
|
392
|
-
use of the trademark "Creative Commons" or any other trademark or logo
|
393
|
-
of Creative Commons without its prior written consent including,
|
394
|
-
without limitation, in connection with any unauthorized modifications
|
395
|
-
to any of its public licenses or any other arrangements,
|
396
|
-
understandings, or agreements concerning use of licensed material. For
|
397
|
-
the avoidance of doubt, this paragraph does not form part of the public
|
398
|
-
licenses.
|
399
|
-
|
400
|
-
Creative Commons may be contacted at creativecommons.org.
|
2
|
+
Apache License
|
3
|
+
Version 2.0, January 2004
|
4
|
+
http://www.apache.org/licenses/
|
5
|
+
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
7
|
+
|
8
|
+
1. Definitions.
|
9
|
+
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
12
|
+
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
14
|
+
the copyright owner that is granting the License.
|
15
|
+
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
17
|
+
other entities that control, are controlled by, or are under common
|
18
|
+
control with that entity. For the purposes of this definition,
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
20
|
+
direction or management of such entity, whether by contract or
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
23
|
+
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
25
|
+
exercising permissions granted by this License.
|
26
|
+
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
28
|
+
including but not limited to software source code, documentation
|
29
|
+
source, and configuration files.
|
30
|
+
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
32
|
+
transformation or translation of a Source form, including but
|
33
|
+
not limited to compiled object code, generated documentation,
|
34
|
+
and conversions to other media types.
|
35
|
+
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
37
|
+
Object form, made available under the License, as indicated by a
|
38
|
+
copyright notice that is included in or attached to the work
|
39
|
+
(an example is provided in the Appendix below).
|
40
|
+
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
47
|
+
the Work and Derivative Works thereof.
|
48
|
+
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
50
|
+
the original version of the Work and any modifications or additions
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
62
|
+
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
65
|
+
subsequently incorporated within the Work.
|
66
|
+
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
73
|
+
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
79
|
+
where such license applies only to those patent claims licensable
|
80
|
+
by such Contributor that are necessarily infringed by their
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
83
|
+
institute patent litigation against any entity (including a
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
86
|
+
or contributory patent infringement, then any patent licenses
|
87
|
+
granted to You under this License for that Work shall terminate
|
88
|
+
as of the date such litigation is filed.
|
89
|
+
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
92
|
+
modifications, and in Source or Object form, provided that You
|
93
|
+
meet the following conditions:
|
94
|
+
|
95
|
+
(a) You must give any other recipients of the Work or
|
96
|
+
Derivative Works a copy of this License; and
|
97
|
+
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
99
|
+
stating that You changed the files; and
|
100
|
+
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
103
|
+
attribution notices from the Source form of the Work,
|
104
|
+
excluding those notices that do not pertain to any part of
|
105
|
+
the Derivative Works; and
|
106
|
+
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
109
|
+
include a readable copy of the attribution notices contained
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
112
|
+
of the following places: within a NOTICE text file distributed
|
113
|
+
as part of the Derivative Works; within the Source form or
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
115
|
+
within a display generated by the Derivative Works, if and
|
116
|
+
wherever such third-party notices normally appear. The contents
|
117
|
+
of the NOTICE file are for informational purposes only and
|
118
|
+
do not modify the License. You may add Your own attribution
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
121
|
+
that such additional attribution notices cannot be construed
|
122
|
+
as modifying the License.
|
123
|
+
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
125
|
+
may provide additional or different license terms and conditions
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
129
|
+
the conditions stated in this License.
|
130
|
+
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
134
|
+
this License, without any additional terms or conditions.
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
136
|
+
the terms of any separate license agreement you may have executed
|
137
|
+
with Licensor regarding such Contributions.
|
138
|
+
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
141
|
+
except as required for reasonable and customary use in describing the
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
143
|
+
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
153
|
+
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
159
|
+
incidental, or consequential damages of any character arising as a
|
160
|
+
result of this License or out of the use or inability to use the
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
163
|
+
other commercial damages or losses), even if such Contributor
|
164
|
+
has been advised of the possibility of such damages.
|
165
|
+
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
169
|
+
or other liability obligations and/or rights consistent with this
|
170
|
+
License. However, in accepting such obligations, You may act only
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
175
|
+
of your accepting any such warranty or additional liability.
|
176
|
+
|
177
|
+
END OF TERMS AND CONDITIONS
|
178
|
+
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
180
|
+
|
181
|
+
To apply the Apache License to your work, attach the following
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
183
|
+
replaced with your own identifying information. (Don't include
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
185
|
+
comment syntax for the file format. We also recommend that a
|
186
|
+
file or class name and description of purpose be included on the
|
187
|
+
same "printed page" as the copyright notice for easier
|
188
|
+
identification within third-party archives.
|
189
|
+
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
191
|
+
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
193
|
+
you may not use this file except in compliance with the License.
|
194
|
+
You may obtain a copy of the License at
|
195
|
+
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
197
|
+
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
201
|
+
See the License for the specific language governing permissions and
|
202
|
+
limitations under the License.
|
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) [![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)
|
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) [![Codacy Badge](https://api.codacy.com/project/badge/grade/5eb6d2d5a9d24ab98a1aed5835510e4f)](https://www.codacy.com/app/angelmm/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
|
|
@@ -6,9 +6,9 @@
|
|
6
6
|
|
7
7
|
[Google Material Icons](https://google.github.io/material-design-icons/) is a +900 set of icons based on Material Design guidelines. With this gem you can add it easily to your Rails projects.
|
8
8
|
|
9
|
-
## Google Material Icons v2.2
|
9
|
+
## Google Material Icons v2.2.2
|
10
10
|
|
11
|
-
Google updates Material Icons to
|
11
|
+
Google updates Material Icons to [v2.2.2](https://github.com/google/material-design-icons/releases/tag/2.2.2). It's include 41 new icons!
|
12
12
|
|
13
13
|
# Installation
|
14
14
|
|
@@ -187,9 +187,9 @@ Tested with [Travis CI](https://travis-ci.org/Angelmmiguel/material_icons).
|
|
187
187
|
|
188
188
|
Ruby versions:
|
189
189
|
|
190
|
+
* 2.3.1
|
190
191
|
* 2.2.2
|
191
192
|
* 2.1.2
|
192
|
-
* 1.9.3
|
193
193
|
|
194
194
|
Rails versions:
|
195
195
|
|
@@ -202,9 +202,11 @@ Rails versions:
|
|
202
202
|
# They are using Material icons for Rails :)
|
203
203
|
|
204
204
|
* [Materialup.com](http://www.materialup.com): a big community to share, discover and learn about Material Design.
|
205
|
+
* [Easy Bills](https://www.easybills.io): a free tool to manage your finances.
|
206
|
+
* [Notebook.ai](https://www.notebook.ai/): your digital notebook is here. Notebook.ai grows with your ideas and collaborates back with you.
|
205
207
|
|
206
208
|
# License
|
207
209
|
|
208
|
-
Google Material Icons are under [
|
210
|
+
Google Material Icons are under [Apache License v2.0](http://www.apache.org/licenses/LICENSE-2.0). _We'd love attribution in your app's about screen, but [it's not required](https://github.com/google/material-design-icons#license)_.
|
209
211
|
|
210
212
|
Material Icons gem is released under the MIT license. Copyright [@Laux_es ;)](https://twitter.com/Laux_es)
|
data/app/models/material_icon.rb
CHANGED
@@ -75,6 +75,32 @@ class MaterialIcon
|
|
75
75
|
self
|
76
76
|
end
|
77
77
|
|
78
|
+
# Create an alias to use the original method
|
79
|
+
alias_method :super_send, :send
|
80
|
+
|
81
|
+
#
|
82
|
+
# Override send functionality to set the name of the icon to "send" when
|
83
|
+
# the method doesn't receive any parameters
|
84
|
+
#
|
85
|
+
# == Paremeters:
|
86
|
+
# name::
|
87
|
+
# Name of the method to call
|
88
|
+
# args::
|
89
|
+
# Arguments to send the method
|
90
|
+
#
|
91
|
+
# == Returns:
|
92
|
+
# MaterialIcon instance or the result of the method call
|
93
|
+
#
|
94
|
+
def send(name = '', *args)
|
95
|
+
if name && name.empty?
|
96
|
+
@icon = clear_icon('send')
|
97
|
+
# Return self
|
98
|
+
self
|
99
|
+
else
|
100
|
+
super_send(name.to_sym, *args)
|
101
|
+
end
|
102
|
+
end
|
103
|
+
|
78
104
|
#
|
79
105
|
# Add HTML options to :i tag.
|
80
106
|
#
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: material_icons
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.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:
|
11
|
+
date: 2017-02-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -24,20 +24,6 @@ dependencies:
|
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '3.2'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: rails
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - "~>"
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '4.2'
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - "~>"
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '4.2'
|
41
27
|
- !ruby/object:Gem::Dependency
|
42
28
|
name: sqlite3
|
43
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -137,7 +123,7 @@ dependencies:
|
|
137
123
|
- !ruby/object:Gem::Version
|
138
124
|
version: 0.2.4
|
139
125
|
description: Add Google Material Icons in your Rails projects easily. It is a library
|
140
|
-
with +
|
126
|
+
with +900 icons ;)
|
141
127
|
email: angel@laux.es
|
142
128
|
executables: []
|
143
129
|
extensions: []
|
@@ -161,7 +147,7 @@ files:
|
|
161
147
|
homepage: http://irb.rocks
|
162
148
|
licenses:
|
163
149
|
- MIT
|
164
|
-
-
|
150
|
+
- Apache-2.0
|
165
151
|
metadata: {}
|
166
152
|
post_install_message:
|
167
153
|
rdoc_options: []
|