ftw 0.0.26 → 0.0.27

Sign up to get free protection for your applications and to get access to all the features.
@@ -62,7 +62,7 @@ module FTW::HTTP::Message
62
62
  if (message_body.respond_to?(:read) or message_body.respond_to?(:each)) and
63
63
  headers["Transfer-Encoding"] = "chunked"
64
64
  else
65
- headers["Content-Length"] = message_body.length
65
+ headers["Content-Length"] = message_body.bytesize
66
66
  end
67
67
  end # def body=
68
68
 
data/lib/ftw/version.rb CHANGED
@@ -3,5 +3,5 @@ require "ftw/namespace"
3
3
  # :nodoc:
4
4
  module FTW
5
5
  # The version of this library
6
- VERSION = "0.0.26"
6
+ VERSION = "0.0.27"
7
7
  end
metadata CHANGED
@@ -1,181 +1,173 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ftw
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.26
5
- prerelease:
4
+ version: 0.0.27
5
+ prerelease:
6
6
  platform: ruby
7
7
  authors:
8
8
  - Jordan Sissel
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-12-28 00:00:00.000000000 Z
12
+ date: 2013-03-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
- name: json
16
- requirement: !ruby/object:Gem::Requirement
17
- none: false
18
- requirements:
19
- - - ~>
20
- - !ruby/object:Gem::Version
21
- version: 1.7.5
22
- type: :runtime
23
- prerelease: false
15
+ name: cabin
24
16
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
17
  requirements:
27
- - - ~>
18
+ - - !binary |-
19
+ Pg==
28
20
  - !ruby/object:Gem::Version
29
- version: 1.7.5
30
- - !ruby/object:Gem::Dependency
31
- name: cabin
32
- requirement: !ruby/object:Gem::Requirement
21
+ version: !binary |-
22
+ MA==
33
23
  none: false
24
+ requirement: !ruby/object:Gem::Requirement
34
25
  requirements:
35
- - - ! '>'
26
+ - - !binary |-
27
+ Pg==
36
28
  - !ruby/object:Gem::Version
37
- version: '0'
38
- type: :runtime
39
- prerelease: false
40
- version_requirements: !ruby/object:Gem::Requirement
29
+ version: !binary |-
30
+ MA==
41
31
  none: false
42
- requirements:
43
- - - ! '>'
44
- - !ruby/object:Gem::Version
45
- version: '0'
32
+ prerelease: false
33
+ type: :runtime
46
34
  - !ruby/object:Gem::Dependency
47
35
  name: http_parser.rb
48
- requirement: !ruby/object:Gem::Requirement
49
- none: false
36
+ version_requirements: !ruby/object:Gem::Requirement
50
37
  requirements:
51
38
  - - '='
52
39
  - !ruby/object:Gem::Version
53
40
  version: 0.5.3
54
- type: :runtime
55
- prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
41
  none: false
42
+ requirement: !ruby/object:Gem::Requirement
58
43
  requirements:
59
44
  - - '='
60
45
  - !ruby/object:Gem::Version
61
46
  version: 0.5.3
47
+ none: false
48
+ prerelease: false
49
+ type: :runtime
62
50
  - !ruby/object:Gem::Dependency
63
51
  name: addressable
64
- requirement: !ruby/object:Gem::Requirement
65
- none: false
52
+ version_requirements: !ruby/object:Gem::Requirement
66
53
  requirements:
67
- - - ~>
54
+ - - "~>"
68
55
  - !ruby/object:Gem::Version
69
56
  version: 2.3.2
70
- type: :runtime
71
- prerelease: false
72
- version_requirements: !ruby/object:Gem::Requirement
73
57
  none: false
58
+ requirement: !ruby/object:Gem::Requirement
74
59
  requirements:
75
- - - ~>
60
+ - - "~>"
76
61
  - !ruby/object:Gem::Version
77
62
  version: 2.3.2
63
+ none: false
64
+ prerelease: false
65
+ type: :runtime
78
66
  - !ruby/object:Gem::Dependency
79
67
  name: backports
80
- requirement: !ruby/object:Gem::Requirement
81
- none: false
68
+ version_requirements: !ruby/object:Gem::Requirement
82
69
  requirements:
83
70
  - - '='
84
71
  - !ruby/object:Gem::Version
85
72
  version: 2.3.0
86
- type: :runtime
87
- prerelease: false
88
- version_requirements: !ruby/object:Gem::Requirement
89
73
  none: false
74
+ requirement: !ruby/object:Gem::Requirement
90
75
  requirements:
91
76
  - - '='
92
77
  - !ruby/object:Gem::Version
93
78
  version: 2.3.0
79
+ none: false
80
+ prerelease: false
81
+ type: :runtime
94
82
  - !ruby/object:Gem::Dependency
95
83
  name: minitest
96
- requirement: !ruby/object:Gem::Requirement
97
- none: false
84
+ version_requirements: !ruby/object:Gem::Requirement
98
85
  requirements:
99
- - - ! '>'
86
+ - - !binary |-
87
+ Pg==
100
88
  - !ruby/object:Gem::Version
