veracodecli 1.0.11 → 1.0.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -0
- data/Gemfile.lock +1 -0
- data/VERSION +1 -1
- data/bin/veracodecli +2 -2
- data/lib/veracodecli/api.rb +1 -1
- data/veracodecli.gemspec +5 -2
- metadata +15 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0e9a993d34cc49b0f27606a0ce022acb36f7a5cc
|
4
|
+
data.tar.gz: 17f8ac2ce4d23c4e026e04ae51a8f3f1a8b2e1f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 717a296217bbff848cc0d40e6383aab8f1931c1f14723903d6c8a78993e9ee6d12732fc70c95a02ee9fe0e0d8b11fcf7bb936cbd1019e31966e54fb6e4062250
|
7
|
+
data.tar.gz: b14860b0c87afa1d4ee77e91eb05ed7872ce47d69817801199d41cf68be4c03c01e34713b6fd7af63be26385d160d2562e0a4eeb17a6cb07d045e1625eb045d6
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.12
|
data/bin/veracodecli
CHANGED
@@ -25,10 +25,10 @@ Commander.configure do
|
|
25
25
|
c.action do |_,options|
|
26
26
|
abort 'Missing parameter --repo' unless options.repo
|
27
27
|
abort 'Missing parameter --app_name' unless options.app_name
|
28
|
-
abort 'Missing parameter --business_unit' unless options.business_unit || defined? Settings.business_unit
|
28
|
+
abort 'Missing parameter --business_unit' unless options.business_unit || defined? Settings.business_unit
|
29
29
|
abort 'Missing parameter --team' unless options.team || defined? Settings.team
|
30
30
|
abort 'Missing parameter --business_criticality' unless options.business_criticality || defined? Settings.business_criticality
|
31
|
-
|
31
|
+
options.app_name.gsub! /[-_]/, ''
|
32
32
|
business_criticality = options.business_criticality || Settings.business_criticality
|
33
33
|
business_unit = options.business_unit || Settings.business_unit
|
34
34
|
team = options.team || Settings.team
|
data/lib/veracodecli/api.rb
CHANGED
@@ -35,7 +35,7 @@ module VeracodeApiBase
|
|
35
35
|
doc.remove_namespaces!
|
36
36
|
if doc.xpath('//app').empty? then return nil end
|
37
37
|
doc.xpath('//app').each do |app|
|
38
|
-
|
38
|
+
app_id = app.attributes['app_id'].value unless app.attributes['app_name'].value != app_name
|
39
39
|
end
|
40
40
|
app_id
|
41
41
|
end
|
data/veracodecli.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: veracodecli 1.0.
|
5
|
+
# stub: veracodecli 1.0.12 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "veracodecli"
|
9
|
-
s.version = "1.0.
|
9
|
+
s.version = "1.0.12"
|
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"]
|
@@ -54,6 +54,7 @@ Gem::Specification.new do |s|
|
|
54
54
|
s.add_runtime_dependency(%q<rest-client>, ["~> 1.8"])
|
55
55
|
s.add_runtime_dependency(%q<settingslogic>, ["~> 2.0"])
|
56
56
|
s.add_runtime_dependency(%q<terminal-announce>, ["~> 1.0"])
|
57
|
+
s.add_runtime_dependency(%q<nokogiri>, ["~> 1.6"])
|
57
58
|
s.add_development_dependency(%q<bundler>, ["~> 1.0"])
|
58
59
|
s.add_development_dependency(%q<jeweler>, ["~> 2.0"])
|
59
60
|
s.add_development_dependency(%q<rdoc>, ["~> 3.12"])
|
@@ -70,6 +71,7 @@ Gem::Specification.new do |s|
|
|
70
71
|
s.add_dependency(%q<rest-client>, ["~> 1.8"])
|
71
72
|
s.add_dependency(%q<settingslogic>, ["~> 2.0"])
|
72
73
|
s.add_dependency(%q<terminal-announce>, ["~> 1.0"])
|
74
|
+
s.add_dependency(%q<nokogiri>, ["~> 1.6"])
|
73
75
|
s.add_dependency(%q<bundler>, ["~> 1.0"])
|
74
76
|
s.add_dependency(%q<jeweler>, ["~> 2.0"])
|
75
77
|
s.add_dependency(%q<rdoc>, ["~> 3.12"])
|
@@ -87,6 +89,7 @@ Gem::Specification.new do |s|
|
|
87
89
|
s.add_dependency(%q<rest-client>, ["~> 1.8"])
|
88
90
|
s.add_dependency(%q<settingslogic>, ["~> 2.0"])
|
89
91
|
s.add_dependency(%q<terminal-announce>, ["~> 1.0"])
|
92
|
+
s.add_dependency(%q<nokogiri>, ["~> 1.6"])
|
90
93
|
s.add_dependency(%q<bundler>, ["~> 1.0"])
|
91
94
|
s.add_dependency(%q<jeweler>, ["~> 2.0"])
|
92
95
|
s.add_dependency(%q<rdoc>, ["~> 3.12"])
|
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.
|
4
|
+
version: 1.0.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- isaiah thiessen
|
@@ -94,6 +94,20 @@ dependencies:
|
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '1.0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: nokogiri
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '1.6'
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '1.6'
|
97
111
|
- !ruby/object:Gem::Dependency
|
98
112
|
name: bundler
|
99
113
|
requirement: !ruby/object:Gem::Requirement
|