veracode 1.0.0.alpha11 → 1.0.0.alpha12

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 964f87e830e4ecd33cebac6f2bc0b38348096e13
4
- data.tar.gz: 44210d8588d2d63f26deb090f0f749f2b6427ce6
3
+ metadata.gz: 9ffaeba52a85aff23949c824adca1d68314d41c0
4
+ data.tar.gz: c6f539d71f08767169996d16fbcd997d04658af7
5
5
  SHA512:
6
- metadata.gz: e9b6eb4539068b5c29309b922bf376f2df68592605c01ca789a05241763456e219e0dcb456746ceae24ff51e536d2b6e26b191764480d5cc1065eb1b642a6e14
7
- data.tar.gz: 7bfd6df0aa27556f5c83c9d3df6522f9fd458bde3bf55cc4e90cc01be1872ae6973b8f095a8b8a46c0236e4b471644f664e01a7b6746fa37dcb223474f6acd45
6
+ metadata.gz: f48037a017dba0acf886e1bfdfd6abd4143ece680195568c412fe0344643a62252f9da9da269a1580ced4d663276f9299954a94552bbc6766b832e8e2639758e
7
+ data.tar.gz: 2a54b797348504a26cfd322783c64ff8ba639afa75be29794fd96bdb063f997d71a479ca04dc14e07bd7de9261195ac977ca1edc56741244e1c9f1a1b223ec15
@@ -1,4 +1,4 @@
1
1
  module Veracode
2
- VERSION = '1.0.0.alpha11'
2
+ VERSION = '1.0.0.alpha12'
3
3
  ARCHIVE_VERSION = '2012-07-04'
4
4
  end
data/lib/veracode.rb CHANGED
@@ -440,14 +440,27 @@ module Veracode
440
440
 
441
441
  puts " module header" if $options[:verbose]
442
442
 
443
- ( m.included_modules.count > 0 ?
444
- m.included_modules.map {|m| "include #{m.inspect.dump}\n" }.join :
445
- ""
446
- ) +
447
- ( m.respond_to?(:singleton_class) && m.singleton_class.included_modules.count > 0 ?
448
- m.singleton_class.included_modules.map {|m| "extend #{m.inspect.dump}\n" }.join :
449
- ""
450
- )
443
+ formatted_contents = ""
444
+
445
+ begin
446
+ fomatted_contents += ( m.included_modules.count > 0 ?
447
+ m.included_modules.map {|m| "include #{m.inspect.dump}\n" }.join :
448
+ ""
449
+ )
450
+ rescue Exception => e
451
+ log_error "Error archiving module header #{m.inspect.dump}: #{e.message}"
452
+ end
453
+
454
+ begin
455
+ formatted_contents += ( m.respond_to?(:singleton_class) && m.singleton_class.included_modules.count > 0 ?
456
+ m.singleton_class.included_modules.map {|m| "extend #{m.inspect.dump}\n" }.join :
457
+ ""
458
+ )
459
+ rescue Exception => e
460
+ log_error "Error archiving module header #{m.inspect.dump}: #{e.message}"
461
+ end
462
+
463
+ return formatted_contents
451
464
  end
452
465
 
453
466
 
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.alpha11
4
+ version: 1.0.0.alpha12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Veracode
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-02-07 00:00:00.000000000 Z
11
+ date: 2018-06-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubyzip
@@ -61,4 +61,3 @@ specification_version: 4
61
61
  summary: Command line tool for preparing your Ruby on Rails app for submission to
62
62
  Veracode
63
63
  test_files: []
64
- has_rdoc: