Lock net-telnet gem to 0.1.1

net-telnet just released 0.2.0 which requires
ruby >= 2.3.0 which CentOS does not provide.

This locks that gem to 0.1.1 which was used before.
See the following issue [1].

[1] https://github.com/ruby/net-telnet/issues/14

Change-Id: I538acd4128d93d10fec15564bbc26eb7994303d0
This commit is contained in:
Tobias Urdin
2018-07-25 14:57:17 +02:00
parent 0487d29871
commit 3693fbbfa8

View File

@@ -31,6 +31,10 @@ Gem::Specification.new do |spec|
spec.add_dependency 'webmock'
spec.add_dependency 'etcdv3'
# Force net-telnet 0.1.1 as 0.2.0 requires ruby >= 2.3.0 which
# CentOS does not provide.
spec.add_dependency 'net-telnet', ['= 0.1.1']
# 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']