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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: aa51dc5f780639e4388b6ddfc33b02adeca0e908
4
- data.tar.gz: 8bc1c39a9ee890b4216cff7e8e744a0b56b215e9
2
+ SHA256:
3
+ metadata.gz: ac560fb59075f6dc76eacf59f197ce7aa170c2dfa98a7d8a2b3db449d0900627
4
+ data.tar.gz: 180287f03416204f9377968b5c00b580a7122d7f4cb3099655486055ee314052
5
5
  SHA512:
6
- metadata.gz: 1e53ef6dec18e7fffecf5858aefae5e326565837d7118575b587d38088859f23925168a38b8b5842680b52a4d6f9ef6c3742ef24b2659d5f8a3cbc53974dfaf6
7
- data.tar.gz: c27a12763856711c38c225ddda3bdf57732ce8e68a9178a4c3b0e921b2a71f156f38fc5bb023028b02eed6b86323f2f5ff68a57441c4daa6b2fedd0812acead6
6
+ metadata.gz: 93edb65f20bd48019bdb4e07bec291bbceabbc6cdcf0461203b6d74a5e0426020c72968c6bd3261f85b2375f457f239187dd4f6ddb202dbcc566ce9dcb3af9af
7
+ data.tar.gz: 2c86c19b5d4d15aaccb07589d8c456366ccf078d81743cbbbf52f9fb7cb841f5cea9ffca96a289c79090ec78f8ea7661640e2956e650a55b09b377e87bf6ac56
@@ -52,7 +52,7 @@ module Gemsurance
52
52
  def retrieve_vulnerability_data
53
53
  puts "Retrieving latest vulnerability data..."
54
54
 
55
- if File.exists?('./tmp/vulnerabilities')
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.exists?(vulnerability_directory)
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)))
@@ -1,3 +1,3 @@
1
1
  module Gemsurance
2
- VERSION = '0.9.0'
2
+ VERSION = '0.10.0'
3
3
  end
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.9.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: 2017-06-11 00:00:00.000000000 Z
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: 1.9.3
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.6.12
100
+ rubygems_version: 2.7.9
151
101
  signing_key:
152
102
  specification_version: 4
153
103
  summary: Your Gem Insurance Policy