veracode 1.0.0.alpha10 → 1.0.0.alpha11
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/bin/veracode +12 -0
- data/lib/veracode/version.rb +1 -1
- data/lib/veracode.rb +11 -1
- 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: 964f87e830e4ecd33cebac6f2bc0b38348096e13
|
4
|
+
data.tar.gz: 44210d8588d2d63f26deb090f0f749f2b6427ce6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e9b6eb4539068b5c29309b922bf376f2df68592605c01ca789a05241763456e219e0dcb456746ceae24ff51e536d2b6e26b191764480d5cc1065eb1b642a6e14
|
7
|
+
data.tar.gz: 7bfd6df0aa27556f5c83c9d3df6522f9fd458bde3bf55cc4e90cc01be1872ae6973b8f095a8b8a46c0236e4b471644f664e01a7b6746fa37dcb223474f6acd45
|
data/bin/veracode
CHANGED
@@ -41,6 +41,18 @@ case subcommand
|
|
41
41
|
$options[:jruby] = true
|
42
42
|
end
|
43
43
|
|
44
|
+
opts.on("-O", "--skip-active-record", "Skip ActiveRecord") do
|
45
|
+
$options[:skipactiverecord] = true
|
46
|
+
end
|
47
|
+
|
48
|
+
opts.on("-V", "--skip-action-view", "Skip ActionView") do
|
49
|
+
$options[:skipactionview] = true
|
50
|
+
end
|
51
|
+
|
52
|
+
opts.on("-S", "--skip-sprockets", "Skip Sprockets") do
|
53
|
+
$options[:skipsprockets] = true
|
54
|
+
end
|
55
|
+
|
44
56
|
# opts.on("--[no-]source", "[Don't] Include source code in archive") do |s|
|
45
57
|
# $options[:archive_source] = s
|
46
58
|
# end
|
data/lib/veracode/version.rb
CHANGED
data/lib/veracode.rb
CHANGED
@@ -845,7 +845,17 @@ end
|
|
845
845
|
|
846
846
|
puts "Phase 2 - Load Rails" if $options[:verbose]
|
847
847
|
begin
|
848
|
-
|
848
|
+
if $options[:skipactiverecord] || $options[:skipactionview] || $options[:skipsprockets]
|
849
|
+
require "active_model/railtie"
|
850
|
+
require "active_record/railtie" unless $options[:skipactiverecord]
|
851
|
+
require "action_controller/railtie"
|
852
|
+
require "action_mailer/railtie"
|
853
|
+
require "action_view/railtie" unless $options[:skipactionview]
|
854
|
+
require "sprockets/railtie" unless $options[:skipsprockets]
|
855
|
+
require "rails/test_unit/railtie"
|
856
|
+
else
|
857
|
+
require "rails/all"
|
858
|
+
end
|
849
859
|
rescue Exception => e
|
850
860
|
puts "Unable to require rails: #{e.message}"
|
851
861
|
log_error "Unable to require rails: #{e.message}"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: veracode
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.
|
4
|
+
version: 1.0.0.alpha11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Veracode
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-02-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubyzip
|