fidius-cvedb 0.0.3 → 0.0.5

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.
data/Rakefile CHANGED
@@ -1,6 +1,6 @@
1
+ require 'rubygems'
1
2
  require 'bundler'
2
3
  require 'rake/clean'
3
- require 'rubygems'
4
4
 
5
5
  Bundler::GemHelper.install_tasks
6
6
 
@@ -3,8 +3,7 @@ require 'optparse'
3
3
  require 'fidius-cvedb/version'
4
4
  require 'fileutils'
5
5
 
6
- GEM_BASE = File.join(ENV['GEM_HOME'], 'gems',
7
- "fidius-cvedb-#{FIDIUS::CveDb::VERSION}", 'lib')
6
+ GEM_BASE = File.expand_path('../../lib', __FILE__)
8
7
 
9
8
  options = {}
10
9
 
@@ -27,6 +26,7 @@ optparse = OptionParser.new do|opts|
27
26
  end
28
27
 
29
28
  opts.on_tail("-h", "--help", "Show this message") do
29
+ puts "GEM_BASE=#{GEM_BASE}"
30
30
  puts opts
31
31
  exit
32
32
  end
@@ -11,7 +11,7 @@ Gem::Specification.new do |s|
11
11
  s.email = ["bender@tzi.de", "jfaerber@tzi.de"]
12
12
  s.homepage = "http://fidius.me"
13
13
  s.summary = %q{Provides a parser and ActiveRecord models for the Common Vulnerability and Exposures (CVE) entries offered by the National Vulnerability Database (http://nvd.nist.gov/). }
14
- s.description = %q{This gem provides an opportunity to run a vulnerability database in your own environt. Therefore it comes with a parser for the National Vulnerability Database and ActiveRecord models for storing the entries in a local database and accessing Entries comfortable with Rails. }
14
+ s.description = %q{This gem provides an opportunity to run a vulnerability database in your own environment. Therefore it comes with a parser for the National Vulnerability Database and ActiveRecord models for storing the entries in a local database and accessing Entries comfortable with Rails. }
15
15
 
16
16
  s.rubyforge_project = ""
17
17
 
@@ -2,7 +2,7 @@ require 'fidius-cvedb/version'
2
2
 
3
3
  module FIDIUS
4
4
  module CveDb
5
- GEM_BASE = File.join(ENV['GEM_HOME'], 'gems', "fidius-cvedb-#{VERSION}", 'lib')
5
+ GEM_BASE = File.expand_path('..', __FILE__)
6
6
  RAILS_VERSION = Rails.version.to_i
7
7
 
8
8
  # If the used Rails version is 3 or beyond we use railties to load the rake
@@ -1,5 +1,5 @@
1
1
  module FIDIUS
2
2
  module CveDb
3
- VERSION = "0.0.3"
3
+ VERSION = "0.0.5"
4
4
  end
5
5
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 3
9
- version: 0.0.3
8
+ - 5
9
+ version: 0.0.5
10
10
  platform: ruby
11
11
  authors:
12
12
  - Andreas Bender
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-02-11 00:00:00 +01:00
18
+ date: 2011-02-16 00:00:00 +01:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -31,7 +31,7 @@ dependencies:
31
31
  version: "0"
32
32
  type: :runtime
33
33
  version_requirements: *id001
34
- description: "This gem provides an opportunity to run a vulnerability database in your own environt. Therefore it comes with a parser for the National Vulnerability Database and ActiveRecord models for storing the entries in a local database and accessing Entries comfortable with Rails. "
34
+ description: "This gem provides an opportunity to run a vulnerability database in your own environment. Therefore it comes with a parser for the National Vulnerability Database and ActiveRecord models for storing the entries in a local database and accessing Entries comfortable with Rails. "
35
35
  email:
36
36
  - bender@tzi.de
37
37
  - jfaerber@tzi.de