veracodecli 1.0.5 → 1.0.6
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/lib/veracodecli/api.rb +1 -1
- data/veracodecli.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 93e8d847a5ea3c880a8e09a0f4d9a8e15495a356
|
|
4
|
+
data.tar.gz: 7203ba34944f2442dd1bfab7dcace61327d461d6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c47220a902a66a4a5b25126889427c1787035a9a3312a31c1b368497f26491f16a415b126a80bcb8d6de4fad981b068a048502d16f3a913d2064e604b35c70a1
|
|
7
|
+
data.tar.gz: 45aa1ab195ac75cb1e51f85def6ffc5cea39b2357c105526ea12e897d7ac109c06ee8341ff8eec121512710b73f4aa2ed1a0b3d41fe5aa515131e4b1d30176cf
|
data/lib/veracodecli/api.rb
CHANGED
|
@@ -10,7 +10,7 @@ module VeracodeApiBase
|
|
|
10
10
|
begin
|
|
11
11
|
response = RestClient.post "https://#{Settings.veracode_username}:#{Settings.veracode_password}@analysiscenter.veracode.com/api/#{api_version}/#{api_call}", { params: params }
|
|
12
12
|
log = ResponseLogger.new "/home/#{ENV['USER']/veracodecli_data}"
|
|
13
|
-
log.log response.body
|
|
13
|
+
log.log api_call, response.body
|
|
14
14
|
rescue
|
|
15
15
|
abort '401: Unauthorized. Veracode API call Failed, please check your veracode credentials or whitelisted IPs'
|
|
16
16
|
end
|
data/veracodecli.gemspec
CHANGED