http_spew 0.4.1 → 0.5.0

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.
data/test/test_mirror.rb CHANGED
@@ -57,4 +57,4 @@ class TestMirror < Test::Unit::TestCase
57
57
  assert_equal expect, tmp
58
58
  end
59
59
  end
60
- end
60
+ end if HAVE_UNICORN
data/test/test_request.rb CHANGED
@@ -51,4 +51,4 @@ class TestRequest < Test::Unit::TestCase
51
51
  assert_equal 3, rv.size
52
52
  assert_equal req, rv[2]
53
53
  end
54
- end
54
+ end if HAVE_UNICORN
@@ -44,4 +44,4 @@ class TestRequest < Test::Unit::TestCase
44
44
  rv[2].each { |chunk| buf << chunk }
45
45
  assert_equal "da39a3ee5e6b4b0d3255bfef95601890afd80709\n", buf
46
46
  end
47
- end
47
+ end if HAVE_UNICORN
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.dup
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.each { |r| assert before.include?(r) }
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.4.1
5
- prerelease:
4
+ version: 0.5.0
6
5
  platform: ruby
7
6
  authors:
8
- - HTTP Spew hackers
7
+ - kcar hackers
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2012-09-23 00:00:00.000000000 Z
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: wrongdoc
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.5'
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.5'
62
- description: ! 'Do not use HTTP Spew for connecting to servers outside of your LAN.
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
- Use HTTP Spew if you wish you could kinda multicast with HTTP...'
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
- - .wrongdoc.yml
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: http://bogomips.org/http_spew/
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: '0'
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: rainbows
149
- rubygems_version: 1.8.23
141
+ rubyforge_project:
142
+ rubygems_version: 2.6.7
150
143
  signing_key:
151
- specification_version: 3
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
@@ -1,4 +0,0 @@
1
- ---
2
- cgit_url: http://bogomips.org/http_spew.git
3
- git_url: git://bogomips.org/http_spew.git
4
- rdoc_url: http://bogomips.org/http_spew/