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

27 commits

Author SHA1 Message Date
Eugene Kenny
342661f05e Use Ruby 2.2.9 on Travis again (#1552)
The test failures we saw after upgrading last time were caused by the
stopgap_13632 gem not being activated on the new version.
2018-04-02 08:03:19 -06:00
Vladimir Dementyev
42580133a8 Use Rubocop 0.50; fix SpaceBeforeBlockBraces layout (#1472) 2017-11-30 08:52:40 -07:00
MSP-Greg
7165775970 Combine PR's #1437, 44, & 63 (#1464) 2017-11-20 06:24:02 -07:00
Nate Berkopec
998882ed40
Apparently 2.2.8 did not get the thread interrupt queue backport 2017-11-16 15:54:16 -06:00
Nate Berkopec
f4ce5fe9ee Run integration tests in default (#1394)
* Run integration tests in default

* Add retry in CI

* Convert integration test to ruby script for Windows

* Attempt to add finicky tests back

* Possible kinda janky solution

* Only run master branch on travis (syntax fix)

* Don't do integration tests on windows

Can't be bothered to make those tests crossplatform

* Remove join timeouts on read, let the main test timeout do it

* Assert once

* Sigh.
2017-08-16 16:07:15 -06:00
Jun Aruga
e8866e5b29 Remove Hoe. (#1395) 2017-08-16 12:56:29 -06:00
Nikolay Vashchenko
a31a62656d Appveyor CI (#1374)
* appveyour config

* proper platforms for windows

* disabling tests with ssl and interrupts

* excessive ssl setup

* fixed message

* adding info in readme regarding stopgap_13632

* formatting

* trailing spaces
2017-07-27 12:18:58 -06:00
Nikolay Vashchenko
91416134cb temporary workaround for https://bugs.ruby-lang.org/issues/13632 (#1345)
* temporary workaround for https://bugs.ruby-lang.org/issues/13632
Purging interrupt queue if IOError was caught.

* fixing only if mri

* optimization to avoid redundant checks in empty queue

* scoping fix to only affected versions

* serving ruby version from mkmf

* safe invoking for the workaround

* switching to preprocessor vars

* purging queue on runtime error

* rubocop fix

* covering workaround

* improving names

* styling

* rubocop fixes

* improved test reporting

* wording

* condition

* improving comment

* bugfix moved to separate gem: https://rubygems.org/gems/stopgap_13632

* using stopgap_13632 in gemfile to fix the builds

* requiring stopgap for tests
2017-07-19 12:22:36 -06:00
Vladimir Dementyev
2cb2357d39 Let's use Rubocop! (#1325)
* Add limited rubocop config and TODO config

* Remove trailing whitespaces and blanklines

* Add rubocop rake task; upd travis.yml
2017-06-04 13:21:05 -07:00
Michael Grosser
2cb640e130 simplify stub gemspec and remove invalid dev dependencies ... allow running bundle exec puma locally (#1313) 2017-06-03 06:20:44 -07:00
Francesco Rodriguez
b638dd1948 Use Minitest instead of Test::Unit (#1152)
* Bump minitest version.

* Add basic test helper file.

* Use minitest for web server tests.

* Use Minitest for unix socket tests.

* Use Minitest for ThreadPool tests.

* Use Minitest for TCP-Rack tests

* Use Minitest for TCPLogger tests.

* Add missing helper to test helpers.

* Use Minitest for Rack server tests.

* Use Minitest for Rack handler tests.

* Use Minitest for Puma::Server tests.

* Use Minitest for Puma::Server with SSL tests.

* Use Minitest for persisten connections tests.

* Require puma in test_helper file.

* Use minitest for Puma::NullIO tests.

* Remove unnecessary requires on test files.

* Use Minitest for MiniSSL tests.

* Use Minitest for IOBuffer tests.

* Require bundler/setup in Rakefile.

* Use Minitest for HttpParser tests.

* Use Minitest for Puma::Configuration tests.

* Use Minitest for Puma::CLI tests.

* Bump Minitest version for Ruby 2.1 Gemfile.

* Use Minitest for integration tests.

* Use Minitest for Puma::App::Status tests.

* Remove test-unit from Gemfiles.

* Add timeout helper to Minitest::Test.

* Use Minitest for Puma::Binder tests.

* Remove testhelp file.

* Add missing require to Puma::Binder tests.

* Prefer require instead of require_relative.
2016-11-22 08:05:49 -07:00
Laurent Arnoud
607fad405b
Use https on source gemfile 2016-09-07 21:28:11 +02:00
Jun Aruga
dba2349d97 Support rack 2. 2016-09-01 13:55:55 +02:00
Evan Phoenix
2f7364f170 Update rack dependency to pass tests 2016-07-25 09:47:11 -07:00
Matt Larraz
7add9a5486 Use newest version of Minitest 2016-02-15 20:54:02 -06:00
Brian Shirai
b6000cffaa Remove rubysl from Gemfile.
Rubinius has not required adding rubysl to the Gemfile for over a year,
so if anyone has issues with this, they need to upgrade.
2015-07-31 12:50:06 -07:00
Evan Phoenix
9b15163f1f Use rack in the Gemfile for test running 2015-07-14 11:28:39 -07:00
Evan Phoenix
537bc21593 Remove rack dependency. Fixes #705
Because frameworks like rails dependent on rack, if puma truly wants to
be able to reload new code and thus new versions of rails, it has to be
able to reload rack as well.

Having a dependency on rack held by puma prevented that from happening
and so that dependency has been removed.
2015-07-14 10:28:59 -07:00
deepj
04fa377e0b Add test-unit like a dev dependancy gem since removing it in Ruby 2.2 2015-01-06 12:53:19 +01:00
Evan Phoenix
2532928ed9 Add ruby-head, fix allow_failures syntax, try to get rbx working 2014-01-25 13:31:26 -08:00
Evan Phoenix
6758e272fd Add hoe-ignore to Gemfile for testing 2013-07-06 13:49:43 -07:00
jc00ke
171889f1ba Add hoe-git so rake works again 2013-07-01 23:55:10 -07:00
Evan Phoenix
7aeab6698d Stick with minitest 4 for now 2013-06-17 23:13:50 -07:00
Evan Phoenix
7fbffe360f Add minitest to run the tests on 1.8 properly 2013-06-17 23:06:05 -07:00
Evan Phoenix
273bbe8201 add jruby-openssl for travis 2012-04-11 12:26:14 -07:00
Evan Phoenix
93e3499d60 Add rdoc and rake-compiler as gems 2011-10-22 23:17:29 -07:00
Evan Phoenix
a950900972 Add Gemfile with dev deps for travis 2011-10-22 23:12:04 -07:00