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 +4 -4
- data/app/models/wco/office_action.rb +1 -1
- data/lib/tasks/office_tasks.rake +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6cf4f4dd494be002278ef559d00b269fa42f411b61184177b06e0e52364e33dd
|
|
4
|
+
data.tar.gz: 0beeb8e8a42bd85722ab4b9a56f5a1763cd742479457934beeddca7749dac616
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
data/lib/tasks/office_tasks.rake
CHANGED
|
@@ -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
|
|
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
|
|
27
|
+
sleep 15
|
|
28
28
|
end
|
|
29
29
|
|
|
30
30
|
print '.'
|