package-audit 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. checksums.yaml +7 -0
  2. data/exe/package-audit +10 -0
  3. data/lib/package/audit/cli.rb +134 -0
  4. data/lib/package/audit/const.rb +5 -0
  5. data/lib/package/audit/dependency.rb +57 -0
  6. data/lib/package/audit/dependency_printer.rb +128 -0
  7. data/lib/package/audit/enum/environment.rb +15 -0
  8. data/lib/package/audit/enum/risk_explanation.rb +14 -0
  9. data/lib/package/audit/enum/risk_type.rb +12 -0
  10. data/lib/package/audit/enum/vulnerability_type.rb +14 -0
  11. data/lib/package/audit/formatter/base.rb +11 -0
  12. data/lib/package/audit/formatter/risk.rb +28 -0
  13. data/lib/package/audit/formatter/version.rb +33 -0
  14. data/lib/package/audit/formatter/version_date.rb +28 -0
  15. data/lib/package/audit/formatter/vulnerability.rb +37 -0
  16. data/lib/package/audit/risk.rb +27 -0
  17. data/lib/package/audit/risk_calculator.rb +65 -0
  18. data/lib/package/audit/ruby/bundler_specs.rb +28 -0
  19. data/lib/package/audit/ruby/gem_collection.rb +43 -0
  20. data/lib/package/audit/ruby/gem_meta_data.rb +58 -0
  21. data/lib/package/audit/ruby/vulnerability_finder.rb +24 -0
  22. data/lib/package/audit/util/bash_color.rb +35 -0
  23. data/lib/package/audit/util/summary_printer.rb +75 -0
  24. data/lib/package/audit/version.rb +5 -0
  25. data/sig/const.rbs +5 -0
  26. data/sig/package/audit/cli.rbs +31 -0
  27. data/sig/package/audit/dependency.rbs +35 -0
  28. data/sig/package/audit/dependency_printer.rbs +24 -0
  29. data/sig/package/audit/enum/environment.rbs +13 -0
  30. data/sig/package/audit/enum/risk_explanation.rbs +12 -0
  31. data/sig/package/audit/enum/risk_type.rbs +12 -0
  32. data/sig/package/audit/enum/vulnerability_type.rbs +14 -0
  33. data/sig/package/audit/formatter/base.rbs +9 -0
  34. data/sig/package/audit/formatter/risk_printer.rbs +13 -0
  35. data/sig/package/audit/formatter/version_date.rbs +13 -0
  36. data/sig/package/audit/formatter/version_printer.rbs +14 -0
  37. data/sig/package/audit/formatter/vulnerability.rbs +13 -0
  38. data/sig/package/audit/risk.rbs +12 -0
  39. data/sig/package/audit/risk_calculator.rbs +21 -0
  40. data/sig/package/audit/ruby/bundler_specs.rbs +11 -0
  41. data/sig/package/audit/ruby/gem_collection.rbs +15 -0
  42. data/sig/package/audit/ruby/gem_meta_data.rbs +23 -0
  43. data/sig/package/audit/ruby/vulnerability_finder.rbs +9 -0
  44. data/sig/package/audit/util/bash_color.rbs +21 -0
  45. data/sig/package/audit/util/summary_printer.rbs +21 -0
  46. data/sig/package/audit/version.rbs +5 -0
  47. metadata +121 -0
metadata ADDED
@@ -0,0 +1,121 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: package-audit
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Vadim Kononov
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2023-04-25 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler-audit
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '0.8'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '0.8'
27
+ - !ruby/object:Gem::Dependency
28
+ name: thor
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.2'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.2'
41
+ description: A useful tool for patch management and prioritization, package-audit
42
+ produces a list of dependencies that are outdated, deprecated or have security vulnerabilities.
43
+ email:
44
+ - support@tactica.ca
45
+ executables:
46
+ - package-audit
47
+ extensions: []
48
+ extra_rdoc_files: []
49
+ files:
50
+ - exe/package-audit
51
+ - lib/package/audit/cli.rb
52
+ - lib/package/audit/const.rb
53
+ - lib/package/audit/dependency.rb
54
+ - lib/package/audit/dependency_printer.rb
55
+ - lib/package/audit/enum/environment.rb
56
+ - lib/package/audit/enum/risk_explanation.rb
57
+ - lib/package/audit/enum/risk_type.rb
58
+ - lib/package/audit/enum/vulnerability_type.rb
59
+ - lib/package/audit/formatter/base.rb
60
+ - lib/package/audit/formatter/risk.rb
61
+ - lib/package/audit/formatter/version.rb
62
+ - lib/package/audit/formatter/version_date.rb
63
+ - lib/package/audit/formatter/vulnerability.rb
64
+ - lib/package/audit/risk.rb
65
+ - lib/package/audit/risk_calculator.rb
66
+ - lib/package/audit/ruby/bundler_specs.rb
67
+ - lib/package/audit/ruby/gem_collection.rb
68
+ - lib/package/audit/ruby/gem_meta_data.rb
69
+ - lib/package/audit/ruby/vulnerability_finder.rb
70
+ - lib/package/audit/util/bash_color.rb
71
+ - lib/package/audit/util/summary_printer.rb
72
+ - lib/package/audit/version.rb
73
+ - sig/const.rbs
74
+ - sig/package/audit/cli.rbs
75
+ - sig/package/audit/dependency.rbs
76
+ - sig/package/audit/dependency_printer.rbs
77
+ - sig/package/audit/enum/environment.rbs
78
+ - sig/package/audit/enum/risk_explanation.rbs
79
+ - sig/package/audit/enum/risk_type.rbs
80
+ - sig/package/audit/enum/vulnerability_type.rbs
81
+ - sig/package/audit/formatter/base.rbs
82
+ - sig/package/audit/formatter/risk_printer.rbs
83
+ - sig/package/audit/formatter/version_date.rbs
84
+ - sig/package/audit/formatter/version_printer.rbs
85
+ - sig/package/audit/formatter/vulnerability.rbs
86
+ - sig/package/audit/risk.rbs
87
+ - sig/package/audit/risk_calculator.rbs
88
+ - sig/package/audit/ruby/bundler_specs.rbs
89
+ - sig/package/audit/ruby/gem_collection.rbs
90
+ - sig/package/audit/ruby/gem_meta_data.rbs
91
+ - sig/package/audit/ruby/vulnerability_finder.rbs
92
+ - sig/package/audit/util/bash_color.rbs
93
+ - sig/package/audit/util/summary_printer.rbs
94
+ - sig/package/audit/version.rbs
95
+ homepage: https://github.com/tactica/package-audit
96
+ licenses:
97
+ - MIT
98
+ metadata:
99
+ homepage_uri: https://github.com/tactica/package-audit
100
+ source_code_uri: https://github.com/tactica/package-audit
101
+ rubygems_mfa_required: 'true'
102
+ post_install_message:
103
+ rdoc_options: []
104
+ require_paths:
105
+ - lib
106
+ required_ruby_version: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: 2.7.0
111
+ required_rubygems_version: !ruby/object:Gem::Requirement
112
+ requirements:
113
+ - - ">="
114
+ - !ruby/object:Gem::Version
115
+ version: '0'
116
+ requirements: []
117
+ rubygems_version: 3.4.10
118
+ signing_key:
119
+ specification_version: 4
120
+ summary: A helper tool to find outdated, deprecated and vulnerable dependencies.
121
+ test_files: []