diff options
author | Saku Ytti <saku@ytti.fi> | 2016-02-06 00:57:30 +0200 |
---|---|---|
committer | Saku Ytti <saku@ytti.fi> | 2016-02-06 00:57:30 +0200 |
commit | 683d95bb62ef30e5902042ea2b68b79ceb944475 (patch) | |
tree | 8d48543b4c9a5dfac39e1ce4fc7dc0dfcc19e1f2 | |
parent | db99ce998f05a4839e49639435f722551021b8ab (diff) |
Require ruby 2.0.0 or newer
Remove redundant 'build' task.
-rw-r--r-- | Rakefile | 7 | ||||
-rw-r--r-- | oxidized.gemspec | 2 |
2 files changed, 1 insertions, 8 deletions
@@ -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' |