From 5abf10af2b45bc1de3f9a83cf1fdc82d902404cb Mon Sep 17 00:00:00 2001 From: Holger Just Date: Sat, 4 Feb 2017 00:03:56 +0100 Subject: [PATCH] Add hard gem dependencies to concurrent-ruby and ref Generally, we try hard to avoid additional dependencies to external gems to keep us from having to maintain all these dependencies in the variety of environments where Rackstash is going to be used. We still decided to depend on two concurrent-ruby gems since they are 1. are of exceptional code quality 2. are well-maintained and with devs eager to maintain a stable and well-understood interface 3. provide very useful buolding-blocks for safe interoperations across thread-boundaries. The chosen versions are selected to be compatible with a wide range of external frameworks. --- rackstash.gemspec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rackstash.gemspec b/rackstash.gemspec index b612b03..42dc134 100644 --- a/rackstash.gemspec +++ b/rackstash.gemspec @@ -30,6 +30,9 @@ Gem::Specification.new do |spec| spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ['lib'] + spec.add_dependency 'concurrent-ruby', '~> 1.0', '>= 1.0.2' + spec.add_dependency 'ref', '~> 2.0' + spec.add_development_dependency 'bundler', '~> 1.12' spec.add_development_dependency 'rake', '~> 10.0' spec.add_development_dependency 'rspec', '~> 3.0'