mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
4c85facff3
* Add frozen string literal everywhere it wasnt already * Enforce stopgap for tests * Small amount of integration test cleanup * Parallelize and freeze Test_app_status * Big cleanup for test_binder * Whitespace fix
25 lines
392 B
Ruby
25 lines
392 B
Ruby
# frozen_string_literal: true
|
|
|
|
# Standard libraries
|
|
require 'socket'
|
|
require 'tempfile'
|
|
require 'time'
|
|
require 'etc'
|
|
require 'uri'
|
|
require 'stringio'
|
|
|
|
require 'thread'
|
|
|
|
module Puma
|
|
autoload :Const, 'puma/const'
|
|
autoload :Server, 'puma/server'
|
|
autoload :Launcher, 'puma/launcher'
|
|
|
|
def self.stats_object=(val)
|
|
@get_stats = val
|
|
end
|
|
|
|
def self.stats
|
|
@get_stats.stats
|
|
end
|
|
end
|