ruby-advisory-db-check 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -4
- data/README.md +5 -3
- data/lib/ruby_advisory_db_check/version.rb +1 -1
- data/lib/tasks/ruby_advisory_db_check.rake +1 -1
- data/ruby-advisory-db-check.gemspec +3 -2
- metadata +23 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6019403c99578d5be0a0d235c3f98082ef2589ad
|
4
|
+
data.tar.gz: 78ea929a5aeba47109ca758c671e9dd51c523a11
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 33c81872a6d00e4795167247904f7e778ed95ae446e7f167b9301bd0bda71fc1922b94c99bff2e3ec8781943e6302536ca6a873c691bf05931445248afc0bcf1
|
7
|
+
data.tar.gz: e255f1935de472632b733fab1d09d64acee735cd34fd38af4493a8363ce554fbfc62c17b4bdf3db1c68d067e9e3d1ab0b76838425a3d4b355fd56ee9f1cbee25
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -1,6 +1,8 @@
|
|
1
|
-
#
|
1
|
+
# RubyAdvisoryDbCheck
|
2
2
|
|
3
|
-
|
3
|
+
This Gem provides a rake task that automatically checks your installed Gems
|
4
|
+
with the [ruby-advisory-db Database](https://github.com/rubysec/ruby-advisory-db).
|
5
|
+
The rake task will fail and output the affected Gems if there are any advisories.
|
4
6
|
|
5
7
|
## Installation
|
6
8
|
|
@@ -18,7 +20,7 @@ Or install it yourself as:
|
|
18
20
|
|
19
21
|
## Usage
|
20
22
|
|
21
|
-
|
23
|
+
$ rake advisory_db:check
|
22
24
|
|
23
25
|
## Contributing
|
24
26
|
|
@@ -8,7 +8,7 @@ DATABASE_FILE = 'https://github.com/rubysec/ruby-advisory-db/archive/master.zip'
|
|
8
8
|
TEMP_DIR = 'tmp/check_advisory_db'
|
9
9
|
TEMP_FILE = "#{TEMP_DIR}/master.zip"
|
10
10
|
|
11
|
-
namespace :
|
11
|
+
namespace :advisory_db do
|
12
12
|
desc 'Check the Gems for advisories.'
|
13
13
|
task :check => :environment do
|
14
14
|
global_result = true
|
@@ -22,6 +22,7 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
23
23
|
spec.require_paths = ['lib']
|
24
24
|
|
25
|
-
spec.
|
26
|
-
spec.
|
25
|
+
spec.add_runtime_dependency 'bundler', '~> 1.5'
|
26
|
+
spec.add_runtime_dependency 'rake', '~> 0'
|
27
|
+
spec.add_runtime_dependency 'rubyzip', '~> 1.1', '>= 1.1.6'
|
27
28
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-advisory-db-check
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Torsten Braun
|
@@ -17,7 +17,7 @@ dependencies:
|
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '1.5'
|
20
|
-
type: :
|
20
|
+
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
@@ -31,13 +31,33 @@ dependencies:
|
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0'
|
34
|
-
type: :
|
34
|
+
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rubyzip
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '1.1'
|
48
|
+
- - ">="
|
49
|
+
- !ruby/object:Gem::Version
|
50
|
+
version: 1.1.6
|
51
|
+
type: :runtime
|
52
|
+
prerelease: false
|
53
|
+
version_requirements: !ruby/object:Gem::Requirement
|
54
|
+
requirements:
|
55
|
+
- - "~>"
|
56
|
+
- !ruby/object:Gem::Version
|
57
|
+
version: '1.1'
|
58
|
+
- - ">="
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: 1.1.6
|
41
61
|
description: "\n This Gem automatically downloads and extracts
|
42
62
|
the ruby-advisory-db Database from Github.\n Than it uses
|
43
63
|
bundler and rubygems to check for advisories in your installed Gems by\n executing
|