http_spew 0.4.1 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.document +0 -1
- data/.gitignore +1 -4
- data/.manifest +3 -3
- data/.olddoc.yml +7 -0
- data/COPYING +288 -623
- data/GIT-VERSION-FILE +1 -1
- data/GIT-VERSION-GEN +1 -1
- data/GNUmakefile +1 -2
- data/LATEST +18 -2
- data/LICENSE +8 -11
- data/NEWS +20 -0
- data/README +4 -5
- data/benchmark/bm_content_md5.rb +52 -0
- data/benchmark/bm_content_md5_input_spray.rb +59 -0
- data/http_spew.gemspec +9 -10
- data/lib/http_spew/class_methods.rb +6 -6
- data/lib/http_spew/content_md5.rb +5 -6
- data/lib/http_spew/headers.rb +8 -17
- data/lib/http_spew/request.rb +4 -4
- data/lib/http_spew/version.rb +1 -1
- data/lib/http_spew.rb +13 -13
- data/pkg.mk +26 -51
- data/test/helper.rb +3 -1
- data/test/test_content_md5.rb +1 -1
- data/test/test_hit_n_run.rb +1 -1
- data/test/test_input_spray_with_md5.rb +3 -3
- data/test/test_mirror.rb +1 -1
- data/test/test_request.rb +1 -1
- data/test/test_unexpected_response.rb +1 -1
- data/test/test_upload.rb +6 -3
- metadata +39 -46
- data/.wrongdoc.yml +0 -4
- data/ChangeLog +0 -546
- data/Gemfile +0 -5
data/test/test_mirror.rb
CHANGED
data/test/test_request.rb
CHANGED
data/test/test_upload.rb
CHANGED
@@ -117,13 +117,16 @@ class TestUpload < Test::Unit::TestCase
|
|
117
117
|
req << HTTP_Spew::Request.new(@env, StringIO.new(str), @sockaddr)
|
118
118
|
req << HTTP_Spew::Request.new(@env, StringIO.new(str), @sockaddr)
|
119
119
|
req << HTTP_Spew::Request.new(@env, StringIO.new(str), @sockaddr)
|
120
|
-
before = req.
|
120
|
+
before = req.map(&:object_id)
|
121
121
|
rv = HTTP_Spew.wait_nonblock!(3, req)
|
122
122
|
while rv.nil? do
|
123
123
|
rv = HTTP_Spew.wait_nonblock!(3, req)
|
124
124
|
end
|
125
125
|
assert_nil rv.uniq!
|
126
126
|
assert rv.size > 0
|
127
|
-
rv.
|
127
|
+
rv.map!(&:object_id)
|
128
|
+
rv.each do |r|
|
129
|
+
assert before.include?(r), "rv=#{rv.inspect} before=#{before.inspect}"
|
130
|
+
end
|
128
131
|
end
|
129
|
-
end
|
132
|
+
end if HAVE_UNICORN
|
metadata
CHANGED
@@ -1,70 +1,68 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: http_spew
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.5.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
|
-
-
|
7
|
+
- kcar hackers
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2016-10-31 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: kcar
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- - ~>
|
17
|
+
- - "~>"
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: '0.3'
|
20
|
+
- - ">="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 0.3.1
|
22
23
|
type: :runtime
|
23
24
|
prerelease: false
|
24
25
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
26
|
requirements:
|
27
|
-
- - ~>
|
27
|
+
- - "~>"
|
28
28
|
- !ruby/object:Gem::Version
|
29
29
|
version: '0.3'
|
30
|
+
- - ">="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 0.3.1
|
30
33
|
- !ruby/object:Gem::Dependency
|
31
34
|
name: kgio
|
32
35
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
36
|
requirements:
|
35
|
-
- - ~>
|
37
|
+
- - "~>"
|
36
38
|
- !ruby/object:Gem::Version
|
37
39
|
version: '2.6'
|
38
40
|
type: :runtime
|
39
41
|
prerelease: false
|
40
42
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
43
|
requirements:
|
43
|
-
- - ~>
|
44
|
+
- - "~>"
|
44
45
|
- !ruby/object:Gem::Version
|
45
46
|
version: '2.6'
|
46
47
|
- !ruby/object:Gem::Dependency
|
47
|
-
name:
|
48
|
+
name: olddoc
|
48
49
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
50
|
requirements:
|
51
|
-
- - ~>
|
51
|
+
- - "~>"
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: '1.
|
53
|
+
version: '1.0'
|
54
54
|
type: :development
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
57
|
requirements:
|
59
|
-
- - ~>
|
58
|
+
- - "~>"
|
60
59
|
- !ruby/object:Gem::Version
|
61
|
-
version: '1.
|
62
|
-
description:
|
63
|
-
|
60
|
+
version: '1.0'
|
61
|
+
description: |-
|
62
|
+
Do not use HTTP Spew for connecting to servers outside of your LAN.
|
64
63
|
Do not use HTTP Spew without the permission of your server admins.
|
65
|
-
|
66
|
-
|
67
|
-
email: http.spew@librelist.org
|
64
|
+
Use HTTP Spew if you wish you could kinda multicast with HTTP...
|
65
|
+
email: kcar@bogomips.org
|
68
66
|
executables: []
|
69
67
|
extensions: []
|
70
68
|
extra_rdoc_files:
|
@@ -72,7 +70,6 @@ extra_rdoc_files:
|
|
72
70
|
- README
|
73
71
|
- NEWS
|
74
72
|
- LATEST
|
75
|
-
- ChangeLog
|
76
73
|
- lib/http_spew.rb
|
77
74
|
- lib/http_spew/chunky_pipe.rb
|
78
75
|
- lib/http_spew/class_methods.rb
|
@@ -83,20 +80,20 @@ extra_rdoc_files:
|
|
83
80
|
- lib/http_spew/request.rb
|
84
81
|
- lib/http_spew/version.rb
|
85
82
|
files:
|
86
|
-
- .document
|
87
|
-
- .gitignore
|
88
|
-
- .manifest
|
89
|
-
- .
|
83
|
+
- ".document"
|
84
|
+
- ".gitignore"
|
85
|
+
- ".manifest"
|
86
|
+
- ".olddoc.yml"
|
90
87
|
- COPYING
|
91
|
-
- ChangeLog
|
92
88
|
- GIT-VERSION-FILE
|
93
89
|
- GIT-VERSION-GEN
|
94
90
|
- GNUmakefile
|
95
|
-
- Gemfile
|
96
91
|
- LATEST
|
97
92
|
- LICENSE
|
98
93
|
- NEWS
|
99
94
|
- README
|
95
|
+
- benchmark/bm_content_md5.rb
|
96
|
+
- benchmark/bm_content_md5_input_spray.rb
|
100
97
|
- http_spew.gemspec
|
101
98
|
- lib/http_spew.rb
|
102
99
|
- lib/http_spew/chunky_pipe.rb
|
@@ -122,33 +119,29 @@ files:
|
|
122
119
|
- test/test_request.rb
|
123
120
|
- test/test_unexpected_response.rb
|
124
121
|
- test/test_upload.rb
|
125
|
-
homepage:
|
126
|
-
licenses:
|
122
|
+
homepage: https://bogomips.org/http_spew/
|
123
|
+
licenses:
|
124
|
+
- GPL-2.0+
|
125
|
+
metadata: {}
|
127
126
|
post_install_message:
|
128
|
-
rdoc_options:
|
129
|
-
- -t
|
130
|
-
- HTTP Spew - LAN-only HTTP spam^H^H^H^Hclient for Ruby
|
131
|
-
- -W
|
132
|
-
- http://bogomips.org/http_spew.git/tree/%s
|
127
|
+
rdoc_options: []
|
133
128
|
require_paths:
|
134
129
|
- lib
|
135
130
|
required_ruby_version: !ruby/object:Gem::Requirement
|
136
|
-
none: false
|
137
131
|
requirements:
|
138
|
-
- -
|
132
|
+
- - ">="
|
139
133
|
- !ruby/object:Gem::Version
|
140
|
-
version: '
|
134
|
+
version: '2.1'
|
141
135
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
142
|
-
none: false
|
143
136
|
requirements:
|
144
|
-
- -
|
137
|
+
- - ">="
|
145
138
|
- !ruby/object:Gem::Version
|
146
139
|
version: '0'
|
147
140
|
requirements: []
|
148
|
-
rubyforge_project:
|
149
|
-
rubygems_version:
|
141
|
+
rubyforge_project:
|
142
|
+
rubygems_version: 2.6.7
|
150
143
|
signing_key:
|
151
|
-
specification_version:
|
144
|
+
specification_version: 4
|
152
145
|
summary: LAN-only HTTP spam^H^H^H^Hclient for Ruby
|
153
146
|
test_files:
|
154
147
|
- test/test_input_spray_with_md5.rb
|
data/.wrongdoc.yml
DELETED