101
- version: '0'
102
- type: :runtime
103
- prerelease: false
104
- version_requirements: !ruby/object:Gem::Requirement
89
+ version: !binary |-
90
+ MA==
105
91
  none: false
92
+ requirement: !ruby/object:Gem::Requirement
106
93
  requirements:
107
- - - ! '>'
94
+ - - !binary |-
95
+ Pg==
108
96
  - !ruby/object:Gem::Version
109
- version: '0'
110
- description: For The Web. Trying to build a solid and sane API for client and server
111
- web stuff. Client and Server operations for HTTP, WebSockets, SPDY, etc.
97
+ version: !binary |-
98
+ MA==
99
+ none: false
100
+ prerelease: false
101
+ type: :runtime
102
+ description: For The Web. Trying to build a solid and sane API for client and server web stuff. Client and Server operations for HTTP, WebSockets, SPDY, etc.
112
103
  email:
113
104
  - jls@semicomplete.com
114
105
  executables: []
115
106
  extensions: []
116
107
  extra_rdoc_files: []
117
108
  files:
118
- - lib/rack/handler/ftw.rb
119
109
  - lib/ftw.rb
110
+ - lib/ftw/agent.rb
111
+ - lib/ftw/cacert.pem
120
112
  - lib/ftw/connection.rb
113
+ - lib/ftw/cookies.rb
114
+ - lib/ftw/crlf.rb
121
115
  - lib/ftw/dns.rb
122
- - lib/ftw/agent/configuration.rb
123
- - lib/ftw/poolable.rb
124
- - lib/ftw/websocket.rb
125
- - lib/ftw/pool.rb
126
116
  - lib/ftw/namespace.rb
117
+ - lib/ftw/pool.rb
118
+ - lib/ftw/poolable.rb
119
+ - lib/ftw/protocol.rb
127
120
  - lib/ftw/request.rb
128
- - lib/ftw/server.rb
129
- - lib/ftw/websocket/parser.rb
130
- - lib/ftw/websocket/writer.rb
131
- - lib/ftw/websocket/rack.rb
132
- - lib/ftw/websocket/constants.rb
133
- - lib/ftw/cacert.pem
134
121
  - lib/ftw/response.rb
122
+ - lib/ftw/server.rb
123
+ - lib/ftw/singleton.rb
135
124
  - lib/ftw/webserver.rb
136
- - lib/ftw/agent.rb
125
+ - lib/ftw/websocket.rb
137
126
  - lib/ftw/version.rb
127
+ - lib/ftw/agent/configuration.rb
138
128
  - lib/ftw/dns/dns.rb
139
129
  - lib/ftw/dns/hash.rb
140
- - lib/ftw/protocol.rb
141
- - lib/ftw/http/message.rb
142
130
  - lib/ftw/http/headers.rb
143
- - lib/ftw/cookies.rb
144
- - lib/ftw/singleton.rb
145
- - lib/ftw/crlf.rb
146
- - test/docs.rb
131
+ - lib/ftw/http/message.rb
132
+ - lib/ftw/websocket/constants.rb
133
+ - lib/ftw/websocket/parser.rb
134
+ - lib/ftw/websocket/rack.rb
135
+ - lib/ftw/websocket/writer.rb
136
+ - lib/rack/handler/ftw.rb
147
137
  - test/all.rb
138
+ - test/docs.rb
148
139
  - test/testing.rb
140
+ - test/ftw/crlf.rb
141
+ - test/ftw/singleton.rb
149
142
  - test/ftw/http/dns.rb
150
143
  - test/ftw/http/headers.rb
151
- - test/ftw/singleton.rb
152
- - test/ftw/crlf.rb
153
144
  - README.md
154
145
  homepage: http://github.com/jordansissel/ruby-ftw
155
146
  licenses:
156
147
  - Apache License (2.0)
157
- post_install_message:
148
+ post_install_message:
158
149
  rdoc_options: []
159
150
  require_paths:
160
151
  - lib
161
152
  - lib
162
153
  required_ruby_version: !ruby/object:Gem::Requirement
163
- none: false
164
154
  requirements:
165
- - - ! '>='
155
+ - - ">="
166
156
  - !ruby/object:Gem::Version
167
- version: '0'
168
- required_rubygems_version: !ruby/object:Gem::Requirement
157
+ version: !binary |-
158
+ MA==
169
159
  none: false
160
+ required_rubygems_version: !ruby/object:Gem::Requirement
170
161
  requirements:
171
- - - ! '>='
162
+ - - ">="
172
163
  - !ruby/object:Gem::Version
173
- version: '0'
164
+ version: !binary |-
165
+ MA==
166
+ none: false
174
167
  requirements: []
175
- rubyforge_project:
168
+ rubyforge_project:
176
169
  rubygems_version: 1.8.24
177
- signing_key:
170
+ signing_key:
178
171
  specification_version: 3
179
- summary: For The Web. Trying to build a solid and sane API for client and server web
180
- stuff. Client and Server operations for HTTP, WebSockets, SPDY, etc.
172
+ summary: For The Web. Trying to build a solid and sane API for client and server web stuff. Client and Server operations for HTTP, WebSockets, SPDY, etc.
181
173
  test_files: []