material_icons 2.0.0 → 2.0.1

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: 6c472887a2c4c4f121613784876c658a4961bad4
4
- data.tar.gz: fb2c307affbb8bff3779f8c5b039712c81af77c3
3
+ metadata.gz: fc78f2df4dccd7d5516104c68d5c5b9b2224c3c2
4
+ data.tar.gz: ec3ddc779ca564c9886abacbcdac68bea776dc93
5
5
  SHA512:
6
- metadata.gz: 6ca460d118e178c18a6c32438de6bf9b0c1469ef1063bb1640d1ac2029e9b4849f49d61a22c0758ba559a5ae8e7a777fee496874f256efaa5fd6c4c235bffb52
7
- data.tar.gz: 30087656d3dff07b3dbe9093ba51a6088cc76eadb395ba34f07016e42ef2d2822f882d3d40a23cf08e42fd0243a16f73688ead0af2682c3e7d38161613a765fb
6
+ metadata.gz: 2d5f75e101a633afd4c675aa2e1d6f24276a04a046e64bffa2974ed36b4db346d9428d983fff441de8b641e5cef55e0a8bea3e31786d32e5f87f09622e137ff9
7
+ data.tar.gz: 088bf46a2d5ad9cb7888867c6788dd0b6e3e243cec94f8b54c296f016f3141aba8fded4a776e943db87e33d0ed0a243c780048a10df93cf53dd429976084a389
@@ -64,8 +64,14 @@ class MaterialIcon
64
64
  # == Returns:
65
65
  # MaterialIcon instance
66
66
  #
67
- def style(style = '')
68
- @style = style
67
+ def style(css_style = '')
68
+ if css_style && css_style.empty?
69
+ # It references style icon
70
+ @icon = clear_icon('style')
71
+ else
72
+ # User wants to apply a style to the icon
73
+ @style = css_style
74
+ end
69
75
  self
70
76
  end
71
77
 
@@ -4,5 +4,5 @@
4
4
  module MaterialIcons
5
5
  # Version for the library and the gem
6
6
  MATERIAL_ICONS_VERSION = '2.1.0'
7
- VERSION = '2.0.0'
7
+ VERSION = '2.0.1'
8
8
  end
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.0.0
4
+ version: 2.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-20 00:00:00.000000000 Z
11
+ date: 2016-01-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -108,6 +108,34 @@ dependencies:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
110
  version: 0.8.2
111
+ - !ruby/object:Gem::Dependency
112
+ name: pry
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: 0.10.3
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: 0.10.3
125
+ - !ruby/object:Gem::Dependency
126
+ name: pry-nav
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: 0.2.4
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: 0.2.4
111
139
  description: Add Google Material Icons in your Rails projects easily. It is a library
112
140
  with +750 icons ;)
113
141
  email: angel@laux.es
@@ -151,9 +179,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
151
179
  version: '0'
152
180
  requirements: []
153
181
  rubyforge_project:
154
- rubygems_version: 2.4.6
182
+ rubygems_version: 2.5.1
155
183
  signing_key:
156
184
  specification_version: 4
157
185
  summary: A simple Rails wrapper for Google Material Icons
158
186
  test_files: []
159
- has_rdoc: