mirror of
https://github.com/rapid7/metasploit-framework
synced 2024-10-29 18:07:27 +01:00
we only need xmlrpc for ruby >= 2.3
This commit is contained in:
parent
cdccd1df19
commit
5dd681ead7
@ -13,7 +13,7 @@ language: ruby
|
||||
rvm:
|
||||
- '2.1'
|
||||
- '2.2'
|
||||
- '2.3.3'
|
||||
- '2.3.4'
|
||||
- '2.4.1'
|
||||
|
||||
env:
|
||||
|
@ -102,7 +102,9 @@ Gem::Specification.new do |spec|
|
||||
# Library for interpreting Windows error codes and strings
|
||||
spec.add_runtime_dependency 'windows_error'
|
||||
# This used to be depended on by nokogiri, depended on by wmap
|
||||
if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('2.3.0')
|
||||
spec.add_runtime_dependency 'xmlrpc'
|
||||
end
|
||||
|
||||
#
|
||||
# Protocol Libraries
|
||||
|
Loading…
Reference in New Issue
Block a user