2013-09-20 03:06:48 +02:00
|
|
|
source 'https://rubygems.org'
|
2014-06-02 20:03:07 +02:00
|
|
|
# Add default group gems to `metasploit-framework.gemspec`:
|
|
|
|
# spec.add_runtime_dependency '<name>', [<version requirements>]
|
2014-11-05 15:58:46 +01:00
|
|
|
gemspec name: 'metasploit-framework'
|
2014-10-29 22:26:36 +01:00
|
|
|
|
2014-12-05 18:58:09 +01:00
|
|
|
# separate from test as simplecov is not run on travis-ci
|
|
|
|
group :coverage do
|
|
|
|
# code coverage for tests
|
2015-01-08 20:12:27 +01:00
|
|
|
gem 'simplecov'
|
2014-12-05 18:58:09 +01:00
|
|
|
end
|
|
|
|
|
2012-10-01 20:09:30 +02:00
|
|
|
group :development do
|
2013-11-26 17:48:50 +01:00
|
|
|
# Markdown formatting for yard
|
|
|
|
gem 'redcarpet'
|
|
|
|
# generating documentation
|
|
|
|
gem 'yard'
|
2014-06-18 18:47:36 +02:00
|
|
|
# for development and testing purposes
|
2017-05-27 06:03:44 +02:00
|
|
|
gem 'pry'
|
2016-02-17 05:44:03 +01:00
|
|
|
# module documentation
|
2017-04-06 22:36:02 +02:00
|
|
|
gem 'octokit'
|
2017-04-12 19:19:30 +02:00
|
|
|
# Metasploit::Aggregator external session proxy
|
2017-10-18 20:21:02 +02:00
|
|
|
gem 'metasploit-aggregator' if [
|
|
|
|
'x86-mingw32', 'x64-mingw32',
|
|
|
|
'x86_64-linux', 'x86-linux',
|
|
|
|
'darwin'].include?(RUBY_PLATFORM.gsub(/.*darwin.*/, 'darwin'))
|
2018-02-28 17:31:17 +01:00
|
|
|
gem 'google-protobuf', "3.5.1" if [
|
|
|
|
'x86-mingw32', 'x64-mingw32',
|
|
|
|
'x86_64-linux', 'x86-linux',
|
|
|
|
'darwin'].include?(RUBY_PLATFORM.gsub(/.*darwin.*/, 'darwin'))
|
2018-03-02 15:51:39 +01:00
|
|
|
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 20:09:30 +02:00
|
|
|
end
|
2012-10-08 23:14:37 +02:00
|
|
|
|
|
|
|
group :development, :test do
|
2014-05-12 22:03:51 +02:00
|
|
|
# automatically include factories from spec/factories
|
2016-04-15 18:45:43 +02:00
|
|
|
gem 'factory_girl_rails'
|
2013-11-26 17:48:50 +01:00
|
|
|
# Make rspec output shorter and more useful
|
2016-04-15 18:45:43 +02:00
|
|
|
gem 'fivemat'
|
2013-11-26 17:48:50 +01:00
|
|
|
# running documentation generation tasks and rspec tasks
|
2016-04-15 18:45:43 +02:00
|
|
|
gem 'rake'
|
2014-05-12 22:03:51 +02: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 18:45:43 +02:00
|
|
|
gem 'rspec-rails'
|
2017-06-20 21:02:32 +02:00
|
|
|
gem 'rspec-rerun'
|
2012-10-08 23:14:37 +02:00
|
|
|
end
|
|
|
|
|
|
|
|
group :test do
|
2013-11-26 17:48:50 +01:00
|
|
|
# Manipulate Time.now in specs
|
|
|
|
gem 'timecop'
|
2012-10-08 23:14:37 +02:00
|
|
|
end
|