tenable-ruby 0.3.7 → 0.3.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/error/tenable_error.rb +6 -0
- data/lib/tenable-ruby.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 46cb931a0ca61f9b60d512054fffded5d3791c1287e288f3ffa8bb5aebc25143
|
4
|
+
data.tar.gz: f72de87553f9ab44629d6d76bd7bbca867243dbb21c45630f1b4555111ccb596
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: caade70ce004f071bcedc8c320b0ecd8182bcfdda4bbd4676fdc5c1903778b23f27a7a708cc99b44ac3e325b4b339d82a8a15ffded47bf1d4b00edc1723785cf
|
7
|
+
data.tar.gz: b6cbe3afe512e25da38fb042f7ddf7ad81382feaeaab8b4e5baed3799f3edfa42c5b21c1da0e85871be8ea4db8aee2cc26de6eccd28506b5e5c58dcc5fdcb7da
|
data/lib/error/tenable_error.rb
CHANGED
data/lib/tenable-ruby.rb
CHANGED
@@ -886,7 +886,7 @@ module TenableRuby
|
|
886
886
|
end
|
887
887
|
|
888
888
|
if response.code.to_s != "200"
|
889
|
-
raise TenableRuby::Error::TenableError,
|
889
|
+
raise TenableRuby::Error::TenableError.new(response: response),
|
890
890
|
"Tenable API request '#{opts[:uri]}' responded with response code #{response.code}"
|
891
891
|
end
|
892
892
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tenable-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Patrick Craston
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-08-
|
11
|
+
date: 2019-08-27 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: |-
|
14
14
|
Ruby library for communicating with the tenable.io API.
|