veracodecli 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/veracodecli/settings.rb +20 -0
- data/lib/veracodecli/slack.rb +7 -0
- data/veracodecli.gemspec +3 -2
- metadata +3 -2
- data/veracodecli-0.2.0.gem +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 37eb4df5d58e0b00904deb6ce3fa218c751b6c81
|
4
|
+
data.tar.gz: f25c5363ac28dafda0b9312a9d3b6b4da22d9332
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5c922608cf32a8d140100b9ddd0b4518a8e78d93573899301606a3f6d8e2979527c26e9f5ddfdf2e9c2dc6b558db6277e651c36c2e1393d021f72eb267d5f030
|
7
|
+
data.tar.gz: b9273b96ea0607fed8301ed978a7280c0e6f54d74bba5a52dddad97d936bcca98d40f58dbe50758c12555de980087fb1caf4b8f24407c114262ceb9fc5bbf941
|
@@ -0,0 +1,20 @@
|
|
1
|
+
require 'settingslogic'
|
2
|
+
require 'terminal-announce'
|
3
|
+
|
4
|
+
# require_relative 'interactive_setup'
|
5
|
+
|
6
|
+
# Singleton for loading configs from common paths.
|
7
|
+
class Settings < Settingslogic
|
8
|
+
# include InteractiveSetup
|
9
|
+
|
10
|
+
config_path = "~/veracodecli_data"
|
11
|
+
|
12
|
+
config_file = File.expand_path "#{config_path}/config.yaml"
|
13
|
+
source config_file if File.exist? config_file
|
14
|
+
|
15
|
+
load!
|
16
|
+
rescue Errno::ENOENT
|
17
|
+
Announce.failure "Unable to find a configuration at #{config_path}/config.yml"
|
18
|
+
exit
|
19
|
+
# InteractiveSetup.start
|
20
|
+
end
|
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.
|
9
|
+
s.version = "1.0.1"
|
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"]
|
@@ -31,10 +31,11 @@ Gem::Specification.new do |s|
|
|
31
31
|
"bin/veracodecli",
|
32
32
|
"lib/veracodecli.rb",
|
33
33
|
"lib/veracodecli/api.rb",
|
34
|
+
"lib/veracodecli/settings.rb",
|
35
|
+
"lib/veracodecli/slack.rb",
|
34
36
|
"test/API.rb",
|
35
37
|
"test/helper.rb",
|
36
38
|
"test/test_veracodecli.rb",
|
37
|
-
"veracodecli-0.2.0.gem",
|
38
39
|
"veracodecli.gemspec"
|
39
40
|
]
|
40
41
|
s.homepage = "http://github.com/isand3r/veracodecli"
|
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.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- isaiah thiessen
|
@@ -240,10 +240,11 @@ files:
|
|
240
240
|
- bin/veracodecli
|
241
241
|
- lib/veracodecli.rb
|
242
242
|
- lib/veracodecli/api.rb
|
243
|
+
- lib/veracodecli/settings.rb
|
244
|
+
- lib/veracodecli/slack.rb
|
243
245
|
- test/API.rb
|
244
246
|
- test/helper.rb
|
245
247
|
- test/test_veracodecli.rb
|
246
|
-
- veracodecli-0.2.0.gem
|
247
248
|
- veracodecli.gemspec
|
248
249
|
homepage: http://github.com/isand3r/veracodecli
|
249
250
|
licenses:
|
data/veracodecli-0.2.0.gem
DELETED
Binary file
|