From fda3a80f73c31975cd32cb45e6a0f1499b401a7e Mon Sep 17 00:00:00 2001 From: Jimmy Cuadra Date: Thu, 21 Jul 2016 20:19:46 -0700 Subject: [PATCH] Add upper bound for Rack so Lita will still work with Ruby < 2.2. --- lita.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lita.gemspec b/lita.gemspec index 868aa645..eb4a7653 100644 --- a/lita.gemspec +++ b/lita.gemspec @@ -27,7 +27,7 @@ Gem::Specification.new do |spec| spec.add_runtime_dependency "i18n", ">= 0.6.9" spec.add_runtime_dependency "lita-default-handlers" spec.add_runtime_dependency "puma", ">= 2.7.1" - spec.add_runtime_dependency "rack", ">= 1.5.2" + spec.add_runtime_dependency "rack", ">= 1.5.2", "< 2.0.0" spec.add_runtime_dependency "rb-readline", ">= 0.5.1" spec.add_runtime_dependency "redis-namespace", ">= 1.3.0" spec.add_runtime_dependency "thor", ">= 0.18.1"