wco_models 3.1.0.316 → 3.1.0.317

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ef74c55ae94534c3dafd7ba9354becda76ca6ca4f7e22e588e21302a98013555
4
- data.tar.gz: 33fd534065e448419f01d686c5abc00dc64fe2977681f87dae1943e46bb1c836
3
+ metadata.gz: 6cf4f4dd494be002278ef559d00b269fa42f411b61184177b06e0e52364e33dd
4
+ data.tar.gz: 0beeb8e8a42bd85722ab4b9a56f5a1763cd742479457934beeddca7749dac616
5
5
  SHA512:
6
- metadata.gz: 6d3b94363aecd6b681874d855ea62d9d5e9dc171594cb2de015cdeee2d67eca2906bc81e0d4e61a88984d1c40c6279cc96c787bd90b9c4bd7a17d048dfbcc9bc
7
- data.tar.gz: 3195590a90fc0c6fb0d49449e84c0217a7699423657c2783c525693df08f0907c236de0a3055a0c501f605bb742f23e4d2a5c63fb4c66e89bd95da971d26db05
6
+ metadata.gz: 45a7f7d5be094644770aa0478c9cd29dd7f0dd0b9091d4c717617d6999390a17c459241ab13ec144c8185074a1a22dd209829b862d11e7b81369c7a7cf15c7f7
7
+ data.tar.gz: bb9924ad16fae81d21c0d11159cec2e7bd00d2f618afcb0e6d7d287f32f372bb3a39ff23c635fa2fd18f7fab4b209ce2fa70b5486016fff50644ea70d68c9416
@@ -10,7 +10,7 @@ class Wco::OfficeAction
10
10
  # field :descr, type: :string ## optional
11
11
 
12
12
  belongs_to :office_action_template, inverse_of: :office_action
13
- belongs_to :lead, class_name: '::Wco::Lead'
13
+ belongs_to :lead, class_name: '::Wco::Lead', optional: true
14
14
 
15
15
  def tmpl
16
16
  office_action_template
@@ -15,7 +15,7 @@ namespace :wco do
15
15
  schs.each do |sch|
16
16
  sch.do_run
17
17
  print "[#{sch.id}]^"
18
- sleep 3
18
+ sleep 15
19
19
  end
20
20
 
21
21
  ## copy-pasted from wco_email tasks run_email_actions
@@ -24,7 +24,7 @@ namespace :wco do
24
24
  schs.each do |sch|
25
25
  sch.do_run
26
26
  print "[#{sch.id}]^"
27
- sleep 3
27
+ sleep 15
28
28
  end
29
29
 
30
30
  print '.'
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.316
4
+ version: 3.1.0.317
5
5
  platform: ruby
6
6
  authors:
7
7
  - Victor Pudeyev