mirror of
https://github.com/rapid7/metasploit-framework
synced 2024-10-29 18:07:27 +01:00
633b4b9e51
MSP-11671 `bundler install --without coverage` will not install `simplecov`. Running without simplecov changes the average runtime of `rake cucumber:boot` from (n=13) 112.50 seconds to (n=10) 32.17 seconds (-71.41%). (-73.68% from 2c1203ba49d49603aec169eed053ab929ccdedc6.) Raw data: https://docs.google.com/spreadsheets/d/1vCRi_38Go3Wfq670eDCXMTSSXL1blSbk6NQsgpOqfYw/edit?usp=sharing.
58 lines
1.8 KiB
Ruby
Executable File
58 lines
1.8 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'
|
|
|
|
# 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', '0.5.4', :require => false
|
|
end
|
|
|
|
group :db do
|
|
gemspec name: 'metasploit-framework-db'
|
|
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
|
|
# 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'
|
|
# automatically include factories from spec/factories
|
|
gem 'factory_girl_rails'
|
|
# 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
|