1
0
mirror of https://github.com/meineerde/rackstash.git synced 2026-01-31 17:27:13 +00:00

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.
This commit is contained in:
Holger Just 2017-02-04 00:03:56 +01:00
parent 1f09b7b51f
commit 5abf10af2b

View File

@ -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'