Skip to content

Commit

Permalink
add a post install message for removed dependency on redis and dalli
Browse files Browse the repository at this point in the history
  • Loading branch information
doits committed Oct 15, 2021
1 parent 65ba5c8 commit 21eb4d9
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions suo.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 21eb4d9

Please sign in to comment.