From 21eb4d986e8d6f4fc85fd39112ba0165ff1a3c99 Mon Sep 17 00:00:00 2001 From: Markus Doits Date: Fri, 15 Oct 2021 17:58:07 +0200 Subject: [PATCH] add a post install message for removed dependency on redis and dalli --- suo.gemspec | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/suo.gemspec b/suo.gemspec index fe42dea..c289990 100644 --- a/suo.gemspec +++ b/suo.gemspec @@ -28,4 +28,16 @@ Gem::Specification.new do |spec| spec.add_development_dependency "rubocop", "~> 0.49.0" spec.add_development_dependency "minitest", "~> 5.5.0" spec.add_development_dependency "codeclimate-test-reporter", "~> 0.4.7" + + spec.post_install_message = <<~MSG + 'dalli' and 'redis' are not a dependency of 'suo' anymore. + + Please make sure to add the gem you use to your gemfile. + + If you use `Suo::Client::Memcached`: + gem 'dalli' + + If you use `Suo::Client::Redis`: + gem 'redis' + MSG end