From 683d95bb62ef30e5902042ea2b68b79ceb944475 Mon Sep 17 00:00:00 2001 From: Saku Ytti Date: Sat, 6 Feb 2016 00:57:30 +0200 Subject: Require ruby 2.0.0 or newer Remove redundant 'build' task. --- Rakefile | 7 ------- oxidized.gemspec | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/Rakefile b/Rakefile index 3a1be5e..e374eb8 100644 --- a/Rakefile +++ b/Rakefile @@ -19,13 +19,6 @@ task :test do end end -desc 'Build gem' -task :build do - system "gem build #{gemspec.name}.gemspec" - FileUtils.mkdir_p 'gems' - FileUtils.mv file, 'gems' -end - desc 'Install gem' task :install => :build do system "sudo -Es sh -c \'umask 022; gem install gems/#{file}\'" diff --git a/oxidized.gemspec b/oxidized.gemspec index 808d508..efa21db 100644 --- a/oxidized.gemspec +++ b/oxidized.gemspec @@ -18,7 +18,7 @@ Gem::Specification.new do |s| s.executables = %w( oxidized ) s.require_path = 'lib' - s.required_ruby_version = '>= 1.9.3' + s.required_ruby_version = '>= 2.0.0' s.add_runtime_dependency 'asetus', '~> 0.1' s.add_runtime_dependency 'slop', '~> 3.5' s.add_runtime_dependency 'net-ssh', '~> 3.0', '>= 3.0.2' -- cgit v1.2.1