Sha256: 8b0b97f4239bdd1d57434426b8134431d244c438116b08dc2b4f5b11378fbbb9
Contents?: true
Size: 563 Bytes
Versions: 3
Compression:
Stored size: 563 Bytes
Contents
require 'fidius-cvedb/version' require 'active_record' module FIDIUS module CveDb GEM_BASE = File.expand_path('..', __FILE__) RAILS_VERSION = Rails.version.to_i # If the used Rails version is 3 or beyond we use railties to load the rake # tasks. Otherwise they are symlinked. require 'fidius-cvedb/railtie' unless RAILS_VERSION < 3 require (File.join GEM_BASE, 'models', 'fidius', 'cve_db', 'cve_connection.rb') Dir.glob(File.join GEM_BASE, 'models', 'fidius', 'cve_db', '*.rb') do |rb| require rb end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
fidius-cvedb-0.0.8 | lib/fidius-cvedb.rb |
fidius-cvedb-0.0.7 | lib/fidius-cvedb.rb |
fidius-cvedb-0.0.6 | lib/fidius-cvedb.rb |