gemsurance 0.9.0 → 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/gemsurance/runner.rb +2 -2
- data/lib/gemsurance/version.rb +1 -1
- metadata +14 -64
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: ac560fb59075f6dc76eacf59f197ce7aa170c2dfa98a7d8a2b3db449d0900627
|
4
|
+
data.tar.gz: 180287f03416204f9377968b5c00b580a7122d7f4cb3099655486055ee314052
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 93edb65f20bd48019bdb4e07bec291bbceabbc6cdcf0461203b6d74a5e0426020c72968c6bd3261f85b2375f457f239187dd4f6ddb202dbcc566ce9dcb3af9af
|
7
|
+
data.tar.gz: 2c86c19b5d4d15aaccb07589d8c456366ccf078d81743cbbbf52f9fb7cb841f5cea9ffca96a289c79090ec78f8ea7661640e2956e650a55b09b377e87bf6ac56
|
data/lib/gemsurance/runner.rb
CHANGED
@@ -52,7 +52,7 @@ module Gemsurance
|
|
52
52
|
def retrieve_vulnerability_data
|
53
53
|
puts "Retrieving latest vulnerability data..."
|
54
54
|
|
55
|
-
if File.
|
55
|
+
if File.exist?('./tmp/vulnerabilities')
|
56
56
|
g = Git.open('./tmp/vulnerabilities')
|
57
57
|
g.pull
|
58
58
|
else
|
@@ -65,7 +65,7 @@ module Gemsurance
|
|
65
65
|
|
66
66
|
@gem_infos.each do |gem_info|
|
67
67
|
vulnerability_directory = File.join(vulnerabilities_directory, gem_info.name)
|
68
|
-
if File.
|
68
|
+
if File.exist?(vulnerability_directory)
|
69
69
|
Dir.foreach(vulnerability_directory) do |yaml_file|
|
70
70
|
next if yaml_file =~ /\A\./
|
71
71
|
vulnerability = Vulnerability.new(File.read(File.join(vulnerability_directory, yaml_file)))
|
data/lib/gemsurance/version.rb
CHANGED
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gemsurance
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.10.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jon Kessler
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-09-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '1.2'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '3.0'
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
25
28
|
- !ruby/object:Gem::Version
|
26
29
|
version: '1.2'
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '3.0'
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: git
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -42,72 +48,16 @@ dependencies:
|
|
42
48
|
name: gems
|
43
49
|
requirement: !ruby/object:Gem::Requirement
|
44
50
|
requirements:
|
45
|
-
- - "
|
51
|
+
- - ">="
|
46
52
|
- !ruby/object:Gem::Version
|
47
53
|
version: '0.8'
|
48
54
|
type: :runtime
|
49
55
|
prerelease: false
|
50
56
|
version_requirements: !ruby/object:Gem::Requirement
|
51
57
|
requirements:
|
52
|
-
- - "
|
58
|
+
- - ">="
|
53
59
|
- !ruby/object:Gem::Version
|
54
60
|
version: '0.8'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: mocha
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - '='
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: 0.14.0
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - '='
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: 0.14.0
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: rake
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - '='
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: 0.9.2.2
|
76
|
-
type: :development
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - '='
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: 0.9.2.2
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: nokogiri
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - '='
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: 1.5.9
|
90
|
-
type: :development
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - '='
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: 1.5.9
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: test-unit
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - '='
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: 3.0.9
|
104
|
-
type: :development
|
105
|
-
prerelease: false
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - '='
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: 3.0.9
|
111
61
|
description: Gem vulnerability and version checker
|
112
62
|
email: jon.kessler@appfolio.com
|
113
63
|
executables:
|
@@ -139,7 +89,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
139
89
|
requirements:
|
140
90
|
- - ">="
|
141
91
|
- !ruby/object:Gem::Version
|
142
|
-
version:
|
92
|
+
version: '2.4'
|
143
93
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
144
94
|
requirements:
|
145
95
|
- - ">="
|
@@ -147,7 +97,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
147
97
|
version: 1.8.11
|
148
98
|
requirements: []
|
149
99
|
rubyforge_project:
|
150
|
-
rubygems_version: 2.
|
100
|
+
rubygems_version: 2.7.9
|
151
101
|
signing_key:
|
152
102
|
specification_version: 4
|
153
103
|
summary: Your Gem Insurance Policy
|