1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00

Bump versions tested on TravisCI (#1566)

* Bump versions tested on TravisCI

* Remove apparently unused stuff

* Workaround for 2.5.1 Travis/Bundler issue

* Remove no longer needed workaround

* Jruby 9.1.17.0 is out!
This commit is contained in:
David Rodríguez 2018-05-09 15:28:12 -03:00 committed by Nate Berkopec
parent 825bf851f8
commit 2154d116c3
5 changed files with 11 additions and 13 deletions

View file

@ -5,7 +5,6 @@ AllCops:
StyleGuideCopsOnly: false
Exclude:
- 'tmp/**/*'
- 'gemfiles/vendor/**/*'
- 'vendor/**/*'
- 'Rakefile'

View file

@ -4,19 +4,18 @@ group: beta
language: ruby
cache: bundler
before_install:
# bundler installation needed for jruby-head
# https://github.com/travis-ci/travis-ci/issues/5861
- gem update --system
# https://github.com/travis-ci/travis-ci/issues/9383#issuecomment-377680108
- gem install bundler
branches:
only:
- "master"
rvm:
- 2.2.9
- 2.3.6
- 2.4.3
- 2.5.0
- 2.2.10
- 2.3.7
- 2.4.4
- 2.5.1
- ruby-head
- jruby-9.1.15.0
- jruby-9.1.17.0
- jruby-head
- rbx-3
matrix:

View file

@ -13,6 +13,6 @@ gem "jruby-openssl", :platform => "jruby"
gem "rubocop", "~> 0.50.0"
if %w(2.2.7 2.2.8 2.2.9 2.3.4 2.4.1).include? RUBY_VERSION
if %w(2.2.7 2.2.8 2.2.9 2.2.10 2.3.4 2.4.1).include? RUBY_VERSION
gem "stopgap_13632", "~> 1.0", :platforms => ["mri", "mingw", "x64_mingw"]
end

View file

@ -217,10 +217,10 @@ Some platforms do not support all Puma features.
## Known Bugs
For MRI versions 2.2.7, 2.2.8, 2.2.9, 2.3.4 and 2.4.1, you may see ```stream closed in another thread (IOError)```. It may be caused by a [Ruby bug](https://bugs.ruby-lang.org/issues/13632). It can be fixed with the gem https://rubygems.org/gems/stopgap_13632:
For MRI versions 2.2.7, 2.2.8, 2.2.9, 2.2.10 2.3.4 and 2.4.1, you may see ```stream closed in another thread (IOError)```. It may be caused by a [Ruby bug](https://bugs.ruby-lang.org/issues/13632). It can be fixed with the gem https://rubygems.org/gems/stopgap_13632:
```ruby
if %w(2.2.7 2.2.8 2.2.9 2.3.4 2.4.1).include? RUBY_VERSION
if %w(2.2.7 2.2.8 2.2.9 2.2.10 2.3.4 2.4.1).include? RUBY_VERSION
begin
require 'stopgap_13632'
rescue LoadError

View file

@ -1,7 +1,7 @@
# Copyright (c) 2011 Evan Phoenix
# Copyright (c) 2005 Zed A. Shaw
if %w(2.2.7 2.2.8 2.2.9 2.3.4 2.4.1).include? RUBY_VERSION
if %w(2.2.7 2.2.8 2.2.9 2.2.10 2.3.4 2.4.1).include? RUBY_VERSION
begin
require 'stopgap_13632'
rescue LoadError