Permalink
Browse files

more flexible dependency version constraints

This fixes an issue where a user first installs vmc, which installs
addressable 2.2.7 (its version constraint is ~> 2.2.6), and then installs
caldecott, which depends on 2.2.6. This sequence will cause caldecott to fail
to load in VMC.

Change-Id: Id22e846d8b407efac6ebc4f8f7fc442a531b4dd7
  • Loading branch information...
vito committed Feb 21, 2012
1 parent eaca032 commit e19f638143b50ab631d83a8ed9e5118de39a3fae
Showing with 11 additions and 11 deletions.
  1. +11 −11 caldecott.gemspec
View
@@ -14,18 +14,18 @@ spec = Gem::Specification.new do |s|
s.platform = Gem::Platform::RUBY
s.extra_rdoc_files = ["README.md", "LICENSE"]
- s.add_dependency "em-http-request", "= 0.3.0"
- s.add_dependency "em-websocket", "= 0.3.1"
- s.add_dependency "async_sinatra", "= 0.5.0"
- s.add_dependency "addressable", "= 2.2.6"
- s.add_dependency "json", "= 1.6.1"
- s.add_dependency "uuidtools", "= 2.1.2"
+ s.add_dependency "em-http-request", "~> 0.3.0"
+ s.add_dependency "em-websocket", "~> 0.3.1"
+ s.add_dependency "async_sinatra", "~> 0.5.0"
+ s.add_dependency "addressable", "~> 2.2.6"
+ s.add_dependency "json", "~> 1.6.1"
+ s.add_dependency "uuidtools", "~> 2.1.2"
- s.add_development_dependency "rake", "= 0.9.2"
- s.add_development_dependency "rcov", "= 0.9.10"
- s.add_development_dependency "rack-test", "= 0.6.1"
- s.add_development_dependency "rspec", "= 2.6.0"
- s.add_development_dependency "webmock", "= 1.7.6"
+ s.add_development_dependency "rake", "~> 0.9.2"
+ s.add_development_dependency "rcov", "~> 0.9.10"
+ s.add_development_dependency "rack-test", "~> 0.6.1"
+ s.add_development_dependency "rspec", "~> 2.6.0"
+ s.add_development_dependency "webmock", "~> 1.7.6"
s.require_path = 'lib'
s.files = %w(LICENSE README.md) + Dir.glob("{lib}/**/*")

0 comments on commit e19f638

Please sign in to comment.