From f8a260976417f14bb0de59ca3f6645813edb37b7 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 16 Dec 2014 22:54:55 +0000 Subject: make sendfile an optional dependency Not everybody needs to serve or even buffer to regular files, so make sendfile optional to avoid the extra memory use and relocations. --- yahns.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'yahns.gemspec') diff --git a/yahns.gemspec b/yahns.gemspec index db1d50e..120dc46 100644 --- a/yahns.gemspec +++ b/yahns.gemspec @@ -12,8 +12,8 @@ Gem::Specification.new do |s| s.files = manifest s.add_dependency(%q, '~> 2.9') s.add_dependency(%q, '~> 3.2') - s.add_dependency(%q, '~> 1.2') s.add_dependency(%q, '~> 4.6', '>= 4.6.3') + # s.add_dependency(%q, '~> 1.2') # optional # 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 -- cgit v1.2.3-24-ge0c7