http_spew 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
data/ChangeLog CHANGED
@@ -1,5 +1,21 @@
1
1
  ChangeLog from http://bogomips.org/http_spew.git
2
2
 
3
+ commit 9627a9f5e2c4673b2e7f98d4877d631597c9f2ee
4
+ Author: Eric Wong <normalperson@yhbt.net>
5
+ Date: Sat Sep 22 17:01:02 2012 -0700
6
+
7
+ http_spew 0.4.1
8
+
9
+ Fix formatting of user-supplied headers.
10
+
11
+ commit 9597ec51093b2248eb6e22dc4bd5b5057ed3261c
12
+ Author: Eric Wong <normalperson@yhbt.net>
13
+ Date: Sat Sep 22 16:59:49 2012 -0700
14
+
15
+ headers: fix swapping of "_" for "-"
16
+
17
+ This breaks on some strict HTTP parsers.
18
+
3
19
  commit 0e7be47dae62ffbbb5f69d42daea21e4f66ead0c
4
20
  Author: Eric Wong <normalperson@yhbt.net>
5
21
  Date: Thu Nov 3 00:23:03 2011 +0000
data/GIT-VERSION-FILE CHANGED
@@ -1 +1 @@
1
- GIT_VERSION = 0.4.0
1
+ GIT_VERSION = 0.4.1
data/GIT-VERSION-GEN CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/bin/sh
2
2
 
3
3
  GVF=GIT-VERSION-FILE
4
- DEF_VER=v0.4.0.GIT
4
+ DEF_VER=v0.4.1.GIT
5
5
 
6
6
  LF='
7
7
  '
data/LATEST CHANGED
@@ -1,5 +1,4 @@
1
- === http_spew 0.4.0 / 2011-11-03 00:23 UTC
1
+ === http_spew 0.4.1 / 2012-09-23 00:01 UTC
2
2
 
3
- Bump kgio dependency to the latest version to remove
4
- need for IO#wait.
3
+ Fix formatting of user-supplied headers.
5
4
 
data/NEWS CHANGED
@@ -1,3 +1,7 @@
1
+ === http_spew 0.4.1 / 2012-09-23 00:01 UTC
2
+
3
+ Fix formatting of user-supplied headers.
4
+
1
5
  === http_spew 0.4.0 / 2011-11-03 00:23 UTC
2
6
 
3
7
  Bump kgio dependency to the latest version to remove
@@ -1,7 +1,6 @@
1
1
  # -*- encoding: binary -*-
2
2
  module HTTP_Spew::Headers
3
3
  # :stopdoc:
4
- TR = %w(- _)
5
4
  REQUEST_METHOD = "REQUEST_METHOD"
6
5
  REQUEST_URI = "REQUEST_URI"
7
6
  CRLF = "\r\n"
@@ -31,7 +30,7 @@ module HTTP_Spew::Headers
31
30
  req = "#{env[REQUEST_METHOD]} " \
32
31
  "#{env[REQUEST_URI] || request_uri(env)} HTTP/1.1\r\n" \
33
32
  "Connection: close\r\n"
34
- uscore, dash = *TR
33
+ uscore, dash = "_", "-"
35
34
  env.each do |key,value|
36
35
  %r{\AHTTP_(\w+)\z} =~ key or next
37
36
  key = $1
@@ -1,2 +1,2 @@
1
1
  # -*- encoding: binary -*-
2
- HTTP_Spew.const_set :VERSION, "0.4.0"
2
+ HTTP_Spew.const_set :VERSION, "0.4.1"
metadata CHANGED
@@ -1,77 +1,73 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: http_spew
3
- version: !ruby/object:Gem::Version
4
- hash: 15
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.4.1
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 4
9
- - 0
10
- version: 0.4.0
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - HTTP Spew hackers
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2011-11-03 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
12
+ date: 2012-09-23 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
21
15
  name: kcar
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
24
17
  none: false
25
- requirements:
18
+ requirements:
26
19
  - - ~>
27
- - !ruby/object:Gem::Version
28
- hash: 13
29
- segments:
30
- - 0
31
- - 3
32
- version: "0.3"
20
+ - !ruby/object:Gem::Version
21
+ version: '0.3'
33
22
  type: :runtime
34
- version_requirements: *id001
35
- - !ruby/object:Gem::Dependency
36
- name: kgio
37
23
  prerelease: false
