rock_rms 7.3.0 → 7.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rock_rms/resources/batch.rb +4 -3
- data/lib/rock_rms/version.rb +1 -1
- data/spec/rock_rms/resources/batch_spec.rb +1 -3
- 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: 00fcdb991bdd10e04f598ef06b949b21f8886f28319fa13158bea0a67b317049
|
4
|
+
data.tar.gz: c59ae3091b292e2b63e951425aa6efd5b1fb01066333e1466882530b6f2e6b92
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e09f0676e739eb78ec78730c4c1b45849f7197366d72f6da2f1ccf2835d80d17e7ecd21804bca2ab06e42cb1904a0edb5d62cae87a3f0d5ad9bdf8882e8f2610
|
7
|
+
data.tar.gz: e2e838149dc00208e9e59de386f7019ff1fb64a35b36f9ba5ba7e17813126ec49197b50602bcd5090f93fac0b62c97a145ac8a1d09a18849e6b087634a06583e
|
@@ -27,11 +27,12 @@ module RockRMS
|
|
27
27
|
'CampusId' => campus_id,
|
28
28
|
'BatchEndDateTime' => end_time,
|
29
29
|
'ForeignKey' => foreign_key,
|
30
|
-
'Status' => status
|
31
|
-
'ControlAmount' => control_amount,
|
32
|
-
'ControlItemCount' => control_count
|
30
|
+
'Status' => status
|
33
31
|
}
|
34
32
|
|
33
|
+
options['ControlAmount'] = control_amount if control_amount
|
34
|
+
options['ControlItemCount'] = control_count if control_count
|
35
|
+
|
35
36
|
post(batches_path, options)
|
36
37
|
end
|
37
38
|
|
data/lib/rock_rms/version.rb
CHANGED
@@ -75,9 +75,7 @@ RSpec.describe RockRMS::Client::Batch, type: :model do
|
|
75
75
|
'BatchStartDateTime' => '1',
|
76
76
|
'BatchEndDateTime' => '1',
|
77
77
|
'ForeignKey' => 1,
|
78
|
-
'Status' => 1
|
79
|
-
'ControlAmount' => nil,
|
80
|
-
'ControlItemCount' => nil
|
78
|
+
'Status' => 1
|
81
79
|
}
|
82
80
|
).and_call_original
|
83
81
|
resource
|