Sha256: 0378272184c08f0c8f112b8356f8621476416efb0dcf05f29d32a892f60be936

Contents?: true

Size: 1.3 KB

Versions: 8

Compression:

Stored size: 1.3 KB

Contents

#
# Gems
#
require 'active_model'
require 'active_support'
# not loaded by default with require 'active_support'
require 'active_support/dependencies'

#
# Project
#

require 'metasploit/model/engine'
require 'metasploit/model/version'

# Top-level namespace shared between metasploit-model, metasploit-framework, and Pro.
module Metasploit
  # The namespace for this gem.  All code under the {Metasploit::Model} namespace is code that is shared between
  # in-memory ActiveModels in metasploit-framework and database ActiveRecords in metasploit_data_models.  Having a
  # separate gem for this shard code outside of metasploit_data_models is necessary as metasploit_data_models is an
  # optional dependency for metasploit-framework as metasploit-framework can work without a database.
  module Model
    extend ActiveSupport::Autoload

    autoload :Architecture
    autoload :Association
    autoload :Author
    autoload :Authority
    autoload :Base
    autoload :Derivation
    autoload :EmailAddress
    autoload :Error
    autoload :File
    autoload :Invalid
    autoload :Login
    autoload :Module
    autoload :NilifyBlanks
    autoload :Platform
    autoload :RealPathname
    autoload :Realm
    autoload :Reference
    autoload :Search
    autoload :Spec
    autoload :Translation
    autoload :Visitation
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
metasploit-model-0.27.3 lib/metasploit/model.rb
metasploit-model-0.27.3-java lib/metasploit/model.rb
metasploit-model-0.27.2 lib/metasploit/model.rb
metasploit-model-0.27.2-java lib/metasploit/model.rb
metasploit-model-0.27.1 lib/metasploit/model.rb
metasploit-model-0.27.1-java lib/metasploit/model.rb
metasploit-model-0.27.0 lib/metasploit/model.rb
metasploit-model-0.27.0-java lib/metasploit/model.rb