material_raingular 0.1.5.9 → 0.1.6.0

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: 5e62779fd2f3ed3b737588110505d11dac390bad
4
- data.tar.gz: 9f8ddbf45b1f755991ea5a971014ba83d2b7b092
3
+ metadata.gz: 3ba3b0b2174c0f6391c8958f700a48819b2d2051
4
+ data.tar.gz: 035661cd0bbc70a77cc3fff718ab3963bed2c293
5
5
  SHA512:
6
- metadata.gz: 99f6bc9c709f60f7a825c65d3853e4a9f8bb01262c15845246ec445546fe359426796e892948f189ea82f58e41d3a1754e25b6598582ef365c8a4d4b2edbe450
7
- data.tar.gz: ce09791145902fdebb972250ba35122bd1a05a2ee20a64bcb1c33be6cee2ef751cc6ea3b604c58217b84b3ae8fa23ec2b6faa9dec91247c411e8e129d6e0cce8
6
+ metadata.gz: 23fb19b483660fed5e2468871a1f8b378ec50ba11829fe868d7095c656ce2c079de62050ebbf7fd05c0217d9a1bdaf104224eaf6373bcec5e7fd4eac0fa3234a
7
+ data.tar.gz: 913f18b883cb105998726cf3ebc6e2ccb77b1021b7b1525842d90923cfa82075f73b49bf3c22fcee2b222664e7486896e047e96d12372becabb20983c5044e96
@@ -47,7 +47,7 @@ Array.prototype.includes = (entry)->
47
47
  return @.indexOf(entry) > -1
48
48
  @.pluck('id').includes(entry.id)
49
49
  Array.prototype.drop = (entry)->
50
- if entry.hasOwnProperty('id')
50
+ if (entry || {}).hasOwnProperty('id')
51
51
  index = @.pluck('id').indexOf(entry.id)
52
52
  else
53
53
  index = @.indexOf(entry)
@@ -1,3 +1,3 @@
1
1
  module MaterialRaingular
2
- VERSION = "0.1.5.9"
2
+ VERSION = "0.1.6.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: material_raingular
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5.9
4
+ version: 0.1.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Moody
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-21 00:00:00.000000000 Z
11
+ date: 2016-08-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler