about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--yahns.gemspec9
1 files changed, 7 insertions, 2 deletions
diff --git a/yahns.gemspec b/yahns.gemspec
index e9de2f6..da88685 100644
--- a/yahns.gemspec
+++ b/yahns.gemspec
@@ -15,8 +15,13 @@ Gem::Specification.new do |s|
   s.add_dependency(%q<sendfile>, '~> 1.2.1')
   s.add_dependency(%q<unicorn>, '~> 4.6.3')
 
-  # minitest is standard in Ruby 2.0
-  s.add_development_dependency(%q<minitest>, '~> 4.3', '~> 5.0')
+  # minitest is standard in Ruby 2.0, 4.3 is packaged with Ruby 2.0.0,
+  # 4.7.5 with 2.1.  We work with minitest 5, too.  6.x does not exist
+  # at the time of this writing.  We should always be compatible with
+  # minitest (or test-unit) library packaged with the latest official
+  # Matz Ruby release.
+  s.add_development_dependency(%q<minitest>, '>= 4.3', '< 6.0')
+
   s.homepage = "http://yahns.yhbt.net/README"
   s.licenses = "GPLv3+"
 end