38
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: '0.3'
30
+ - !ruby/object:Gem::Dependency
31
+ name: kgio
32
+ requirement: !ruby/object:Gem::Requirement
39
33
  none: false
40
- requirements:
34
+ requirements:
41
35
  - - ~>
42
- - !ruby/object:Gem::Version
43
- hash: 15
44
- segments:
45
- - 2
46
- - 6
47
- version: "2.6"
36
+ - !ruby/object:Gem::Version
37
+ version: '2.6'
48
38
  type: :runtime
49
- version_requirements: *id002
50
- - !ruby/object:Gem::Dependency
51
- name: wrongdoc
52
39
  prerelease: false
53
- requirement: &id003 !ruby/object:Gem::Requirement
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: '2.6'
46
+ - !ruby/object:Gem::Dependency
47
+ name: wrongdoc
48
+ requirement: !ruby/object:Gem::Requirement
54
49
  none: false
55
- requirements:
50
+ requirements:
56
51
  - - ~>
57
- - !ruby/object:Gem::Version
58
- hash: 5
59
- segments:
60
- - 1
61
- - 5
62
- version: "1.5"
52
+ - !ruby/object:Gem::Version
53
+ version: '1.5'
63
54
  type: :development
64
- version_requirements: *id003
65
- description: |-
66
- Do not use HTTP Spew for connecting to servers outside of your LAN.
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: '1.5'
62
+ description: ! 'Do not use HTTP Spew for connecting to servers outside of your LAN.
63
+
67
64
  Do not use HTTP Spew without the permission of your server admins.
68
- Use HTTP Spew if you wish you could kinda multicast with HTTP...
65
+
66
+ Use HTTP Spew if you wish you could kinda multicast with HTTP...'
69
67
  email: http.spew@librelist.org
70
68
  executables: []
71
-
72
69
  extensions: []
73
-
74
- extra_rdoc_files:
70
+ extra_rdoc_files:
75
71
  - LICENSE
76
72
  - README
77
73
  - NEWS
@@ -86,7 +82,7 @@ extra_rdoc_files:
86
82
  - lib/http_spew/input_spray.rb
87
83
  - lib/http_spew/request.rb
88
84
  - lib/http_spew/version.rb
89
- files:
85
+ files:
90
86
  - .document
91
87
  - .gitignore
92
88
  - .manifest
@@ -128,41 +124,33 @@ files:
128
124
  - test/test_upload.rb
129
125
  homepage: http://bogomips.org/http_spew/
130
126
  licenses: []
131
-
132
127
  post_install_message:
133
- rdoc_options:
128
+ rdoc_options:
134
129
  - -t
135
130
  - HTTP Spew - LAN-only HTTP spam^H^H^H^Hclient for Ruby
136
131
  - -W
137
132
  - http://bogomips.org/http_spew.git/tree/%s
138
- require_paths:
133
+ require_paths:
139
134
  - lib
140
- required_ruby_version: !ruby/object:Gem::Requirement
135
+ required_ruby_version: !ruby/object:Gem::Requirement
141
136
  none: false
142
- requirements:
143
- - - ">="
144
- - !ruby/object:Gem::Version
145
- hash: 3
146
- segments:
147
- - 0
148
- version: "0"
149
- required_rubygems_version: !ruby/object:Gem::Requirement
137
+ requirements:
138
+ - - ! '>='
139
+ - !ruby/object:Gem::Version
140
+ version: '0'
141
+ required_rubygems_version: !ruby/object:Gem::Requirement
150
142
  none: false
151
- requirements:
152
- - - ">="
153
- - !ruby/object:Gem::Version
154
- hash: 3
155
- segments:
156
- - 0
157
- version: "0"
143
+ requirements:
144
+ - - ! '>='
145
+ - !ruby/object:Gem::Version
146
+ version: '0'
158
147
  requirements: []
159
-
160
148
  rubyforge_project: rainbows
161
- rubygems_version: 1.8.5
149
+ rubygems_version: 1.8.23
162
150
  signing_key:
163
151
  specification_version: 3
164
152
  summary: LAN-only HTTP spam^H^H^H^Hclient for Ruby
165
- test_files:
153
+ test_files:
166
154
  - test/test_input_spray_with_md5.rb
167
155
  - test/test_mirror.rb
168
156
  - test/test_request.rb