veracodecli 1.0.1 → 1.0.2
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/README.md +1 -1
- data/VERSION +1 -1
- data/lib/veracodecli/settings.rb +3 -3
- data/veracodecli.gemspec +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d960a120ecafaba3036a4f1b32ce5030f10749a4
|
|
4
|
+
data.tar.gz: c7a2b561395acaac8ef6318849ca1864a2b9950f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6a6ed0c8b2aa5a41daac30c34060bb8f989e28144a3dda9db5a1cc4ea610e833262af13136469e382bb78f4bbcb760ca363a1392034e02da25b8d89c33386018
|
|
7
|
+
data.tar.gz: 09c4a8e50dea43433141219a7c492c7f60e2fbaf1987aa2bb17f17d4dd2d8192c53a3ad3684174467cab88b9dfcf9d88f027352f2946a159ebde39cf2487ae3f
|
data/README.md
CHANGED
|
@@ -20,7 +20,7 @@ gem install veracodecli
|
|
|
20
20
|
|
|
21
21
|
## Usage
|
|
22
22
|
|
|
23
|
-
1. set appropriate configs in
|
|
23
|
+
1. set appropriate configs in `/etc/veracodecli.yml`. The only two that are _required_ are `veracode_username` and `veracode_password` that are your API credentials for veracode
|
|
24
24
|
2. To run a scan use `veracodecli scan` --app_name _app\_name_ --repo _repo\_url_
|
|
25
25
|
|
|
26
26
|
- `veracodecli help` to see commands
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
1.0.1
|
data/lib/veracodecli/settings.rb
CHANGED
|
@@ -7,14 +7,14 @@ require 'terminal-announce'
|
|
|
7
7
|
class Settings < Settingslogic
|
|
8
8
|
# include InteractiveSetup
|
|
9
9
|
|
|
10
|
-
config_path = "
|
|
10
|
+
config_path = "/etc"
|
|
11
11
|
|
|
12
|
-
config_file = File.expand_path "#{config_path}/
|
|
12
|
+
config_file = File.expand_path "#{config_path}/veracodecli.yaml"
|
|
13
13
|
source config_file if File.exist? config_file
|
|
14
14
|
|
|
15
15
|
load!
|
|
16
16
|
rescue Errno::ENOENT
|
|
17
|
-
Announce.failure "Unable to find a configuration at #{config_path}/
|
|
17
|
+
Announce.failure "Unable to find a configuration at #{config_path}/veracodecli.yml"
|
|
18
18
|
exit
|
|
19
19
|
# InteractiveSetup.start
|
|
20
20
|
end
|
data/veracodecli.gemspec
CHANGED
|
@@ -2,16 +2,16 @@
|
|
|
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 0.
|
|
5
|
+
# stub: veracodecli 1.0.0 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.2"
|
|
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"]
|
|
13
13
|
s.authors = ["isaiah thiessen"]
|
|
14
|
-
s.date = "2015-
|
|
14
|
+
s.date = "2015-11-01"
|
|
15
15
|
s.description = "Ruby based CLI for accessing veracode's api"
|
|
16
16
|
s.email = "isaiah.thiessen@telus.com"
|
|
17
17
|
s.executables = ["veracodecli"]
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
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.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- isaiah thiessen
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-
|
|
11
|
+
date: 2015-11-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|