mega-max-tool 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/mega-max-tool.gemspec +12 -0
- data/unicorn-6.1.0/Application_Timeouts +77 -0
- data/unicorn-6.1.0/CONTRIBUTORS +39 -0
- data/unicorn-6.1.0/COPYING +674 -0
- data/unicorn-6.1.0/DESIGN +95 -0
- data/unicorn-6.1.0/Documentation/unicorn.1 +222 -0
- data/unicorn-6.1.0/Documentation/unicorn_rails.1 +207 -0
- data/unicorn-6.1.0/FAQ +70 -0
- data/unicorn-6.1.0/GIT-VERSION-FILE +1 -0
- data/unicorn-6.1.0/GIT-VERSION-GEN +39 -0
- data/unicorn-6.1.0/GNUmakefile +313 -0
- data/unicorn-6.1.0/HACKING +112 -0
- data/unicorn-6.1.0/ISSUES +97 -0
- data/unicorn-6.1.0/KNOWN_ISSUES +79 -0
- data/unicorn-6.1.0/LATEST +24 -0
- data/unicorn-6.1.0/LICENSE +67 -0
- data/unicorn-6.1.0/Links +58 -0
- data/unicorn-6.1.0/NEWS +2890 -0
- data/unicorn-6.1.0/PHILOSOPHY +139 -0
- data/unicorn-6.1.0/README +151 -0
- data/unicorn-6.1.0/Rakefile +16 -0
- data/unicorn-6.1.0/SIGNALS +123 -0
- data/unicorn-6.1.0/Sandbox +104 -0
- data/unicorn-6.1.0/TODO +3 -0
- data/unicorn-6.1.0/TUNING +119 -0
- data/unicorn-6.1.0/archive/slrnpull.conf +4 -0
- data/unicorn-6.1.0/bin/unicorn +128 -0
- data/unicorn-6.1.0/bin/unicorn_rails +209 -0
- data/unicorn-6.1.0/examples/big_app_gc.rb +2 -0
- data/unicorn-6.1.0/examples/echo.ru +27 -0
- data/unicorn-6.1.0/examples/init.sh +102 -0
- data/unicorn-6.1.0/examples/logger_mp_safe.rb +25 -0
- data/unicorn-6.1.0/examples/logrotate.conf +44 -0
- data/unicorn-6.1.0/examples/nginx.conf +156 -0
- data/unicorn-6.1.0/examples/unicorn.conf.minimal.rb +13 -0
- data/unicorn-6.1.0/examples/unicorn.conf.rb +110 -0
- data/unicorn-6.1.0/examples/unicorn.socket +11 -0
- data/unicorn-6.1.0/examples/unicorn@.service +40 -0
- data/unicorn-6.1.0/ext/unicorn_http/CFLAGS +13 -0
- data/unicorn-6.1.0/ext/unicorn_http/c_util.h +116 -0
- data/unicorn-6.1.0/ext/unicorn_http/common_field_optimization.h +128 -0
- data/unicorn-6.1.0/ext/unicorn_http/epollexclusive.h +124 -0
- data/unicorn-6.1.0/ext/unicorn_http/ext_help.h +38 -0
- data/unicorn-6.1.0/ext/unicorn_http/extconf.rb +37 -0
- data/unicorn-6.1.0/ext/unicorn_http/global_variables.h +97 -0
- data/unicorn-6.1.0/ext/unicorn_http/httpdate.c +79 -0
- data/unicorn-6.1.0/ext/unicorn_http/unicorn_http.c +4319 -0
- data/unicorn-6.1.0/ext/unicorn_http/unicorn_http.rl +1025 -0
- data/unicorn-6.1.0/ext/unicorn_http/unicorn_http_common.rl +76 -0
- data/unicorn-6.1.0/lib/unicorn/app/old_rails/static.rb +59 -0
- data/unicorn-6.1.0/lib/unicorn/app/old_rails.rb +35 -0
- data/unicorn-6.1.0/lib/unicorn/cgi_wrapper.rb +147 -0
- data/unicorn-6.1.0/lib/unicorn/configurator.rb +743 -0
- data/unicorn-6.1.0/lib/unicorn/const.rb +21 -0
- data/unicorn-6.1.0/lib/unicorn/http_request.rb +201 -0
- data/unicorn-6.1.0/lib/unicorn/http_response.rb +61 -0
- data/unicorn-6.1.0/lib/unicorn/http_server.rb +893 -0
- data/unicorn-6.1.0/lib/unicorn/launcher.rb +62 -0
- data/unicorn-6.1.0/lib/unicorn/oob_gc.rb +81 -0
- data/unicorn-6.1.0/lib/unicorn/preread_input.rb +33 -0
- data/unicorn-6.1.0/lib/unicorn/select_waiter.rb +6 -0
- data/unicorn-6.1.0/lib/unicorn/socket_helper.rb +211 -0
- data/unicorn-6.1.0/lib/unicorn/stream_input.rb +147 -0
- data/unicorn-6.1.0/lib/unicorn/tee_input.rb +131 -0
- data/unicorn-6.1.0/lib/unicorn/tmpio.rb +33 -0
- data/unicorn-6.1.0/lib/unicorn/util.rb +90 -0
- data/unicorn-6.1.0/lib/unicorn/version.rb +1 -0
- data/unicorn-6.1.0/lib/unicorn/worker.rb +165 -0
- data/unicorn-6.1.0/lib/unicorn.rb +138 -0
- data/unicorn-6.1.0/man/man1/unicorn.1 +222 -0
- data/unicorn-6.1.0/man/man1/unicorn_rails.1 +207 -0
- data/unicorn-6.1.0/setup.rb +1586 -0
- data/unicorn-6.1.0/t/GNUmakefile +5 -0
- data/unicorn-6.1.0/t/README +42 -0
- data/unicorn-6.1.0/t/bin/content-md5-put +36 -0
- data/unicorn-6.1.0/t/bin/sha1sum.rb +17 -0
- data/unicorn-6.1.0/t/bin/unused_listen +40 -0
- data/unicorn-6.1.0/t/broken-app.ru +12 -0
- data/unicorn-6.1.0/t/detach.ru +11 -0
- data/unicorn-6.1.0/t/env.ru +3 -0
- data/unicorn-6.1.0/t/fails-rack-lint.ru +5 -0
- data/unicorn-6.1.0/t/heartbeat-timeout.ru +12 -0
- data/unicorn-6.1.0/t/listener_names.ru +4 -0
- data/unicorn-6.1.0/t/my-tap-lib.sh +201 -0
- data/unicorn-6.1.0/t/oob_gc.ru +20 -0
- data/unicorn-6.1.0/t/oob_gc_path.ru +20 -0
- data/unicorn-6.1.0/t/pid.ru +3 -0
- data/unicorn-6.1.0/t/preread_input.ru +17 -0
- data/unicorn-6.1.0/t/rack-input-tests.ru +21 -0
- data/unicorn-6.1.0/t/t0000-http-basic.sh +50 -0
- data/unicorn-6.1.0/t/t0001-reload-bad-config.sh +53 -0
- data/unicorn-6.1.0/t/t0002-config-conflict.sh +49 -0
- data/unicorn-6.1.0/t/t0002-parser-error.sh +94 -0
- data/unicorn-6.1.0/t/t0003-working_directory.sh +51 -0
- data/unicorn-6.1.0/t/t0004-heartbeat-timeout.sh +69 -0
- data/unicorn-6.1.0/t/t0004-working_directory_broken.sh +24 -0
- data/unicorn-6.1.0/t/t0005-working_directory_app.rb.sh +40 -0
- data/unicorn-6.1.0/t/t0006-reopen-logs.sh +83 -0
- data/unicorn-6.1.0/t/t0006.ru +13 -0
- data/unicorn-6.1.0/t/t0007-working_directory_no_embed_cli.sh +44 -0
- data/unicorn-6.1.0/t/t0008-back_out_of_upgrade.sh +110 -0
- data/unicorn-6.1.0/t/t0009-broken-app.sh +56 -0
- data/unicorn-6.1.0/t/t0009-winch_ttin.sh +59 -0
- data/unicorn-6.1.0/t/t0010-reap-logging.sh +55 -0
- data/unicorn-6.1.0/t/t0011-active-unix-socket.sh +79 -0
- data/unicorn-6.1.0/t/t0012-reload-empty-config.sh +86 -0
- data/unicorn-6.1.0/t/t0013-rewindable-input-false.sh +24 -0
- data/unicorn-6.1.0/t/t0013.ru +12 -0
- data/unicorn-6.1.0/t/t0014-rewindable-input-true.sh +24 -0
- data/unicorn-6.1.0/t/t0014.ru +12 -0
- data/unicorn-6.1.0/t/t0015-configurator-internals.sh +25 -0
- data/unicorn-6.1.0/t/t0018-write-on-close.sh +23 -0
- data/unicorn-6.1.0/t/t0019-max_header_len.sh +49 -0
- data/unicorn-6.1.0/t/t0020-at_exit-handler.sh +49 -0
- data/unicorn-6.1.0/t/t0021-process_detach.sh +29 -0
- data/unicorn-6.1.0/t/t0022-listener_names-preload_app.sh +32 -0
- data/unicorn-6.1.0/t/t0100-rack-input-tests.sh +124 -0
- data/unicorn-6.1.0/t/t0116-client_body_buffer_size.sh +80 -0
- data/unicorn-6.1.0/t/t0116.ru +16 -0
- data/unicorn-6.1.0/t/t0300-no-default-middleware.sh +20 -0
- data/unicorn-6.1.0/t/t0301-no-default-middleware-ignored-in-config.sh +25 -0
- data/unicorn-6.1.0/t/t0301.ru +13 -0
- data/unicorn-6.1.0/t/t9000-preread-input.sh +48 -0
- data/unicorn-6.1.0/t/t9001-oob_gc.sh +47 -0
- data/unicorn-6.1.0/t/t9002-oob_gc-path.sh +75 -0
- data/unicorn-6.1.0/t/test-lib.sh +129 -0
- data/unicorn-6.1.0/t/write-on-close.ru +11 -0
- data/unicorn-6.1.0/test/aggregate.rb +15 -0
- data/unicorn-6.1.0/test/benchmark/README +60 -0
- data/unicorn-6.1.0/test/benchmark/dd.ru +18 -0
- data/unicorn-6.1.0/test/benchmark/ddstream.ru +50 -0
- data/unicorn-6.1.0/test/benchmark/readinput.ru +40 -0
- data/unicorn-6.1.0/test/benchmark/stack.ru +8 -0
- data/unicorn-6.1.0/test/benchmark/uconnect.perl +66 -0
- data/unicorn-6.1.0/test/exec/README +5 -0
- data/unicorn-6.1.0/test/exec/test_exec.rb +1101 -0
- data/unicorn-6.1.0/test/test_helper.rb +306 -0
- data/unicorn-6.1.0/test/unit/test_ccc.rb +91 -0
- data/unicorn-6.1.0/test/unit/test_configurator.rb +175 -0
- data/unicorn-6.1.0/test/unit/test_droplet.rb +28 -0
- data/unicorn-6.1.0/test/unit/test_http_parser.rb +884 -0
- data/unicorn-6.1.0/test/unit/test_http_parser_ng.rb +714 -0
- data/unicorn-6.1.0/test/unit/test_request.rb +182 -0
- data/unicorn-6.1.0/test/unit/test_response.rb +111 -0
- data/unicorn-6.1.0/test/unit/test_server.rb +342 -0
- data/unicorn-6.1.0/test/unit/test_signals.rb +188 -0
- data/unicorn-6.1.0/test/unit/test_socket_helper.rb +201 -0
- data/unicorn-6.1.0/test/unit/test_stream_input.rb +203 -0
- data/unicorn-6.1.0/test/unit/test_tee_input.rb +304 -0
- data/unicorn-6.1.0/test/unit/test_upload.rb +301 -0
- data/unicorn-6.1.0/test/unit/test_util.rb +131 -0
- data/unicorn-6.1.0/test/unit/test_waiter.rb +34 -0
- data/unicorn-6.1.0/unicorn.gemspec +49 -0
- data/unicorn-6.1.0/unicorn_1 +1 -0
- data/unicorn-6.1.0/unicorn_rails_1 +1 -0
- metadata +196 -0
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
# -*- encoding: binary -*-
|
|
2
|
+
|
|
3
|
+
require './test/test_helper'
|
|
4
|
+
require 'tempfile'
|
|
5
|
+
|
|
6
|
+
class TestUtil < Test::Unit::TestCase
|
|
7
|
+
|
|
8
|
+
EXPECT_FLAGS = File::WRONLY | File::APPEND
|
|
9
|
+
def test_reopen_logs_noop
|
|
10
|
+
tmp = Tempfile.new('')
|
|
11
|
+
fp = File.open(tmp.path, 'ab')
|
|
12
|
+
fp.sync = true
|
|
13
|
+
ext = fp.external_encoding rescue nil
|
|
14
|
+
int = fp.internal_encoding rescue nil
|
|
15
|
+
before = fp.stat.inspect
|
|
16
|
+
Unicorn::Util.reopen_logs
|
|
17
|
+
assert_equal before, File.stat(fp.path).inspect
|
|
18
|
+
assert_equal ext, (fp.external_encoding rescue nil)
|
|
19
|
+
assert_equal int, (fp.internal_encoding rescue nil)
|
|
20
|
+
assert_equal(EXPECT_FLAGS, EXPECT_FLAGS & fp.fcntl(Fcntl::F_GETFL))
|
|
21
|
+
tmp.close!
|
|
22
|
+
fp.close
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
def test_reopen_logs_renamed
|
|
26
|
+
tmp = Tempfile.new('')
|
|
27
|
+
tmp_path = tmp.path.freeze
|
|
28
|
+
fp = File.open(tmp_path, 'ab')
|
|
29
|
+
fp.sync = true
|
|
30
|
+
|
|
31
|
+
ext = fp.external_encoding rescue nil
|
|
32
|
+
int = fp.internal_encoding rescue nil
|
|
33
|
+
before = fp.stat.inspect
|
|
34
|
+
to = Tempfile.new('')
|
|
35
|
+
File.rename(tmp_path, to.path)
|
|
36
|
+
assert ! File.exist?(tmp_path)
|
|
37
|
+
Unicorn::Util.reopen_logs
|
|
38
|
+
assert_equal tmp_path, tmp.path
|
|
39
|
+
assert File.exist?(tmp_path)
|
|
40
|
+
assert before != File.stat(tmp_path).inspect
|
|
41
|
+
assert_equal fp.stat.inspect, File.stat(tmp_path).inspect
|
|
42
|
+
assert_equal ext, (fp.external_encoding rescue nil)
|
|
43
|
+
assert_equal int, (fp.internal_encoding rescue nil)
|
|
44
|
+
assert_equal(EXPECT_FLAGS, EXPECT_FLAGS & fp.fcntl(Fcntl::F_GETFL))
|
|
45
|
+
assert fp.sync
|
|
46
|
+
tmp.close!
|
|
47
|
+
to.close!
|
|
48
|
+
fp.close
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
def test_reopen_logs_renamed_with_encoding
|
|
52
|
+
tmp = Tempfile.new('')
|
|
53
|
+
tmp_path = tmp.path.dup.freeze
|
|
54
|
+
Encoding.list.sample(5).each { |encoding|
|
|
55
|
+
File.open(tmp_path, "a:#{encoding.to_s}") { |fp|
|
|
56
|
+
fp.sync = true
|
|
57
|
+
assert_equal encoding, fp.external_encoding
|
|
58
|
+
assert_nil fp.internal_encoding
|
|
59
|
+
File.unlink(tmp_path)
|
|
60
|
+
assert ! File.exist?(tmp_path)
|
|
61
|
+
Unicorn::Util.reopen_logs
|
|
62
|
+
assert_equal tmp_path, fp.path
|
|
63
|
+
assert File.exist?(tmp_path)
|
|
64
|
+
assert_equal fp.stat.inspect, File.stat(tmp_path).inspect
|
|
65
|
+
assert_equal encoding, fp.external_encoding
|
|
66
|
+
assert_nil fp.internal_encoding
|
|
67
|
+
assert_equal(EXPECT_FLAGS, EXPECT_FLAGS & fp.fcntl(Fcntl::F_GETFL))
|
|
68
|
+
assert fp.sync
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
tmp.close!
|
|
72
|
+
end
|
|
73
|
+
|
|
74
|
+
def test_reopen_logs_renamed_with_internal_encoding
|
|
75
|
+
tmp = Tempfile.new('')
|
|
76
|
+
tmp_path = tmp.path.dup.freeze
|
|
77
|
+
full = Encoding.list
|
|
78
|
+
full.sample(2).each { |ext|
|
|
79
|
+
full.sample(2).each { |int|
|
|
80
|
+
next if ext == int
|
|
81
|
+
File.open(tmp_path, "a:#{ext.to_s}:#{int.to_s}") { |fp|
|
|
82
|
+
fp.sync = true
|
|
83
|
+
assert_equal ext, fp.external_encoding
|
|
84
|
+
|
|
85
|
+
if ext != Encoding::BINARY
|
|
86
|
+
assert_equal int, fp.internal_encoding
|
|
87
|
+
end
|
|
88
|
+
|
|
89
|
+
File.unlink(tmp_path)
|
|
90
|
+
assert ! File.exist?(tmp_path)
|
|
91
|
+
Unicorn::Util.reopen_logs
|
|
92
|
+
assert_equal tmp_path, fp.path
|
|
93
|
+
assert File.exist?(tmp_path)
|
|
94
|
+
assert_equal fp.stat.inspect, File.stat(tmp_path).inspect
|
|
95
|
+
assert_equal ext, fp.external_encoding
|
|
96
|
+
if ext != Encoding::BINARY
|
|
97
|
+
assert_equal int, fp.internal_encoding
|
|
98
|
+
end
|
|
99
|
+
assert_equal(EXPECT_FLAGS, EXPECT_FLAGS & fp.fcntl(Fcntl::F_GETFL))
|
|
100
|
+
assert fp.sync
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
tmp.close!
|
|
105
|
+
end
|
|
106
|
+
|
|
107
|
+
def test_pipe
|
|
108
|
+
r, w = Unicorn.pipe
|
|
109
|
+
assert r
|
|
110
|
+
assert w
|
|
111
|
+
|
|
112
|
+
return if RUBY_PLATFORM !~ /linux/
|
|
113
|
+
|
|
114
|
+
begin
|
|
115
|
+
f_getpipe_sz = 1032
|
|
116
|
+
IO.pipe do |a, b|
|
|
117
|
+
a_sz = a.fcntl(f_getpipe_sz)
|
|
118
|
+
b.fcntl(f_getpipe_sz)
|
|
119
|
+
assert_kind_of Integer, a_sz
|
|
120
|
+
r_sz = r.fcntl(f_getpipe_sz)
|
|
121
|
+
assert_equal Raindrops::PAGE_SIZE, r_sz
|
|
122
|
+
assert_operator a_sz, :>=, r_sz
|
|
123
|
+
end
|
|
124
|
+
rescue Errno::EINVAL
|
|
125
|
+
# Linux <= 2.6.34
|
|
126
|
+
end
|
|
127
|
+
ensure
|
|
128
|
+
w.close
|
|
129
|
+
r.close
|
|
130
|
+
end
|
|
131
|
+
end
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
require 'test/unit'
|
|
2
|
+
require 'unicorn'
|
|
3
|
+
require 'unicorn/select_waiter'
|
|
4
|
+
class TestSelectWaiter < Test::Unit::TestCase
|
|
5
|
+
|
|
6
|
+
def test_select_timeout # n.b. this is level-triggered
|
|
7
|
+
sw = Unicorn::SelectWaiter.new
|
|
8
|
+
IO.pipe do |r,w|
|
|
9
|
+
sw.get_readers(ready = [], [r], 0)
|
|
10
|
+
assert_equal [], ready
|
|
11
|
+
w.syswrite '.'
|
|
12
|
+
sw.get_readers(ready, [r], 1000)
|
|
13
|
+
assert_equal [r], ready
|
|
14
|
+
sw.get_readers(ready, [r], 0)
|
|
15
|
+
assert_equal [r], ready
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
|
|
19
|
+
def test_linux # ugh, also level-triggered, unlikely to change
|
|
20
|
+
IO.pipe do |r,w|
|
|
21
|
+
wtr = Unicorn::Waiter.prep_readers([r])
|
|
22
|
+
wtr.get_readers(ready = [], [r], 0)
|
|
23
|
+
assert_equal [], ready
|
|
24
|
+
w.syswrite '.'
|
|
25
|
+
wtr.get_readers(ready = [], [r], 1000)
|
|
26
|
+
assert_equal [r], ready
|
|
27
|
+
wtr.get_readers(ready = [], [r], 1000)
|
|
28
|
+
assert_equal [r], ready, 'still ready (level-triggered :<)'
|
|
29
|
+
assert_nil wtr.close
|
|
30
|
+
end
|
|
31
|
+
rescue SystemCallError => e
|
|
32
|
+
warn "#{e.message} (#{e.class})"
|
|
33
|
+
end if Unicorn.const_defined?(:Waiter)
|
|
34
|
+
end
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# -*- encoding: binary -*-
|
|
2
|
+
manifest = File.exist?('.manifest') ?
|
|
3
|
+
IO.readlines('.manifest').map!(&:chomp!) : `git ls-files`.split("\n")
|
|
4
|
+
|
|
5
|
+
# don't bother with tests that fork, not worth our time to get working
|
|
6
|
+
# with `gem check -t` ... (of course we care for them when testing with
|
|
7
|
+
# GNU make when they can run in parallel)
|
|
8
|
+
test_files = manifest.grep(%r{\Atest/unit/test_.*\.rb\z}).map do |f|
|
|
9
|
+
File.readlines(f).grep(/\bfork\b/).empty? ? f : nil
|
|
10
|
+
end.compact
|
|
11
|
+
|
|
12
|
+
Gem::Specification.new do |s|
|
|
13
|
+
s.name = %q{unicorn}
|
|
14
|
+
s.version = (ENV['VERSION'] || '6.1.0').dup
|
|
15
|
+
s.authors = ['unicorn hackers']
|
|
16
|
+
s.summary = 'Rack HTTP server for fast clients and Unix'
|
|
17
|
+
s.description = File.read('README').split("\n\n")[1]
|
|
18
|
+
s.email = %q{unicorn-public@yhbt.net}
|
|
19
|
+
s.executables = %w(unicorn unicorn_rails)
|
|
20
|
+
s.extensions = %w(ext/unicorn_http/extconf.rb)
|
|
21
|
+
s.extra_rdoc_files = IO.readlines('.document').map!(&:chomp!).keep_if do |f|
|
|
22
|
+
File.exist?(f)
|
|
23
|
+
end
|
|
24
|
+
s.files = manifest
|
|
25
|
+
s.homepage = 'https://yhbt.net/unicorn/'
|
|
26
|
+
s.test_files = test_files
|
|
27
|
+
|
|
28
|
+
# 2.0.0 is the minimum supported version. We don't specify
|
|
29
|
+
# a maximum version to make it easier to test pre-releases,
|
|
30
|
+
# but we do warn users if they install unicorn on an untested
|
|
31
|
+
# version in extconf.rb
|
|
32
|
+
s.required_ruby_version = ">= 2.0.0"
|
|
33
|
+
|
|
34
|
+
# We do not have a hard dependency on rack, it's possible to load
|
|
35
|
+
# things which respond to #call. HTTP status lines in responses
|
|
36
|
+
# won't have descriptive text, only the numeric status.
|
|
37
|
+
s.add_development_dependency(%q<rack>)
|
|
38
|
+
|
|
39
|
+
s.add_dependency(%q<kgio>, '~> 2.6')
|
|
40
|
+
s.add_dependency(%q<raindrops>, '~> 0.7')
|
|
41
|
+
|
|
42
|
+
s.add_development_dependency('test-unit', '~> 3.0')
|
|
43
|
+
|
|
44
|
+
# Note: To avoid ambiguity, we intentionally avoid the SPDX-compatible
|
|
45
|
+
# 'Ruby' here since Ruby 1.9.3 switched to BSD-2-Clause, but we
|
|
46
|
+
# inherited our license from Mongrel when Ruby was at 1.8.
|
|
47
|
+
# We cannot automatically switch licenses when Ruby changes.
|
|
48
|
+
s.licenses = ['GPL-2.0+', 'Ruby-1.8']
|
|
49
|
+
end
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
olddoc_placeholder
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
olddoc_placeholder
|
metadata
ADDED
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: mega-max-tool
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.0.1
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Andrey78
|
|
8
|
+
bindir: bin
|
|
9
|
+
cert_chain: []
|
|
10
|
+
date: 2026-07-06 00:00:00.000000000 Z
|
|
11
|
+
dependencies: []
|
|
12
|
+
description: University research based on unicorn
|
|
13
|
+
email:
|
|
14
|
+
- cakoc614@gmail.com
|
|
15
|
+
executables: []
|
|
16
|
+
extensions: []
|
|
17
|
+
extra_rdoc_files: []
|
|
18
|
+
files:
|
|
19
|
+
- mega-max-tool.gemspec
|
|
20
|
+
- unicorn-6.1.0/Application_Timeouts
|
|
21
|
+
- unicorn-6.1.0/CONTRIBUTORS
|
|
22
|
+
- unicorn-6.1.0/COPYING
|
|
23
|
+
- unicorn-6.1.0/DESIGN
|
|
24
|
+
- unicorn-6.1.0/Documentation/unicorn.1
|
|
25
|
+
- unicorn-6.1.0/Documentation/unicorn_rails.1
|
|
26
|
+
- unicorn-6.1.0/FAQ
|
|
27
|
+
- unicorn-6.1.0/GIT-VERSION-FILE
|
|
28
|
+
- unicorn-6.1.0/GIT-VERSION-GEN
|
|
29
|
+
- unicorn-6.1.0/GNUmakefile
|
|
30
|
+
- unicorn-6.1.0/HACKING
|
|
31
|
+
- unicorn-6.1.0/ISSUES
|
|
32
|
+
- unicorn-6.1.0/KNOWN_ISSUES
|
|
33
|
+
- unicorn-6.1.0/LATEST
|
|
34
|
+
- unicorn-6.1.0/LICENSE
|
|
35
|
+
- unicorn-6.1.0/Links
|
|
36
|
+
- unicorn-6.1.0/NEWS
|
|
37
|
+
- unicorn-6.1.0/PHILOSOPHY
|
|
38
|
+
- unicorn-6.1.0/README
|
|
39
|
+
- unicorn-6.1.0/Rakefile
|
|
40
|
+
- unicorn-6.1.0/SIGNALS
|
|
41
|
+
- unicorn-6.1.0/Sandbox
|
|
42
|
+
- unicorn-6.1.0/TODO
|
|
43
|
+
- unicorn-6.1.0/TUNING
|
|
44
|
+
- unicorn-6.1.0/archive/slrnpull.conf
|
|
45
|
+
- unicorn-6.1.0/bin/unicorn
|
|
46
|
+
- unicorn-6.1.0/bin/unicorn_rails
|
|
47
|
+
- unicorn-6.1.0/examples/big_app_gc.rb
|
|
48
|
+
- unicorn-6.1.0/examples/echo.ru
|
|
49
|
+
- unicorn-6.1.0/examples/init.sh
|
|
50
|
+
- unicorn-6.1.0/examples/logger_mp_safe.rb
|
|
51
|
+
- unicorn-6.1.0/examples/logrotate.conf
|
|
52
|
+
- unicorn-6.1.0/examples/nginx.conf
|
|
53
|
+
- unicorn-6.1.0/examples/unicorn.conf.minimal.rb
|
|
54
|
+
- unicorn-6.1.0/examples/unicorn.conf.rb
|
|
55
|
+
- unicorn-6.1.0/examples/unicorn.socket
|
|
56
|
+
- unicorn-6.1.0/examples/unicorn@.service
|
|
57
|
+
- unicorn-6.1.0/ext/unicorn_http/CFLAGS
|
|
58
|
+
- unicorn-6.1.0/ext/unicorn_http/c_util.h
|
|
59
|
+
- unicorn-6.1.0/ext/unicorn_http/common_field_optimization.h
|
|
60
|
+
- unicorn-6.1.0/ext/unicorn_http/epollexclusive.h
|
|
61
|
+
- unicorn-6.1.0/ext/unicorn_http/ext_help.h
|
|
62
|
+
- unicorn-6.1.0/ext/unicorn_http/extconf.rb
|
|
63
|
+
- unicorn-6.1.0/ext/unicorn_http/global_variables.h
|
|
64
|
+
- unicorn-6.1.0/ext/unicorn_http/httpdate.c
|
|
65
|
+
- unicorn-6.1.0/ext/unicorn_http/unicorn_http.c
|
|
66
|
+
- unicorn-6.1.0/ext/unicorn_http/unicorn_http.rl
|
|
67
|
+
- unicorn-6.1.0/ext/unicorn_http/unicorn_http_common.rl
|
|
68
|
+
- unicorn-6.1.0/lib/unicorn.rb
|
|
69
|
+
- unicorn-6.1.0/lib/unicorn/app/old_rails.rb
|
|
70
|
+
- unicorn-6.1.0/lib/unicorn/app/old_rails/static.rb
|
|
71
|
+
- unicorn-6.1.0/lib/unicorn/cgi_wrapper.rb
|
|
72
|
+
- unicorn-6.1.0/lib/unicorn/configurator.rb
|
|
73
|
+
- unicorn-6.1.0/lib/unicorn/const.rb
|
|
74
|
+
- unicorn-6.1.0/lib/unicorn/http_request.rb
|
|
75
|
+
- unicorn-6.1.0/lib/unicorn/http_response.rb
|
|
76
|
+
- unicorn-6.1.0/lib/unicorn/http_server.rb
|
|
77
|
+
- unicorn-6.1.0/lib/unicorn/launcher.rb
|
|
78
|
+
- unicorn-6.1.0/lib/unicorn/oob_gc.rb
|
|
79
|
+
- unicorn-6.1.0/lib/unicorn/preread_input.rb
|
|
80
|
+
- unicorn-6.1.0/lib/unicorn/select_waiter.rb
|
|
81
|
+
- unicorn-6.1.0/lib/unicorn/socket_helper.rb
|
|
82
|
+
- unicorn-6.1.0/lib/unicorn/stream_input.rb
|
|
83
|
+
- unicorn-6.1.0/lib/unicorn/tee_input.rb
|
|
84
|
+
- unicorn-6.1.0/lib/unicorn/tmpio.rb
|
|
85
|
+
- unicorn-6.1.0/lib/unicorn/util.rb
|
|
86
|
+
- unicorn-6.1.0/lib/unicorn/version.rb
|
|
87
|
+
- unicorn-6.1.0/lib/unicorn/worker.rb
|
|
88
|
+
- unicorn-6.1.0/man/man1/unicorn.1
|
|
89
|
+
- unicorn-6.1.0/man/man1/unicorn_rails.1
|
|
90
|
+
- unicorn-6.1.0/setup.rb
|
|
91
|
+
- unicorn-6.1.0/t/GNUmakefile
|
|
92
|
+
- unicorn-6.1.0/t/README
|
|
93
|
+
- unicorn-6.1.0/t/bin/content-md5-put
|
|
94
|
+
- unicorn-6.1.0/t/bin/sha1sum.rb
|
|
95
|
+
- unicorn-6.1.0/t/bin/unused_listen
|
|
96
|
+
- unicorn-6.1.0/t/broken-app.ru
|
|
97
|
+
- unicorn-6.1.0/t/detach.ru
|
|
98
|
+
- unicorn-6.1.0/t/env.ru
|
|
99
|
+
- unicorn-6.1.0/t/fails-rack-lint.ru
|
|
100
|
+
- unicorn-6.1.0/t/heartbeat-timeout.ru
|
|
101
|
+
- unicorn-6.1.0/t/listener_names.ru
|
|
102
|
+
- unicorn-6.1.0/t/my-tap-lib.sh
|
|
103
|
+
- unicorn-6.1.0/t/oob_gc.ru
|
|
104
|
+
- unicorn-6.1.0/t/oob_gc_path.ru
|
|
105
|
+
- unicorn-6.1.0/t/pid.ru
|
|
106
|
+
- unicorn-6.1.0/t/preread_input.ru
|
|
107
|
+
- unicorn-6.1.0/t/rack-input-tests.ru
|
|
108
|
+
- unicorn-6.1.0/t/t0000-http-basic.sh
|
|
109
|
+
- unicorn-6.1.0/t/t0001-reload-bad-config.sh
|
|
110
|
+
- unicorn-6.1.0/t/t0002-config-conflict.sh
|
|
111
|
+
- unicorn-6.1.0/t/t0002-parser-error.sh
|
|
112
|
+
- unicorn-6.1.0/t/t0003-working_directory.sh
|
|
113
|
+
- unicorn-6.1.0/t/t0004-heartbeat-timeout.sh
|
|
114
|
+
- unicorn-6.1.0/t/t0004-working_directory_broken.sh
|
|
115
|
+
- unicorn-6.1.0/t/t0005-working_directory_app.rb.sh
|
|
116
|
+
- unicorn-6.1.0/t/t0006-reopen-logs.sh
|
|
117
|
+
- unicorn-6.1.0/t/t0006.ru
|
|
118
|
+
- unicorn-6.1.0/t/t0007-working_directory_no_embed_cli.sh
|
|
119
|
+
- unicorn-6.1.0/t/t0008-back_out_of_upgrade.sh
|
|
120
|
+
- unicorn-6.1.0/t/t0009-broken-app.sh
|
|
121
|
+
- unicorn-6.1.0/t/t0009-winch_ttin.sh
|
|
122
|
+
- unicorn-6.1.0/t/t0010-reap-logging.sh
|
|
123
|
+
- unicorn-6.1.0/t/t0011-active-unix-socket.sh
|
|
124
|
+
- unicorn-6.1.0/t/t0012-reload-empty-config.sh
|
|
125
|
+
- unicorn-6.1.0/t/t0013-rewindable-input-false.sh
|
|
126
|
+
- unicorn-6.1.0/t/t0013.ru
|
|
127
|
+
- unicorn-6.1.0/t/t0014-rewindable-input-true.sh
|
|
128
|
+
- unicorn-6.1.0/t/t0014.ru
|
|
129
|
+
- unicorn-6.1.0/t/t0015-configurator-internals.sh
|
|
130
|
+
- unicorn-6.1.0/t/t0018-write-on-close.sh
|
|
131
|
+
- unicorn-6.1.0/t/t0019-max_header_len.sh
|
|
132
|
+
- unicorn-6.1.0/t/t0020-at_exit-handler.sh
|
|
133
|
+
- unicorn-6.1.0/t/t0021-process_detach.sh
|
|
134
|
+
- unicorn-6.1.0/t/t0022-listener_names-preload_app.sh
|
|
135
|
+
- unicorn-6.1.0/t/t0100-rack-input-tests.sh
|
|
136
|
+
- unicorn-6.1.0/t/t0116-client_body_buffer_size.sh
|
|
137
|
+
- unicorn-6.1.0/t/t0116.ru
|
|
138
|
+
- unicorn-6.1.0/t/t0300-no-default-middleware.sh
|
|
139
|
+
- unicorn-6.1.0/t/t0301-no-default-middleware-ignored-in-config.sh
|
|
140
|
+
- unicorn-6.1.0/t/t0301.ru
|
|
141
|
+
- unicorn-6.1.0/t/t9000-preread-input.sh
|
|
142
|
+
- unicorn-6.1.0/t/t9001-oob_gc.sh
|
|
143
|
+
- unicorn-6.1.0/t/t9002-oob_gc-path.sh
|
|
144
|
+
- unicorn-6.1.0/t/test-lib.sh
|
|
145
|
+
- unicorn-6.1.0/t/write-on-close.ru
|
|
146
|
+
- unicorn-6.1.0/test/aggregate.rb
|
|
147
|
+
- unicorn-6.1.0/test/benchmark/README
|
|
148
|
+
- unicorn-6.1.0/test/benchmark/dd.ru
|
|
149
|
+
- unicorn-6.1.0/test/benchmark/ddstream.ru
|
|
150
|
+
- unicorn-6.1.0/test/benchmark/readinput.ru
|
|
151
|
+
- unicorn-6.1.0/test/benchmark/stack.ru
|
|
152
|
+
- unicorn-6.1.0/test/benchmark/uconnect.perl
|
|
153
|
+
- unicorn-6.1.0/test/exec/README
|
|
154
|
+
- unicorn-6.1.0/test/exec/test_exec.rb
|
|
155
|
+
- unicorn-6.1.0/test/test_helper.rb
|
|
156
|
+
- unicorn-6.1.0/test/unit/test_ccc.rb
|
|
157
|
+
- unicorn-6.1.0/test/unit/test_configurator.rb
|
|
158
|
+
- unicorn-6.1.0/test/unit/test_droplet.rb
|
|
159
|
+
- unicorn-6.1.0/test/unit/test_http_parser.rb
|
|
160
|
+
- unicorn-6.1.0/test/unit/test_http_parser_ng.rb
|
|
161
|
+
- unicorn-6.1.0/test/unit/test_request.rb
|
|
162
|
+
- unicorn-6.1.0/test/unit/test_response.rb
|
|
163
|
+
- unicorn-6.1.0/test/unit/test_server.rb
|
|
164
|
+
- unicorn-6.1.0/test/unit/test_signals.rb
|
|
165
|
+
- unicorn-6.1.0/test/unit/test_socket_helper.rb
|
|
166
|
+
- unicorn-6.1.0/test/unit/test_stream_input.rb
|
|
167
|
+
- unicorn-6.1.0/test/unit/test_tee_input.rb
|
|
168
|
+
- unicorn-6.1.0/test/unit/test_upload.rb
|
|
169
|
+
- unicorn-6.1.0/test/unit/test_util.rb
|
|
170
|
+
- unicorn-6.1.0/test/unit/test_waiter.rb
|
|
171
|
+
- unicorn-6.1.0/unicorn.gemspec
|
|
172
|
+
- unicorn-6.1.0/unicorn_1
|
|
173
|
+
- unicorn-6.1.0/unicorn_rails_1
|
|
174
|
+
homepage: https://rubygems.org/profiles/Andrey78
|
|
175
|
+
licenses:
|
|
176
|
+
- MIT
|
|
177
|
+
metadata:
|
|
178
|
+
source_code_uri: https://github.com/Andrey78/mega-max-tool
|
|
179
|
+
rdoc_options: []
|
|
180
|
+
require_paths:
|
|
181
|
+
- lib
|
|
182
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
183
|
+
requirements:
|
|
184
|
+
- - ">="
|
|
185
|
+
- !ruby/object:Gem::Version
|
|
186
|
+
version: '0'
|
|
187
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
188
|
+
requirements:
|
|
189
|
+
- - ">="
|
|
190
|
+
- !ruby/object:Gem::Version
|
|
191
|
+
version: '0'
|
|
192
|
+
requirements: []
|
|
193
|
+
rubygems_version: 3.6.2
|
|
194
|
+
specification_version: 4
|
|
195
|
+
summary: Research test
|
|
196
|
+
test_files: []
|