2013-09-20 08:06:48 +07:00
|
|
|
source 'https://rubygems.org'
|
2014-06-02 13:03:07 -05:00
|
|
|
# Add default group gems to `metasploit-framework.gemspec`:
|
|
|
|
|
# spec.add_runtime_dependency '<name>', [<version requirements>]
|
2014-11-05 08:58:46 -06:00
|
|
|
gemspec name: 'metasploit-framework'
|
2014-10-29 16:26:36 -05:00
|
|
|
|
2014-12-05 11:58:09 -06:00
|
|
|
# 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)
|
2015-01-08 13:12:27 -06:00
|
|
|
gem 'simplecov'
|
2014-12-05 11:58:09 -06:00
|
|
|
end
|
|
|
|
|
|
2013-04-12 09:28:59 -05:00
|
|
|
group :db do
|
2014-11-05 08:58:46 -06:00
|
|
|
gemspec name: 'metasploit-framework-db'
|
2013-04-12 09:28:59 -05:00
|
|
|
end
|
|
|
|
|
|
2012-10-01 13:09:30 -05:00
|
|
|
group :development do
|
2013-11-26 10:48:50 -06:00
|
|
|
# Markdown formatting for yard
|
|
|
|
|
gem 'redcarpet'
|
|
|
|
|
# generating documentation
|
|
|
|
|
gem 'yard'
|
2014-06-18 11:47:36 -05:00
|
|
|
# for development and testing purposes
|
|
|
|
|
gem 'pry'
|
2012-10-01 13:09:30 -05:00
|
|
|
end
|
2012-10-08 16:14:37 -05:00
|
|
|
|
|
|
|
|
group :development, :test do
|
2014-05-12 15:03:51 -05:00
|
|
|
# automatically include factories from spec/factories
|
2015-03-18 11:28:08 -05:00
|
|
|
gem 'factory_girl_rails', '~> 4.5.0'
|
2013-11-26 10:48:50 -06: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 15:03:51 -05:00
|
|
|
# testing framework
|
2014-07-09 12:21:41 -05:00
|
|
|
gem 'rspec', '>= 2.12', '< 3.0.0'
|
2014-05-12 15:03:51 -05:00
|
|
|
# Define `rake spec`. Must be in development AND test so that its available by default as a rake test when the
|
|
|
|
|
# environment is development
|
2014-10-02 13:29:50 -05:00
|
|
|
gem 'rspec-rails' , '>= 2.12', '< 3.0.0'
|
2012-10-08 16:14:37 -05:00
|
|
|
end
|
|
|
|
|
|
2014-05-09 13:47:00 -05:00
|
|
|
group :pcap do
|
2014-11-05 09:40:57 -06:00
|
|
|
gemspec name: 'metasploit-framework-pcap'
|
2014-05-09 13:47:00 -05:00
|
|
|
end
|
|
|
|
|
|
2012-10-08 16:14:37 -05:00
|
|
|
group :test do
|
2014-08-27 14:22:20 -05:00
|
|
|
# cucumber extension for testing command line applications, like msfconsole
|
|
|
|
|
gem 'aruba'
|
2014-08-27 14:10:04 -05:00
|
|
|
# cucumber + automatic database cleaning with database_cleaner
|
2014-09-04 13:04:08 -05:00
|
|
|
gem 'cucumber-rails', :require => false
|
2013-11-26 10:48:50 -06:00
|
|
|
gem 'shoulda-matchers'
|
|
|
|
|
# Manipulate Time.now in specs
|
|
|
|
|
gem 'timecop'
|
2012-10-08 16:14:37 -05:00
|
|
|
end
|