rock_rms 7.3.0 → 7.4.0

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: 87962faade54c951292f412649222278b4d7e9d3cdea878968d4cf0225ca31d7
4
- data.tar.gz: 2740371cefede487dd3a09ac1ebbcaf38c34283dbc87e79526ff97196814771f
3
+ metadata.gz: 00fcdb991bdd10e04f598ef06b949b21f8886f28319fa13158bea0a67b317049
4
+ data.tar.gz: c59ae3091b292e2b63e951425aa6efd5b1fb01066333e1466882530b6f2e6b92
5
5
  SHA512:
6
- metadata.gz: be74b67ddb5f61875f1be334c9d9091018ab8d491d86baf7fe7b8c9d24e0a736b2eea5c45310182ce6686e5417bc0157614327b5e205572d74157cf842441d78
7
- data.tar.gz: 951407986077dd0e82781a69044344ed007dc2a6d81be329052fa9209d4f3decdb6b5864ebaa4bb7aeeffbc6cb1dfeca1e9e0e283ffac00175f787180237213c
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
 
@@ -1,3 +1,3 @@
1
1
  module RockRMS
2
- VERSION = '7.3.0'.freeze
2
+ VERSION = '7.4.0'.freeze
3
3
  end
@@ -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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rock_rms
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.3.0
4
+ version: 7.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Taylor Brooks