Sha256: 01ac8188e3b60254e403eb25c8bc9393b959824e35cbe306e3af4a4c46f98a2d
Contents?: true
Size: 1.66 KB
Versions: 2
Compression:
Stored size: 1.66 KB
Contents
# # Gems # require 'active_model' require 'active_support' autoload :DerivationValidator, 'derivation_validator' autoload :DynamicLengthValidator, 'dynamic_length_validator' autoload :IpFormatValidator, 'ip_format_validator' autoload :NilValidator, 'nil_validator' autoload :ParametersValidator, 'parameters_validator' autoload :PasswordIsStrongValidator, 'password_is_strong_validator' # 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 # # Project - require Metasploit::Model to be defined # # MUST require and not autoload as Rails::Engine loading works based subclass registration require 'metasploit/model/engine' require 'metasploit/model/version'
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
metasploit-model-0.27.4 | lib/metasploit/model.rb |
metasploit-model-0.27.4-java | lib/metasploit/model.rb |