material_raingular 0.0.4.1 → 0.0.4.1.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: 28fe1867b2e7280b0490e41ca70a3801833b6959
4
- data.tar.gz: 45b9d69594dbb71e4d135b30203d6f3e2a82acff
3
+ metadata.gz: 9a9319a1f8b4523c0d0a53b068a0db403424fdeb
4
+ data.tar.gz: cd9287474c8dddb438bf2e573a4ff72a1c7a7406
5
5
  SHA512:
6
- metadata.gz: 787cbc38120ae8ca7d7b6ff7e376ccce3ace823816dfd2cca69d5b3c627a1fd6853a11d45f242721858081f7b7ef2fec04ce00c29b436890add00f482c45592b
7
- data.tar.gz: b208bfeb52a499776cf9cd9cade81b1831f5dc30bb556a68c3cc436108258daecf5e43733e0eb86aaedca48e6ed7559eb751c726ceb358ca1b7dc6fdf8a36173
6
+ metadata.gz: aa0706acbc9416078a378071b96bb5c4bfaecab5d2399d43630e613c0def3dda9608f3604ba5655dc1e7592fbee6761ef6957032d74b05aabc54503c1bc623ed
7
+ data.tar.gz: 42901bb6b8101a2c7e3a55841ee6d3102c55773fae383f94a9b7658ae2472e3fa2004c7b7a0ac02f26fd7a6369bd104fa9863f003c93304032b29ce367680a67
@@ -12,7 +12,10 @@ Array.prototype.railsMap = (func)->
12
12
  arr = []
13
13
  for obj in this
14
14
  eval args[1] + '= obj'
15
- arr.push eval "(" + args[2] + ")"
15
+ if args[2].includes(':')
16
+ arr.push eval "(" + args[2] + ")"
17
+ else
18
+ arr.push eval args[2]
16
19
  arr
17
20
  Array.prototype.compact = ->
18
21
  arr = []
@@ -1,3 +1,3 @@
1
1
  module MaterialRaingular
2
- VERSION = "0.0.4.1"
2
+ VERSION = "0.0.4.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: material_raingular
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4.1
4
+ version: 0.0.4.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Moody