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

36 commits

Author SHA1 Message Date
Pat Allan
b25dc5d128 Updates for frozen string literal compatibility. (#1376) 2017-08-02 19:02:40 -06:00
Michael Grosser
9d93a0f62f make test_helper no longer be loaded as a test (#1283)
running `rake` loads all files starting with `test_` which is not supposed to also load the helper,
since the helper should be loaded by each test and is not a test itself.
2017-05-12 12:16:55 -07:00
Michael Grosser
d25ef26465 warn when bundler fails and avoid having to use -I to run tests (#1270) 2017-04-11 14:48:11 -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
Jun Aruga
cc23d01c9b Improve required testhelp.rb path. 2016-09-21 10:39:40 +02:00
Jun Aruga
73bf56cf8b Modify a require path for testhelp to pass the test. 2016-09-02 13:00:01 +02:00
Evan Phoenix
806e46f72a Allow a bare % in a query string. Fixes #958 2016-04-22 17:06:18 -07:00
Evan Phoenix
865058cd07 Test how absolute URIs are parsed 2016-04-07 10:46:36 -07:00
Evan Phoenix
75fa5fd2fd Try to figure out why 2.2.0 isn't failing htis test 2015-06-10 13:13:28 -07:00
Arthur Neves
5fb649839e
Fix require testhelp
testhelp needs to be required without the prefix test/
2014-02-17 12:35:40 -05:00
Evan Phoenix
8b987eda4a Fix url path length test 2014-01-25 12:43:05 -08:00
Priyank Chodisetti
139690ecf9 Increase the max URI path length to 2048 chars from 1024 chars 2013-11-10 00:16:30 -08:00
Evan Phoenix
49d27f888f Fix integration test and cleanup 1.9.3 warnings 2011-12-07 14:48:41 -08:00
Evan Phoenix
5dc8182ec0 Cleanup cruft 2011-12-01 15:50:14 -08:00
Evan Phoenix
2a9ecc9d63 Fix test naming 2011-10-03 14:44:18 -07:00
Evan Phoenix
340d2fbf8e Remove HttpRequest via simplification 2011-09-23 23:26:13 -07:00
Evan Phoenix
f5ecd5dca6 More cleanup and removal 2011-09-23 20:46:33 -07:00
Evan Phoenix
190a81c55a Name change: Mongrel => Puma 2011-09-22 19:24:43 -07:00
Evan Phoenix
f748edfade Start cleanup and modernization 2011-09-15 13:23:36 -07:00
evanweaver
fab6173a05 use synchronous stop everywhere; clean up test helpers
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@705 19e92222-5c0b-0410-8929-a290d50e31e9
2007-10-20 23:15:19 +00:00
evanweaver
8a68f2e821 java setters are strewn all over the place
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@693 19e92222-5c0b-0410-8929-a290d50e31e9
2007-10-18 20:45:16 +00:00
evanweaver
e6336cdacf fix #14086
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@650 19e92222-5c0b-0410-8929-a290d50e31e9
2007-10-15 18:00:40 +00:00
zedshaw
9b5d2d7035 First changes for inclusion of the cgi multipart fix.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@361 19e92222-5c0b-0410-8929-a290d50e31e9
2006-10-24 22:52:21 +00:00
zedshaw
e58982f645 Added mongrel_cluster as officially part of mongrel.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@331 19e92222-5c0b-0410-8929-a290d50e31e9
2006-08-16 21:51:38 +00:00
zedshaw
3b5b4d0291 Regenerates the parser so the fix for non-spaced headers goes through, and adds a test to ensure it.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@318 19e92222-5c0b-0410-8929-a290d50e31e9
2006-08-12 22:00:11 +00:00
zedshaw
ddd5c9a46c Ruby license applied to all files
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@267 19e92222-5c0b-0410-8929-a290d50e31e9
2006-06-30 20:42:12 +00:00
zedshaw
7d0f10c242 Switched Mongrel to Ruby license.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@265 19e92222-5c0b-0410-8929-a290d50e31e9
2006-06-30 20:13:35 +00:00
zedshaw
a6d80703cb Refactor reaping dead threads. Slight change to license header to make it clearer.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@255 19e92222-5c0b-0410-8929-a290d50e31e9
2006-06-23 13:22:47 +00:00
zedshaw
f2754fd787 Improved tests increasing test coverage.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@210 19e92222-5c0b-0410-8929-a290d50e31e9
2006-05-23 12:46:05 +00:00
zedshaw
c45b6f077e LGPL preamble on all source files.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@203 19e92222-5c0b-0410-8929-a290d50e31e9
2006-05-21 14:46:42 +00:00
zedshaw
c6eaee2caa IO processing loop now processes HTTP requests without resetting the parser making things more efficient.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@180 19e92222-5c0b-0410-8929-a290d50e31e9
2006-05-14 23:42:19 +00:00
zedshaw
3c804d5e15 Several robustness improvements to protect mongrel against bad HTTP requests.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@138 19e92222-5c0b-0410-8929-a290d50e31e9
2006-04-03 02:27:59 +00:00
zedshaw
b5b3900abd Cleaned up the test suite so it spews less logging. Fixed up the debug access logging so it works.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@136 19e92222-5c0b-0410-8929-a290d50e31e9
2006-04-01 09:09:10 +00:00
zedshaw
6634d89019 Release that improves performance a bit on most platforms, but dramatically on freebsd.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@117 19e92222-5c0b-0410-8929-a290d50e31e9
2006-03-19 23:31:30 +00:00
zedshaw
6bcf6e6d94 Last and final attempt at improving the Ruby only speed of the IO processing. Future releases will replace Ruby code with C.
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@15 19e92222-5c0b-0410-8929-a290d50e31e9
2006-01-30 06:25:20 +00:00
zedshaw
004dec2c2f initial import into trunk
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@4 19e92222-5c0b-0410-8929-a290d50e31e9
2006-01-28 19:03:53 +00:00