summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--oxidized.gemspec5
1 files changed, 5 insertions, 0 deletions
diff --git a/oxidized.gemspec b/oxidized.gemspec
index 9ff795c..bb9366d 100644
--- a/oxidized.gemspec
+++ b/oxidized.gemspec
@@ -23,6 +23,11 @@ Gem::Specification.new do |s|
s.add_runtime_dependency 'slop', '~> 3.5'
s.add_runtime_dependency 'net-ssh', '>= 3.0.0', '<3.1'
s.add_runtime_dependency 'rugged', '~> 0.21', '>= 0.21.4'
+
+ if defined?(RUBY_VERSION) && RUBY_VERSION > '2.3'
+ s.add_runtime_dependency 'net-telnet'
+ end
+
s.add_development_dependency 'pry', '~> 0'
s.add_development_dependency 'bundler', '~> 1.10'
s.add_development_dependency 'rake', '~> 10.0'