veracode 1.1.1 → 1.1.4
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/lib/veracode/version.rb +1 -1
- data/lib/veracode.rb +9 -4
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 869ea455d7ba3870c7314f3bfd8000f694aaea5108e710294da2fcbdb53e8675
|
|
4
|
+
data.tar.gz: 2758e1b03929fc63f8acf4864f248d857ae0ccdb93974c183ce16c8117a8e1f0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 11250e90a90dd1ffb4f56a4012504e0c75a1e91236b96531f06d4c158e328e3b558ce00899dd00d9caed08d32495476cb48211da04d1c2a21820b5def3c9a9f6
|
|
7
|
+
data.tar.gz: f669ec46f4756f9dcbe0bfd53163988d2c3d0fec7f6aa4b5d367e26628455e7fb7a2dc9d8dcb87ea7c2848e547ab6453fcd2b7b72d345533c3aec70247519296
|
data/lib/veracode/version.rb
CHANGED
data/lib/veracode.rb
CHANGED
|
@@ -184,6 +184,7 @@ module Veracode
|
|
|
184
184
|
}
|
|
185
185
|
}
|
|
186
186
|
else
|
|
187
|
+
Zip.write_zip64_support = true
|
|
187
188
|
Zip::File.open(@archive_filename, Zip::File::CREATE) { |zf|
|
|
188
189
|
@manifest.each { |file|
|
|
189
190
|
|
|
@@ -297,11 +298,13 @@ module Veracode
|
|
|
297
298
|
when o.is_a?(Module)
|
|
298
299
|
begin
|
|
299
300
|
( o.name.nil? ? o.to_s : o.name.to_s )
|
|
300
|
-
rescue
|
|
301
|
+
rescue Exception => e
|
|
301
302
|
begin
|
|
303
|
+
log_error "Exception rescued trying to call .name on object. Object: #{o.inspect}. Exception: #{e.inspect}"
|
|
302
304
|
( o.nil? ? "nil" : o.to_s )
|
|
303
|
-
rescue
|
|
304
|
-
|
|
305
|
+
rescue Exception => e
|
|
306
|
+
log_error "Exception rescued trying to call .nil on object. Object: #{o.inspect}. Exception: #{e.inspect}"
|
|
307
|
+
( o == nil ? "nil" : o.to_s ) # in case of monkey patched nil?
|
|
305
308
|
end
|
|
306
309
|
end
|
|
307
310
|
when o.is_a?(Method), o.is_a?(UnboundMethod)
|
|
@@ -309,7 +312,8 @@ module Veracode
|
|
|
309
312
|
else
|
|
310
313
|
o.to_s
|
|
311
314
|
end
|
|
312
|
-
rescue
|
|
315
|
+
rescue Exception => e
|
|
316
|
+
log_error "Exception rescued trying to get safe_name on object. Dropping from archive. Exception: #{e.inspect}"
|
|
313
317
|
"Veracode" #should result in this being dropped from the archive since we can't get a safe name for it
|
|
314
318
|
end
|
|
315
319
|
end
|
|
@@ -777,6 +781,7 @@ module Veracode
|
|
|
777
781
|
File.read(template),
|
|
778
782
|
template,
|
|
779
783
|
ActionView::Template::Handlers::ERB,
|
|
784
|
+
:locals => [],
|
|
780
785
|
:virtual_path => template
|
|
781
786
|
)
|
|
782
787
|
|
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.1.
|
|
4
|
+
version: 1.1.4
|
|
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: 2022-08-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rubyzip
|