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:
parent
47d6bc7e6a
commit
00a5433800
|
@ -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']
|
||||
|
|
Loading…
Reference in New Issue