Pin netaddr to 1.x

2.x is not compatible with 1.x
See https://github.com/dspinhirne/netaddr-rb/issues/5

Change-Id: If4de157d4419ca68554e68287471444914a9104f
(cherry picked from commit 1589fde0d3)
This commit is contained in:
Oliver Walsh 2018-01-23 20:00:00 +00:00 committed by Emilien Macchi
parent 47d6bc7e6a
commit 00a5433800
1 changed files with 4 additions and 1 deletions

View File

@ -27,9 +27,12 @@ Gem::Specification.new do |spec|
spec.add_dependency 'puppet-lint-unquoted_string-check'
spec.add_dependency 'puppet-lint-leading_zero-check'
spec.add_dependency 'json'
spec.add_dependency 'netaddr'
spec.add_dependency 'webmock'
# Force Netaddr 1.x as 2.x is not compatible
# https://github.com/dspinhirne/netaddr-rb/issues/5
spec.add_dependency 'netaddr', ['< 2.0.0']
# Things that get pinned because we can't have nice things (new ruby > 2.0)
spec.add_dependency 'fast_gettext', ['< 1.2.0']
spec.add_dependency 'nokogiri', ['< 1.7.0']