From ef4c80b0337070ac3e97d134b84513b7897c7ade Mon Sep 17 00:00:00 2001 From: crimson-knight Date: Sun, 22 Oct 2023 19:40:31 -0400 Subject: [PATCH] Added older version of thor for Ruby 2.2.3 support --- README.md | 2 +- fruit_juice.gemspec | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7fd8d28..6a6b07b 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ FruitJuice is a job enqueuing adapter for the [mosquito background job processor ## Requirements -Ruby 2.7+ +Ruby 2.2.3+ Mosquito 1.0.0.rc1+ Crystal 1.0.0+ Redis 4+ diff --git a/fruit_juice.gemspec b/fruit_juice.gemspec index b7e6ed1..b6355cd 100644 --- a/fruit_juice.gemspec +++ b/fruit_juice.gemspec @@ -32,6 +32,7 @@ Gem::Specification.new do |spec| spec.add_dependency "redis", ">= 4.3.0" else spec.add_dependency "redis", "4.2.0" + spec.add_dependency "thor", "1.2.2" end if RUBY_VERSION >= "2.3.0"