From 059fa4ea1d93068cd0d8fe62e697d0a8c9cedfc4 Mon Sep 17 00:00:00 2001 From: Masataka Kuwabara Date: Wed, 24 Aug 2016 15:39:22 +0900 Subject: [PATCH] Drop support for MRI 2.0.x --- .travis.yml | 1 - CHANGELOG.md | 1 + README.md | 2 ++ expeditor.gemspec | 2 ++ 4 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 48c95e9..6c4376d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,7 +2,6 @@ language: ruby sudo: false cache: bundler rvm: - - 2.0.0 - 2.1 - 2.2 - 2.3.0 diff --git a/CHANGELOG.md b/CHANGELOG.md index 1515131..86336c1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ ## Master (unreleased) +- Drop support for MRI 2.0.x [#15](https://github.com/cookpad/expeditor/pull/15) - Deprecate Expeditor::Command#with_fallback. Use `set_fallback` instead [#14](https://github.com/cookpad/expeditor/pull/14) ## 0.4.0 diff --git a/README.md b/README.md index 9a3c3ad..977011d 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,8 @@ It is inspired by [Netflix/Hystrix](https://github.com/Netflix/Hystrix). ## Installation +Expeditor currently supports Ruby 2.1 and higher. + Add this line to your application's Gemfile: ```ruby diff --git a/expeditor.gemspec b/expeditor.gemspec index ff82677..00c88ef 100644 --- a/expeditor.gemspec +++ b/expeditor.gemspec @@ -19,6 +19,8 @@ Gem::Specification.new do |spec| spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ["lib"] + spec.required_ruby_version = '>= 2.0.0' + spec.add_runtime_dependency "concurrent-ruby", "~> 1.0.0" spec.add_runtime_dependency "concurrent-ruby-ext", "~> 1.0.0" spec.add_runtime_dependency "retryable", "> 1.0"