summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaku Ytti <saku@ytti.fi>2016-02-06 00:57:30 +0200
committerSaku Ytti <saku@ytti.fi>2016-02-06 00:57:30 +0200
commit683d95bb62ef30e5902042ea2b68b79ceb944475 (patch)
tree8d48543b4c9a5dfac39e1ce4fc7dc0dfcc19e1f2
parentdb99ce998f05a4839e49639435f722551021b8ab (diff)
Require ruby 2.0.0 or newer
Remove redundant 'build' task.
-rw-r--r--Rakefile7
-rw-r--r--oxidized.gemspec2
2 files changed, 1 insertions, 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'