63 lines
2.1 KiB
Ruby
Executable File
63 lines
2.1 KiB
Ruby
Executable File
source 'https://rubygems.org'
|
|
# Add default group gems to `metasploit-framework.gemspec`:
|
|
# spec.add_runtime_dependency '<name>', [<version requirements>]
|
|
gemspec name: 'metasploit-framework'
|
|
|
|
# TODO: Rails 4
|
|
# move these back into the root gemspec
|
|
gem 'metasploit-concern', :github => 'rapid7/metasploit-concern', :branch => 'staging/rails-4.0'
|
|
gem 'metasploit-model', :github => 'rapid7/metasploit-model', :branch => 'staging/rails-4.0'
|
|
|
|
# separate from test as simplecov is not run on travis-ci
|
|
group :coverage do
|
|
# code coverage for tests
|
|
# any version newer than 0.5.4 gives an Encoding error when trying to read the source files.
|
|
# see: https://github.com/colszowka/simplecov/issues/127 (hopefully fixed in 0.8.0)
|
|
gem 'simplecov'
|
|
end
|
|
|
|
group :db do
|
|
gemspec name: 'metasploit-framework-db'
|
|
# TODO: Rails 4
|
|
# move these back into the metasploit-framework-db gemspec
|
|
gem 'metasploit-credential', :github => 'rapid7/metasploit-credential', :branch => 'staging/rails-4.0'
|
|
gem 'metasploit_data_models', :github => 'rapid7/metasploit_data_models', :branch => 'staging/rails-4.0'
|
|
end
|
|
|
|
group :development do
|
|
# Markdown formatting for yard
|
|
gem 'redcarpet'
|
|
# generating documentation
|
|
gem 'yard'
|
|
# for development and testing purposes
|
|
gem 'pry'
|
|
end
|
|
|
|
group :development, :test do
|
|
# automatically include factories from spec/factories
|
|
gem 'factory_girl_rails', '~> 4.5.0'
|
|
# Make rspec output shorter and more useful
|
|
gem 'fivemat', '1.2.1'
|
|
# running documentation generation tasks and rspec tasks
|
|
gem 'rake', '>= 10.0.0'
|
|
# testing framework
|
|
gem 'rspec', '>= 2.12', '< 3.0.0'
|
|
# Define `rake spec`. Must be in development AND test so that its available by default as a rake test when the
|
|
# environment is development
|
|
gem 'rspec-rails' , '>= 2.12', '< 3.0.0'
|
|
end
|
|
|
|
group :pcap do
|
|
gemspec name: 'metasploit-framework-pcap'
|
|
end
|
|
|
|
group :test do
|
|
# cucumber extension for testing command line applications, like msfconsole
|
|
gem 'aruba'
|
|
# cucumber + automatic database cleaning with database_cleaner
|
|
gem 'cucumber-rails', :require => false
|
|
gem 'shoulda-matchers'
|
|
# Manipulate Time.now in specs
|
|
gem 'timecop'
|
|
end
|