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

8 commits

Author SHA1 Message Date
schneems
88e51fb08e Freeze all the strings!
Reduces runtime allocation by freezing string literals by default.

We could also remove a ton of manual `.freeze` calls, however the ruby supported version is 2.2 and the magic comment only targets 2.3+.
2018-09-17 11:41:14 -05:00
Evan Phoenix
d4a20376a5 Merge pull request #1081 from frodsan/fix-log-hijacking
Check if logger responds to `write`
2016-09-08 14:44:34 -07:00
Francesco Rodriguez
bf356d67cf Use same write log logic for hijacked requests.
Both methods will check if logger responds to write, before calling it.
2016-09-08 00:05:34 +02:00
Francesco Rodriguez
b7956b2016 Use string interpolation instead of plus. 2016-09-07 23:37:37 +02:00
Francesco Rodriguez
99a0298b4f Re-use defined constants. 2016-09-07 23:19:12 +02:00
Francesco Rodriguez
78833eb78a Remove unused constants on Puma::CommonLogger. 2016-09-07 23:12:26 +02:00
Evan Phoenix
5fdf337790 Move puma.rb to just autoloads. Fixes #1063 2016-09-05 11:29:16 -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