Sha256: 269074dbe4f96e7d806f8abfb32fa170a0101d286e622be39bcb98b3a6e0181c

Contents?: true

Size: 897 Bytes

Versions: 2

Compression:

Stored size: 897 Bytes

Contents

#
# Core
#
require 'shellwords'

#
# Gems
#
# gems must load explicitly any gem declared in gemspec
# @see https://github.com/bundler/bundler/issues/2018#issuecomment-6819359
#
#
require 'active_record'
require 'active_support'
require 'active_support/all'
require 'metasploit/concern'
require 'metasploit/model'
require 'arel-helpers'
require 'postgres_ext'

#
# Project
#

require 'metasploit_data_models/version'

autoload :Mdm, 'mdm'

module MetasploitDataModels
  extend ActiveSupport::Autoload

  autoload :AutomaticExploitation
  autoload :Base64Serializer
  autoload :ChangeRequiredColumnsToNullFalse
  autoload :IPAddress
  autoload :Match
  autoload :ModuleRun
  autoload :Search
  autoload :SerializedPrefs

  def self.root
    unless instance_variable_defined? :@root
      lib_pathname = Pathname.new(__FILE__).dirname

      @root = lib_pathname.parent
    end

    @root
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
metasploit_data_models-1.0.0.pre.rails.pre.4.0b lib/metasploit_data_models.rb
metasploit_data_models-1.0.0.pre.rails.pre.4.0a lib/metasploit_data_models.rb