Sha256: 692d723c0c0a428f697c43799dc8232907e53e0d0976237bf55a1cd5db64920e

Contents?: true

Size: 1.45 KB

Versions: 9

Compression:

Stored size: 1.45 KB

Contents

# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'metasploit/model/version'

Gem::Specification.new do |spec|
  spec.name          = 'metasploit-model'
  spec.version       = Metasploit::Model::GEM_VERSION
  spec.authors       = ['Luke Imhoff']
  spec.email         = ['luke_imhoff@rapid7.com']
  spec.description   = %q{Common code, such as validators and mixins, that are shared between ActiveModels in metasploit-framework and ActiveRecords in metasploit_data_models.}
  spec.summary       = %q{Metasploit Model Mixins and Validators}

  spec.files         = `git ls-files`.split($/)
  spec.executables   = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
  spec.test_files    = spec.files.grep(%r{^(test|spec|features)/})
  spec.require_paths = ['lib']

  spec.add_development_dependency 'bundler', '~> 1.3'
  spec.add_development_dependency 'rake'

  # documentation
  # 0.8.7.4 has a bug where attribute setters show up as undocumented
  spec.add_development_dependency 'yard', '< 0.8.7.4'

  # Dependency loading
  spec.add_runtime_dependency 'activesupport'
  spec.add_runtime_dependency 'railties', '< 4.0.0'

  if RUBY_PLATFORM =~ /java/
    # markdown formatting for yard
    spec.add_development_dependency 'kramdown'

    spec.platform = Gem::Platform::JAVA
  else
    # markdown formatting for yard
    spec.add_development_dependency 'redcarpet'

    spec.platform = Gem::Platform::RUBY
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
metasploit-model-0.27.3 metasploit-model.gemspec
metasploit-model-0.27.3-java metasploit-model.gemspec
metasploit-model-0.27.2 metasploit-model.gemspec
metasploit-model-0.27.2-java metasploit-model.gemspec
metasploit-model-0.27.1 metasploit-model.gemspec
metasploit-model-0.27.1-java metasploit-model.gemspec
metasploit-model-0.27.0 metasploit-model.gemspec
metasploit-model-0.27.0-java metasploit-model.gemspec
metasploit-model-0.27.0.pre.dep.pre.railties metasploit-model.gemspec