Skip to content

Commit

Permalink
Only support Ruby 2.0 or newer
Browse files Browse the repository at this point in the history
  • Loading branch information
Trung Lê committed Sep 24, 2015
1 parent f73e75b commit 2c33f42
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.rdoc
Expand Up @@ -36,7 +36,7 @@ SafeShell solves this.

== Compatibility

Tested with Ruby 1.8.7, but it should be happy on pretty much any Ruby version. Maybe not so much on Windows.
Tested with Ruby 2.0.0 or newer, but it should be happy on pretty much any Ruby version. Maybe not so much on Windows.

== Test

Expand Down
6 changes: 3 additions & 3 deletions safe_shell.gemspec
@@ -1,4 +1,3 @@
# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require "safe_shell/version"

Expand All @@ -11,14 +10,15 @@ Gem::Specification.new do |s|
s.homepage = "http://github.com/envato/safe_shell"
s.summary = %q{Safely execute shell commands and get their output.}
s.description = %q{Execute shell commands and get the resulting output, but without the security problems of Ruby’s backtick operator.}
s.license = "MIT"

s.add_development_dependency "rspec"

s.rubyforge_project = "safe_shell"

s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
s.extra_rdoc_files = ["LICENSE", "README.rdoc"]

s.required_ruby_version = ">= 2.0.0"
end

0 comments on commit 2c33f42

Please sign in to comment.