From cb420da415e38f7afe7acc8e1c662736e142f4fc Mon Sep 17 00:00:00 2001 From: Tony Arcieri Date: Sat, 24 Sep 2016 15:03:04 -0700 Subject: [PATCH] Bump required Ruby version to 2.2.2+ Socketry also requires this version at a minimum --- .travis.yml | 5 +---- README.md | 4 +--- http.gemspec | 2 +- 3 files changed, 3 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 21d94137..d40431ec 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,10 +8,7 @@ env: - JRUBY_OPTS="$JRUBY_OPTS --debug" rvm: - - 2.0.0 - - 2.1 - - 2.2 - - 2.3.0 + - 2.2.2 - 2.3.1 - jruby-9.1.0.0 - jruby-head diff --git a/README.md b/README.md index a026122f..0f3efb44 100644 --- a/README.md +++ b/README.md @@ -156,9 +156,7 @@ and call `#readpartial` on it repeatedly until it returns `nil`: This library aims to support and is [tested against][travis] the following Ruby versions: -* Ruby 2.0.0 -* Ruby 2.1.x -* Ruby 2.2.x +* Ruby 2.2.2+ * Ruby 2.3.x * JRuby 9.1.0.0 diff --git a/http.gemspec b/http.gemspec index 9db52311..96809729 100644 --- a/http.gemspec +++ b/http.gemspec @@ -23,7 +23,7 @@ Gem::Specification.new do |gem| gem.require_paths = ["lib"] gem.version = HTTP::VERSION - gem.required_ruby_version = ">= 2.0" + gem.required_ruby_version = ">= 2.2.2" gem.add_runtime_dependency "addressable", "~> 2.3" gem.add_runtime_dependency "http-cookie", "~> 1.0"