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
|
2015-01-08 13:12:27 -06:00
|
|
|
gem 'simplecov'
|
2014-12-05 11:58:09 -06: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
|
2017-05-26 23:03:44 -05:00
|
|
|
gem 'pry'
|
2016-02-16 22:44:03 -06:00
|
|
|
# module documentation
|
2017-04-06 15:36:02 -05:00
|
|
|
gem 'octokit'
|
2017-04-12 12:19:30 -05:00
|
|
|
# Metasploit::Aggregator external session proxy
|
2017-10-18 13:21:02 -05:00
|
|
|
gem 'metasploit-aggregator' if [
|
|
|
|
|
'x86-mingw32', 'x64-mingw32',
|
|
|
|
|
'x86_64-linux', 'x86-linux',
|
|
|
|
|
'darwin'].include?(RUBY_PLATFORM.gsub(/.*darwin.*/, 'darwin'))
|
2018-01-19 16:15:09 -06:00
|
|
|
gem 'google-protobuf', '3.5.1' if [
|
|
|
|
|
'x86-mingw32', 'x64-mingw32',
|
|
|
|
|
'x86_64-linux', 'x86-linux',
|
|
|
|
|
'darwin'].include?(RUBY_PLATFORM.gsub(/.*darwin.*/, 'darwin'))
|
|
|
|
|
gem 'grpc', '1.8.3' if [
|
|
|
|
|
'x86-mingw32', 'x64-mingw32',
|
|
|
|
|
'x86_64-linux', 'x86-linux',
|
|
|
|
|
'darwin'].include?(RUBY_PLATFORM.gsub(/.*darwin.*/, 'darwin'))
|
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
|
2016-04-15 11:45:43 -05:00
|
|
|
gem 'factory_girl_rails'
|
2013-11-26 10:48:50 -06:00
|
|
|
# Make rspec output shorter and more useful
|
2016-04-15 11:45:43 -05:00
|
|
|
gem 'fivemat'
|
2013-11-26 10:48:50 -06:00
|
|
|
# running documentation generation tasks and rspec tasks
|
2016-04-15 11:45:43 -05:00
|
|
|
gem 'rake'
|
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
|
2016-04-15 11:45:43 -05:00
|
|
|
gem 'rspec-rails'
|
2017-06-20 14:02:32 -05:00
|
|
|
gem 'rspec-rerun'
|
2012-10-08 16:14:37 -05:00
|
|
|
end
|
|
|
|
|
|
|
|
|
|
group :test do
|
2013-11-26 10:48:50 -06:00
|
|
|
# Manipulate Time.now in specs
|
|
|
|
|
gem 'timecop'
|
2012-10-08 16:14:37 -05:00
|
|
|
end
|