From 88b71d55bf2f95be81e9cbe6578e627e4ecb3111 Mon Sep 17 00:00:00 2001 From: Daniel Brockman Date: Thu, 26 May 2011 22:42:29 +0200 Subject: [PATCH] Explain hard dependencies on text-hyphen-1.0.0 and text-format-1.0.0. --- github.gemspec | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/github.gemspec b/github.gemspec index 4c9a5529..b1fb8f24 100644 --- a/github.gemspec +++ b/github.gemspec @@ -18,14 +18,17 @@ Gem::Specification.new do |s| s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } s.require_paths = ["lib"] - - s.add_dependency "text-hyphen", "1.0.0" - s.add_dependency "text-format", "1.0.0" + + # Need hard dependencies here for Ruby 1.9 compatibility. + # (See .) + s.add_dependency "text-hyphen", "= 1.0.0" + s.add_dependency "text-format", "= 1.0.0" + s.add_dependency "highline", "~> 1.5.1" s.add_dependency "json_pure", "~> 1.5.1" s.add_dependency "launchy", "~> 0.3.7" s.add_development_dependency "rake" - s.add_development_dependency "rspec", "~>1.3.1" - s.add_development_dependency "activerecord", "~>3.0.0" + s.add_development_dependency "rspec", "~> 1.3.1" + s.add_development_dependency "activerecord", "~> 3.0.0" end