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>]
|
2014-11-05 14:58:46 +00:00
|
|
|
gemspec name: 'metasploit-framework'
|
2014-10-29 21:26:36 +00:00
|
|
|
|
2014-12-05 17:58:09 +00: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 19:12:27 +00:00
|
|
|
gem 'simplecov'
|
2014-12-05 17:58:09 +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'
|
2016-02-17 04:44:03 +00:00
|
|
|
# module documentation
|
|
|
|
gem 'octokit', '~> 4.0'
|
2016-02-22 17:31:58 +00:00
|
|
|
# rails-upgrade staging gems
|
2012-10-01 18:09:30 +00:00
|
|
|
end
|
2012-10-08 21:14:37 +00:00
|
|
|
|
|
|
|
group :development, :test do
|
2014-05-12 20:03:51 +00:00
|
|
|
# automatically include factories from spec/factories
|
2016-04-15 16:45:43 +00:00
|
|
|
gem 'factory_girl_rails'
|
2013-11-26 16:48:50 +00:00
|
|
|
# Make rspec output shorter and more useful
|
2016-04-15 16:45:43 +00:00
|
|
|
gem 'fivemat'
|
2013-11-26 16:48:50 +00:00
|
|
|
# running documentation generation tasks and rspec tasks
|
2016-04-15 16:45:43 +00:00
|
|
|
gem 'rake'
|
2014-05-12 20:03:51 +00: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
|
2016-04-15 16:45:43 +00:00
|
|
|
gem 'rspec-rails'
|
2012-10-08 21:14:37 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
group :test do
|
2014-08-27 19:22:20 +00:00
|
|
|
# cucumber extension for testing command line applications, like msfconsole
|
|
|
|
gem 'aruba'
|
2014-08-27 19:10:04 +00:00
|
|
|
# cucumber + automatic database cleaning with database_cleaner
|
2014-09-04 18:04:08 +00:00
|
|
|
gem 'cucumber-rails', :require => false
|
2013-11-26 16:48:50 +00:00
|
|
|
gem 'shoulda-matchers'
|
|
|
|
# Manipulate Time.now in specs
|
|
|
|
gem 'timecop'
|
2012-10-08 21:14:37 +00:00
|
|
|
end
|