2013-09-20 01:06:48 +00:00
|
|
|
source 'https://rubygems.org'
|
2014-06-02 18:03:07 +00:00
|
|
|
# Add default group gems to `metasploit-framework.gemspec`:
|
|
|
|
# spec.add_runtime_dependency '<name>', [<version requirements>]
|
|
|
|
gemspec
|
2014-06-18 16:47:36 +00:00
|
|
|
|
2013-04-12 14:28:59 +00:00
|
|
|
group :db do
|
2013-11-26 16:48:50 +00:00
|
|
|
# Needed for Msf::DbManager
|
2014-04-18 21:45:07 +00:00
|
|
|
gem 'activerecord', '>= 3.0.0', '< 4.0.0'
|
2014-06-02 18:27:56 +00:00
|
|
|
# Metasploit::Credential database models
|
2014-07-09 15:43:57 +00:00
|
|
|
gem 'metasploit-credential', git: 'github-metasploit-credential:rapid7/metasploit-credential.git', tag: 'v0.6.0-electro-release'
|
2013-11-26 16:48:50 +00:00
|
|
|
# Database models shared between framework and Pro.
|
2014-07-07 22:02:22 +00:00
|
|
|
gem 'metasploit_data_models', '>= 0.18.0', '< 0.19'
|
2013-11-26 16:48:50 +00:00
|
|
|
# Needed for module caching in Mdm::ModuleDetails
|
|
|
|
gem 'pg', '>= 0.11'
|
2013-04-12 14:28:59 +00:00
|
|
|
end
|
|
|
|
|
2012-10-01 18:09:30 +00:00
|
|
|
group :development do
|
2013-11-26 16:48:50 +00:00
|
|
|
# Markdown formatting for yard
|
|
|
|
gem 'redcarpet'
|
|
|
|
# generating documentation
|
|
|
|
gem 'yard'
|
2014-06-18 16:47:36 +00:00
|
|
|
# for development and testing purposes
|
|
|
|
gem 'pry'
|
2012-10-01 18:09:30 +00:00
|
|
|
end
|
2012-10-08 21:14:37 +00:00
|
|
|
|
|
|
|
group :development, :test do
|
2013-11-26 16:48:50 +00:00
|
|
|
# supplies factories for producing model instance for specs
|
|
|
|
# Version 4.1.0 or newer is needed to support generate calls without the
|
|
|
|
# 'FactoryGirl.' in factory definitions syntax.
|
|
|
|
gem 'factory_girl', '>= 4.1.0'
|
2014-05-12 20:03:51 +00:00
|
|
|
# automatically include factories from spec/factories
|
|
|
|
gem 'factory_girl_rails'
|
2013-11-26 16:48:50 +00:00
|
|
|
# Make rspec output shorter and more useful
|
|
|
|
gem 'fivemat', '1.2.1'
|
|
|
|
# running documentation generation tasks and rspec tasks
|
|
|
|
gem 'rake', '>= 10.0.0'
|
2014-05-12 20:03:51 +00:00
|
|
|
# testing framework
|
|
|
|
gem 'rspec', '>= 2.12'
|
|
|
|
# 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'
|
2012-10-08 21:14:37 +00:00
|
|
|
end
|
|
|
|
|
2014-05-09 18:47:00 +00:00
|
|
|
group :pcap do
|
|
|
|
gem 'network_interface', '~> 0.0.1'
|
|
|
|
# For sniffer and raw socket modules
|
|
|
|
gem 'pcaprub'
|
|
|
|
end
|
|
|
|
|
2012-10-08 21:14:37 +00:00
|
|
|
group :test do
|
2013-11-26 16:48:50 +00:00
|
|
|
gem 'shoulda-matchers'
|
|
|
|
# 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', '0.5.4', :require => false
|
|
|
|
# Manipulate Time.now in specs
|
|
|
|
gem 'timecop'
|
2012-10-08 21:14:37 +00:00
|
|
|
end
|