material_raingular 0.1.6.0 → 0.1.6.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bd3b6db6477268896554435718fc4f2bbc7cc071
|
4
|
+
data.tar.gz: e105ec6dd91888908f94ba38060de948bf0df69b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d76c6bd070aea8883a9ab6af9cbf9861b4a7151e34becdb4c3c5eb08634d1ec98405e4742c2e017f1bc4b8aeace2d6dac52e0dd3ca88a5909de6916417d8d892
|
7
|
+
data.tar.gz: 8a1edf30645e6cd6ac993f0f6614e7d54b6249a820a9359b1cd4d77307654bdcdb34243bfc07a9ac7cb70627c3ac20c83262a3bb4f3bd52dae0bb49c1330ab77
|
@@ -156,7 +156,7 @@ class EventFunctions
|
|
156
156
|
obj[@functions.viewValue] = search.val()
|
157
157
|
collection = @functions.collection(@scope)
|
158
158
|
if @options.allowNew
|
159
|
-
collection.push(obj) unless collection.pluck(@functions.viewValue).includes(obj[@functions.viewValue])
|
159
|
+
collection.push(obj) unless (if @functions.isPrimative then collection else collection.pluck(@functions.viewValue)).includes(obj[@functions.viewValue] || obj)
|
160
160
|
val = @filteredList(!@options.allowNew,false,@options.allowNew,true)[0]
|
161
161
|
@changeFn(@scope)(val) if @changeFn
|
162
162
|
@updateValue @functions.modelValueFn(val)
|
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.6.
|
4
|
+
version: 0.1.6.1
|
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-08-
|
11
|
+
date: 2016-08-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|