we only need xmlrpc for ruby >= 2.3

This commit is contained in:
Brent Cook 2017-04-13 17:33:29 -05:00
parent cdccd1df19
commit 5dd681ead7
2 changed files with 4 additions and 2 deletions

View File

@ -13,7 +13,7 @@ language: ruby
rvm: rvm:
- '2.1' - '2.1'
- '2.2' - '2.2'
- '2.3.3' - '2.3.4'
- '2.4.1' - '2.4.1'
env: env:

View File

@ -102,7 +102,9 @@ Gem::Specification.new do |spec|
# Library for interpreting Windows error codes and strings # Library for interpreting Windows error codes and strings
spec.add_runtime_dependency 'windows_error' spec.add_runtime_dependency 'windows_error'
# This used to be depended on by nokogiri, depended on by wmap # This used to be depended on by nokogiri, depended on by wmap
spec.add_runtime_dependency 'xmlrpc' if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('2.3.0')
spec.add_runtime_dependency 'xmlrpc'
end
# #
# Protocol Libraries # Protocol Libraries