Sha256: 3b2ac1e5521dc190379edad63deaee667f389ddb2407ab7a18933397e752abf3

Contents?: true

Size: 1.67 KB

Versions: 34

Compression:

Stored size: 1.67 KB

Contents

# -*- encoding: utf-8 -*-
$LOAD_PATH.push File.expand_path('../lib', __FILE__)
require 'metasploit_data_models/version'

Gem::Specification.new do |s|
  s.name        = 'metasploit_data_models'
  s.version     = MetasploitDataModels::VERSION
  s.authors     = [
      'Samuel Huckins',
      'Luke Imhoff',
      "David 'thelightcosine' Maloney",
      'Trevor Rosen'
  ]
  s.email       = [
      'shuckins@rapid7.com',
      'luke_imhoff@rapid7.com',
      'dmaloney@rapid7.com',
      'trevor_rosen@rapid7.com'
  ]
  s.homepage    = ""
  s.summary     = %q{Database code for MSF and Metasploit Pro}
  s.description = %q{Implements minimal ActiveRecord models and database helper code used in both the Metasploit Framework (MSF) and Metasploit commercial editions.}

  s.files         = `git ls-files`.split("\n")
  s.test_files    = `git ls-files -- {test,spec,features}/*`.split("\n")
  s.executables   = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
  s.require_paths = ['lib']

  # ---- Dependencies ----
  s.add_development_dependency 'rake'

  # documentation
  s.add_development_dependency 'yard'
  # debugging
  s.add_development_dependency 'pry'

  s.add_runtime_dependency 'activerecord', '>= 3.2.13'
  s.add_runtime_dependency 'activesupport'
  
  if RUBY_PLATFORM =~ /java/
    # markdown formatting for yard
    s.add_development_dependency 'kramdown'

    s.add_runtime_dependency 'jdbc-postgres'
    s.add_runtime_dependency 'activerecord-jdbcpostgresql-adapter'
    
    s.platform = Gem::Platform::JAVA
  else
    # markdown formatting for yard
    s.add_development_dependency 'redcarpet'

    s.add_runtime_dependency 'pg'
    
    s.platform = Gem::Platform::RUBY
  end
end

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
metasploit_data_models-0.17.0-java metasploit_data_models.gemspec
metasploit_data_models-0.17.0 metasploit_data_models.gemspec
metasploit_data_models-0.16.9 metasploit_data_models.gemspec
metasploit_data_models-0.16.9-java metasploit_data_models.gemspec
metasploit_data_models-0.16.8 metasploit_data_models.gemspec
metasploit_data_models-0.16.8-java metasploit_data_models.gemspec
metasploit_data_models-0.16.7-java metasploit_data_models.gemspec
metasploit_data_models-0.16.7 metasploit_data_models.gemspec
metasploit_data_models-0.16.6-java metasploit_data_models.gemspec
metasploit_data_models-0.16.6 metasploit_data_models.gemspec
metasploit_data_models-0.16.5-java metasploit_data_models.gemspec
metasploit_data_models-0.16.5 metasploit_data_models.gemspec
metasploit_data_models-0.16.4-java metasploit_data_models.gemspec
metasploit_data_models-0.16.4 metasploit_data_models.gemspec
metasploit_data_models-0.16.3-java metasploit_data_models.gemspec
metasploit_data_models-0.16.1-java metasploit_data_models.gemspec
metasploit_data_models-0.16.1 metasploit_data_models.gemspec
metasploit_data_models-0.16.0-java metasploit_data_models.gemspec
metasploit_data_models-0.16.0 metasploit_data_models.gemspec
metasploit_data_models-0.15.2-java metasploit_data_models.gemspec