veracodecli 1.0.2 → 1.0.3

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: d960a120ecafaba3036a4f1b32ce5030f10749a4
4
- data.tar.gz: c7a2b561395acaac8ef6318849ca1864a2b9950f
3
+ metadata.gz: 811beb23739dc554d819fa0cd449c1e69c8360b5
4
+ data.tar.gz: ca688ea3db7ef0e702909b284fa3b69aa40f24d2
5
5
  SHA512:
6
- metadata.gz: 6a6ed0c8b2aa5a41daac30c34060bb8f989e28144a3dda9db5a1cc4ea610e833262af13136469e382bb78f4bbcb760ca363a1392034e02da25b8d89c33386018
7
- data.tar.gz: 09c4a8e50dea43433141219a7c492c7f60e2fbaf1987aa2bb17f17d4dd2d8192c53a3ad3684174467cab88b9dfcf9d88f027352f2946a159ebde39cf2487ae3f
6
+ metadata.gz: 918c0b7bffd492a8eff94ee1a34dde27e8dab7e129fef8aa4562aa2096a1a7036fa248a01e4648b1bc5b4b5baa074db76ace34869dba0d5170001fdf37bc9246
7
+ data.tar.gz: eeac02435ee203cb8ef793283c9f8af5ac56bd25d010c2d9419a28c8bec9444a4868a1c67f4c7297261fd29a73e969bf2061de91aa297d859c72d864e33875e0
@@ -15,7 +15,8 @@ module VeracodeApiBase
15
15
 
16
16
  def get_repo_archive(url)
17
17
  directory = "/tmp/sast_clone"
18
- `git archive --remote #{url} --format=tar -o #{directory}/sast_upload.tar master`
18
+ `cd /tmp; zip -r sast_upload.zip sast_clone`
19
+ # `git archive --remote #{url} --format=tar -o #{directory}/sast_upload.tar master`
19
20
  end
20
21
  end
21
22
 
@@ -88,7 +89,7 @@ module VeracodeApiMacros
88
89
  include VeracodeApiResults
89
90
 
90
91
  def submit_scan_macro(app_name, business_criticality, business_unit, team)
91
- archive_path = "/tmp/sast_clone/sast_upload.tar"
92
+ archive_path = "/tmp/sast_upload.zip"
92
93
  app_id = get_app_id(app_name)
93
94
  if app_id.nil?
94
95
  app_id = create_app_profile(app_name, business_criticality, business_unit, team)
data/veracodecli.gemspec CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "veracodecli"
9
- s.version = "1.0.2"
9
+ s.version = "1.0.3"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib"]
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: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - isaiah thiessen