From f57c85fd33cefc06a0bb3ed1c07db39e51f69b07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pedro=20Carric=CC=A7o?= Date: Sat, 9 Jan 2016 16:16:06 +0000 Subject: [PATCH] Run only in ruby 2 --- public_ip.gemspec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/public_ip.gemspec b/public_ip.gemspec index 5e7af19..b8df7f6 100644 --- a/public_ip.gemspec +++ b/public_ip.gemspec @@ -23,6 +23,8 @@ DESCRIPTION spec.executables = ['public_ip'] spec.require_paths = ['lib'] + spec.required_ruby_version = '>= 2.0' + spec.add_dependency 'methadone', '~> 1.9.2' spec.add_dependency 'nokogiri', '~> 1.6.7'