toolhound-ruby 1.0.34 → 1.0.35

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
  SHA1:
3
- metadata.gz: 5583df86ceff6505bb0bb88fa66ae26a75d0b04b
4
- data.tar.gz: b8e0a5c4e738fa7e3c683bf575f6d31abd525a3f
3
+ metadata.gz: 35aef3431244cd905c94caf0b3948c074ae7f4e8
4
+ data.tar.gz: 44528d12ff67737ed74c9ec15ec7a60b6499b9d8
5
5
  SHA512:
6
- metadata.gz: 5e240492a1c44ed13620d9730a26194e35d0df1e6a9a3cc41100f080d08c84ad3295de062107b50b6391be3e5e3f3a3dd88746a1e0fc80ffbe022decea348635
7
- data.tar.gz: b6fa8c20567ca6ef935fce0eadc647a82cb638c4a912b553bb77934bc99f7b047e2b03f7a6c8fed07795b5d34b9b342cc72a0c4199a2452c45f70832270e4f19
6
+ metadata.gz: 4a158833813af92ae7aa1365a40bb1ba1fbdeaa78b759a5dea9e9e95f452167eab354c73e99e4a73b6fe1b205eee87945b01c8a0e7d7f23525d09fd19a3bb5fe
7
+ data.tar.gz: 59a5a030c701db5b971878a07e775215d457ee452af693e3f85184ebcfe94ef3464489843d138740f7e457f2c97bcfb3621634080fbbb0e11714bbe3606a6fc9
@@ -183,7 +183,7 @@ module Toolhound
183
183
  raise ArgumentError.new(:inventory_id_id) unless inventory_id_id
184
184
  # raise ArgumentError.new(:job_id) unless job_id
185
185
 
186
- if job_id
186
+ unless job_id.nil?
187
187
  sql = build_sql(from: "job", where: [{"job.int_job_id" => job_id}], limit: 1)
188
188
  result = query(sql, first: true)
189
189
 
@@ -1,3 +1,3 @@
1
1
  module Toolhound
2
- VERSION = "1.0.34"
2
+ VERSION = "1.0.35"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: toolhound-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.34
4
+ version: 1.0.35
5
5
  platform: ruby
6
6
  authors:
7
7
  - Markus Klooth