veracodecli 0.1.7 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/veracodecli/api.rb +3 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1bf82a33c4e538e225025e733599f069516a119c
4
- data.tar.gz: 8f3ae911dc527047e7d4716908bf11182948b7df
3
+ metadata.gz: 5e5e4593b8358d58f3cdf0143b5533bfe4be989c
4
+ data.tar.gz: f0399615b9d3050bf8c0a8279ccfd554d3aa4dcb
5
5
  SHA512:
6
- metadata.gz: b2cd4f9d8a48f9b6c4dbcab758a3b80356950d360497e0ace5d85d473dd1daac536ad8de42dfedeaeca6c67858bb8570ed5b9ba041cbb9249725502a548752aa
7
- data.tar.gz: b40fc45d8484678413305948d7675a299c755cce81417acc577fb6d95ff8a50c5bd9705cb7ce58100b207dfa8a4e3b64e7d5d9924493642ddb12bc72587bd90a
6
+ metadata.gz: 755551beef943f74e219afafc3331f8d3cd6f46c5f5701f80733ae1d5daca3fb625fe4b13d929f57eb3259979f8b9d1c71ac7fdd0282c53c913750d7a5bbb5bc
7
+ data.tar.gz: 05ac291117a575c834b9aa38d87a9fea0925e543c184d58beeac19b63889f29448c3ddc7b3704c84b4c7620953a87e62d4994e3d45d5df8a0b3220d53c6120a3
@@ -101,7 +101,9 @@ module VeracodeApiMacros
101
101
  app_id = get_app_id app_name
102
102
  build_id = get_most_recent_build_id app_id
103
103
  report = get_scan_report_pdf build_id
104
- puts report
104
+ file = File.open "/home/#{ENV['USER']}/veracodecli_data/#{build_id}_report.pdf", 'w+'
105
+ file.write report
106
+ file.close
105
107
  end
106
108
 
107
109
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: veracodecli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - isaiah thiessen