visual_condition_builder 2.2.4 → 2.2.5

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: 8bb92da7c999bd2b2bd3dcef761b7c186f93067d
4
- data.tar.gz: 49575f596563c4e5e723181e1d78b021d443f57b
3
+ metadata.gz: 26021bfbd88d7ac0fad11a8172695a2a8da0b317
4
+ data.tar.gz: 5dba04e77e8fe29cea12d8d2279cc82eb8cccf2c
5
5
  SHA512:
6
- metadata.gz: cba3a111d82ce69f3042c3836c396f655c2e1922d61e29011fd096975d01b27217290dd3e52192eedb7160d198ac74c61ff51d21e5abe7ab3ce104c13fbf06a4
7
- data.tar.gz: b79a8272464e5d31f472aa9117e4be3e8f913b77ca2c2b740ed9d80fae388446541eac4f27e509be6f58395cc5edbe2c833f4ea40ab20cfd39bf8d355914fa00
6
+ metadata.gz: d0013e13f5af265c50679ca047bc35d371cdddf3f26249c0a3d253c1dca68b2bf1de9caf432c8c9ee8b3a9c5f6d1ec22937c12a67545b031ce199cda77c4c0bd
7
+ data.tar.gz: 4538f3e46b1a1b87511d5f4c1e393860df48b4b1482285c32bc0e065950b241a9a3ef4cd735393f700825c52ef4c9032521c852a3ece3a045047e5c5a0994bf9
@@ -199,7 +199,7 @@
199
199
  var value = getValue(groupConditions);
200
200
  var showValue = getValueElement(groupConditions).is(':visible');
201
201
 
202
- if (!is_blank(field_name) && !is_blank(operator) && showValue && (operatorObj.no_value || !is_blank(value))) {
202
+ if (!is_blank(field_name) && !is_blank(operator) && showValue && (operatorObj.no_value == true || !is_blank(value))) {
203
203
  data.push([field_name, operator, value]);
204
204
  } else if (!is_blank(field_name) && !is_blank(operator) && !showValue) { //FIELD AND OPERATOR
205
205
  data.push([field_name, operator]);
@@ -1,3 +1,3 @@
1
1
  module VisualConditionBuilder
2
- VERSION = "2.2.4"
2
+ VERSION = "2.2.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: visual_condition_builder
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.4
4
+ version: 2.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bruno Porto