wco_models 3.1.0.196 → 3.1.0.197

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
  SHA256:
3
- metadata.gz: 6edaaf0b56607ebe8b92217e54dd6cb2b89b0a3e70c94c8c1b7cab85f6c46850
4
- data.tar.gz: 7a1d6d52dfa41bef70e127c66e0ebab10b61dca8bb147bbe2ececc007f16ff14
3
+ metadata.gz: df847f3f11917d96587bce5d3b58018c27215956a43a7bf44a34a04966f750b6
4
+ data.tar.gz: 0c88c176cd9befa80e849bf60b6e69b2d49e79da37fd8377f07a74b1f7a22010
5
5
  SHA512:
6
- metadata.gz: e559030c342a708f47f83235222d929132d8869fcfd852da2a55b3b22c1084b262c07db916e95bea481c6947de3f42ee4a3d47683cee243f3996b372528757a0
7
- data.tar.gz: 5decaf5fce553e94f19bbeac146e6b3cfef6a7d77472636bdbd0ddce74b1c1aa191ee5fbe91b2bf076736c70453b96e7cc3cb4bb2875c8fff61de1e0e38a4659
6
+ metadata.gz: bd47844f69a043b3cd9ed19db47c8ca52db44568788e4bfefdd14c66d31bdce1f6cd0ea66bc3a526d1bb546d75f50cf35a586ebba25542e94f5d8dfee4239885
7
+ data.tar.gz: 3a7e32b323db4f08da4b355c9602206c6c2f3a196683f2ef41ca5e274cd5159f17b79fa702981d59d49857a332d733f8d05c2cd227f15c6326f0da8d4c6fb411
@@ -23,7 +23,7 @@ class WcoEmail::EmailFilter
23
23
 
24
24
  has_many :actions, class_name: '::WcoEmail::EmailFilterAction', inverse_of: :email_filter
25
25
  accepts_nested_attributes_for :actions, allow_destroy: true
26
- validate :validate_actions
26
+ # validate :validate_actions
27
27
  def validate_actions
28
28
  if actions.length == 0
29
29
  errors.add(:actions, 'must be present')
@@ -38,7 +38,7 @@ class WcoEmail::EmailFilter
38
38
  has_many :skip_conditions, class_name: '::WcoEmail::EmailFilterCondition', inverse_of: :email_skip_filter
39
39
  accepts_nested_attributes_for :skip_conditions, allow_destroy: true
40
40
 
41
- validate :validate_conditions
41
+ # validate :validate_conditions
42
42
  def validate_conditions
43
43
  if conditions.length + skip_conditions.length == 0
44
44
  errors.add(:conditions, 'Either conditions or skip conditions must be present.')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wco_models
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0.196
4
+ version: 3.1.0.197
5
5
  platform: ruby
6
6
  authors:
7
7
  - Victor Pudeyev