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
|
|
|
|
2017-07-17 14:26:14 +00:00
|
|
|
# These pull in pre-release gems in order to fix specific issues.
|
|
|
|
# XXX https://github.com/alexdalitz/dnsruby/pull/134
|
|
|
|
gem 'dnsruby', git: 'https://github.com/alexdalitz/dnsruby'
|
2017-07-23 19:13:15 +00:00
|
|
|
|
2017-07-17 14:26:14 +00:00
|
|
|
# XXX https://github.com/ConnorAtherton/rb-readline/commit/fd882edcd145c26681f9971be5f6675c7f6d1970
|
2017-07-23 19:13:15 +00:00
|
|
|
gem 'rb-readline', git: 'https://github.com/ConnorAtherton/rb-readline' if [
|
|
|
|
'x86_64-linux', 'x86-linux', 'darwin'].include?(RUBY_PLATFORM.gsub(/.*darwin.*/, 'darwin'))
|
2017-07-17 14:26:14 +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
|
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
|
2017-05-27 04:03:44 +00:00
|
|
|
gem 'pry'
|
2016-02-17 04:44:03 +00:00
|
|
|
# module documentation
|
2017-04-06 20:36:02 +00:00
|
|
|
gem 'octokit'
|
2017-04-12 17:19:30 +00:00
|
|
|
# metasploit-aggregator as a framework only option for now
|
|
|
|
# Metasploit::Aggregator external session proxy
|
|
|
|
gem 'metasploit-aggregator'
|
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'
|
2017-06-20 19:02:32 +00:00
|
|
|
gem 'rspec-rerun'
|
2012-10-08 21:14:37 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
group :test do
|
2013-11-26 16:48:50 +00:00
|
|
|
# Manipulate Time.now in specs
|
|
|
|
gem 'timecop'
|
2012-10-08 21:14:37 +00:00
|
|
|
end
|