unicorn Ruby/Rack server user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
* [PATCH] gemspec: limit to 1.9.3 and 2.x
@ 2015-08-22  4:42 Eric Wong
  0 siblings, 0 replies; only message in thread
From: Eric Wong @ 2015-08-22  4:42 UTC (permalink / raw)
  To: unicorn-public

It does not look like we'll be compatible with Ruby 3.0 with
the plan for immutable string literals.

However, keep in mind 3.0 is still many years away and
decisions can change, so it would be premature to stop
assuming frozen string literals this year.

ref: https://bugs.ruby-lang.org/issues/11473
---
 unicorn.gemspec | 1 +
 1 file changed, 1 insertion(+)

diff --git a/unicorn.gemspec b/unicorn.gemspec
index 47d5670..23450f5 100644
--- a/unicorn.gemspec
+++ b/unicorn.gemspec
@@ -25,6 +25,7 @@ Gem::Specification.new do |s|
   s.files = manifest
   s.homepage = Olddoc.config['rdoc_url']
   s.test_files = test_files
+  s.required_ruby_version = [ '>= 1.9.3', '< 3.0' ]
 
   # for people that are absolutely stuck on Rails 2.3.2 and can't
   # up/downgrade to any other version, the Rack dependency may be
-- 
EW


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-08-22  4:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-22  4:42 [PATCH] gemspec: limit to 1.9.3 and 2.x Eric Wong

Code repositories for project(s) associated with this inbox:

	../../../unicorn.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).