ftw 0.0.25 → 0.0.26

Sign up to get free protection for your applications and to get access to all the features.
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.25"
6
+ VERSION = "0.0.26"
7
7
  end
@@ -200,6 +200,7 @@ class FTW::WebSocket::Parser
200
200
  # +-------------------------------- - - - - - - - - - - - - - - - +
201
201
  @mask = get(@need)
202
202
  transition(:payload, @payload_length)
203
+ return nil
203
204
  end # def mask
204
205
 
205
206
  # State: payload
@@ -232,8 +233,8 @@ class FTW::WebSocket::Parser
232
233
  masked << (byte ^ mask_bytes[i % 4])
233
234
  i += 1
234
235
  end
235
- p :unmasked => masked.pack("C*"), :original => message
236
- return masked.pack("C*")
236
+ #p :unmasked => masked.pack("C*"), :original => message
237
+ return masked.pack("C*")
237
238
  end # def unmask
238
239
 
239
240
  public(:feed)
metadata CHANGED
@@ -1,224 +1,181 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ftw
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.25
5
- prerelease:
4
+ version: 0.0.26
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-11-28 00:00:00.000000000 Z
12
+ date: 2012-12-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json
16
- version_requirements: !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
17
18
  requirements:
18
- - - '='
19
+ - - ~>
19
20
  - !ruby/object:Gem::Version
20
- version: 1.6.5
21
+ version: 1.7.5
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
21
25
  none: false
22
- requirement: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - '='
27
+ - - ~>
25
28
  - !ruby/object:Gem::Version
26
- version: 1.6.5
27
- none: false
28
- prerelease: false
29
- type: :runtime
29
+ version: 1.7.5
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: cabin
32
- version_requirements: !ruby/object:Gem::Requirement
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
33
34
  requirements:
34
- - - !binary |-
35
- Pg==
35
+ - - ! '>'
36
36
  - !ruby/object:Gem::Version
37
- version: !binary |-
38
- MA==
37
+ version: '0'
38
+ type: :runtime
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
39
41
  none: false
40
- requirement: !ruby/object:Gem::Requirement
41
42
  requirements:
42
- - - !binary |-
43
- Pg==
43
+ - - ! '>'
44
44
  - !ruby/object:Gem::Version
45
- version: !binary |-
46
- MA==
47
- none: false
48
- prerelease: false
49
- type: :runtime
45
+ version: '0'
50
46
  - !ruby/object:Gem::Dependency
51
47
  name: http_parser.rb
52
- version_requirements: !ruby/object:Gem::Requirement
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
53
50
  requirements:
54
51
  - - '='
55
52
  - !ruby/object:Gem::Version
56
53
  version: 0.5.3
54
+ type: :runtime
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
57
  none: false
58
- requirement: !ruby/object:Gem::Requirement
59
58
  requirements:
60
59
  - - '='
61
60
  - !ruby/object:Gem::Version
62
61
  version: 0.5.3
63
- none: false
64
- prerelease: false
65
- type: :runtime
66
62
  - !ruby/object:Gem::Dependency
67
63
  name: addressable
68
- version_requirements: !ruby/object:Gem::Requirement
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
69
66
  requirements:
70
67
  - - ~>
71
68
  - !ruby/object:Gem::Version
72
69
  version: 2.3.2
70
+ type: :runtime
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
73
  none: false
74
- requirement: !ruby/object:Gem::Requirement
75
74
  requirements:
76
75
  - - ~>
77
76
  - !ruby/object:Gem::Version
78
77
  version: 2.3.2
79
- none: false
80
- prerelease: false
81
- type: :runtime
82
78
  - !ruby/object:Gem::Dependency
83
79
  name: backports
84
- version_requirements: !ruby/object:Gem::Requirement
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
85
82
  requirements:
86
83
  - - '='
87
84
  - !ruby/object:Gem::Version
88
85
  version: 2.3.0
86
+ type: :runtime
87
+ prerelease: false
88
+ version_requirements: !ruby/object:Gem::Requirement
89
89
  none: false
90
- requirement: !ruby/object:Gem::Requirement
91
90
  requirements:
92
91
  - - '='
93
92
  - !ruby/object:Gem::Version
94
93
  version: 2.3.0
95
- none: false
96
- prerelease: false
97
- type: :runtime
98
94
  - !ruby/object:Gem::Dependency
99
95
  name: minitest
100
- version_requirements: !ruby/object:Gem::Requirement
96
+ requirement: !ruby/object:Gem::Requirement
97
+ none: false
101
98
  requirements:
102
- - - !binary |-
103
- Pg==
99
+ - - ! '>'
104
100
  - !ruby/object:Gem::Version
105
- version: !binary |-
106
- MA==
101
+ version: '0'
102
+ type: :runtime
103
+ prerelease: false
104
+ version_requirements: !ruby/object:Gem::Requirement
107
105
  none: false
108
- requirement: !ruby/object:Gem::Requirement
109
106
  requirements:
110
- - - !binary |-
111
- Pg==
107
+ - - ! '>'
112
108
  - !ruby/object:Gem::Version
113
- version: !binary |-
114
- MA==
115
- none: false
116
- prerelease: false
117
- type: :runtime
118
- 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.
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.
119
112
  email:
120
113
  - jls@semicomplete.com
121
114
  executables: []
122
115
  extensions: []
123
116
  extra_rdoc_files: []
124
117
  files:
125
- - !binary |-
126
- bGliL2Z0dy5yYg==
127
- - !binary |-
128
- bGliL3JhY2svaGFuZGxlci9mdHcucmI=
129
- - !binary |-
130
- bGliL2Z0dy9jb25uZWN0aW9uLnJi
131
- - !binary |-
132
- bGliL2Z0dy9kbnMucmI=
133
- - !binary |-
134
- bGliL2Z0dy9wb29sYWJsZS5yYg==
135
- - !binary |-
136
- bGliL2Z0dy93ZWJzb2NrZXQucmI=
137
- - !binary |-
138
- bGliL2Z0dy9wb29sLnJi
139
- - !binary |-
140
- bGliL2Z0dy9uYW1lc3BhY2UucmI=
141
- - !binary |-
142
- bGliL2Z0dy9yZXF1ZXN0LnJi
143
- - !binary |-
144
- bGliL2Z0dy9zZXJ2ZXIucmI=
145
- - !binary |-
146
- bGliL2Z0dy9jYWNlcnQucGVt
147
- - !binary |-
148
- bGliL2Z0dy9yZXNwb25zZS5yYg==
149
- - !binary |-
150
- bGliL2Z0dy93ZWJzZXJ2ZXIucmI=
151
- - !binary |-
152
- bGliL2Z0dy9hZ2VudC5yYg==
153
- - !binary |-
154
- bGliL2Z0dy92ZXJzaW9uLnJi
155
- - !binary |-
156
- bGliL2Z0dy9wcm90b2NvbC5yYg==
157
- - !binary |-
158
- bGliL2Z0dy9jb29raWVzLnJi
159
- - !binary |-
160
- bGliL2Z0dy9zaW5nbGV0b24ucmI=
161
- - !binary |-
162
- bGliL2Z0dy9jcmxmLnJi
163
- - !binary |-
164
- bGliL2Z0dy9hZ2VudC9jb25maWd1cmF0aW9uLnJi
165
- - !binary |-
166
- bGliL2Z0dy93ZWJzb2NrZXQvcGFyc2VyLnJi
167
- - !binary |-
168
- bGliL2Z0dy93ZWJzb2NrZXQvd3JpdGVyLnJi
169
- - !binary |-
170
- bGliL2Z0dy93ZWJzb2NrZXQvcmFjay5yYg==
171
- - !binary |-
172
- bGliL2Z0dy93ZWJzb2NrZXQvY29uc3RhbnRzLnJi
173
- - !binary |-
174
- bGliL2Z0dy9kbnMvZG5zLnJi
175
- - !binary |-
176
- bGliL2Z0dy9kbnMvaGFzaC5yYg==
177
- - !binary |-
178
- bGliL2Z0dy9odHRwL21lc3NhZ2UucmI=
179
- - !binary |-
180
- bGliL2Z0dy9odHRwL2hlYWRlcnMucmI=
181
- - !binary |-
182
- dGVzdC9kb2NzLnJi
183
- - !binary |-
184
- dGVzdC9hbGwucmI=
185
- - !binary |-
186
- dGVzdC90ZXN0aW5nLnJi
187
- - !binary |-
188
- dGVzdC9mdHcvc2luZ2xldG9uLnJi
189
- - !binary |-
190
- dGVzdC9mdHcvY3JsZi5yYg==
191
- - !binary |-
192
- dGVzdC9mdHcvaHR0cC9kbnMucmI=
193
- - !binary |-
194
- dGVzdC9mdHcvaHR0cC9oZWFkZXJzLnJi
118
+ - lib/rack/handler/ftw.rb
119
+ - lib/ftw.rb
120
+ - lib/ftw/connection.rb
121
+ - 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
+ - lib/ftw/namespace.rb
127
+ - 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
+ - lib/ftw/response.rb
135
+ - lib/ftw/webserver.rb
136
+ - lib/ftw/agent.rb
137
+ - lib/ftw/version.rb
138
+ - lib/ftw/dns/dns.rb
139
+ - lib/ftw/dns/hash.rb
140
+ - lib/ftw/protocol.rb
141
+ - lib/ftw/http/message.rb
142
+ - lib/ftw/http/headers.rb
143
+ - lib/ftw/cookies.rb
144
+ - lib/ftw/singleton.rb
145
+ - lib/ftw/crlf.rb
146
+ - test/docs.rb
147
+ - test/all.rb
148
+ - test/testing.rb
149
+ - test/ftw/http/dns.rb
150
+ - test/ftw/http/headers.rb
151
+ - test/ftw/singleton.rb
152
+ - test/ftw/crlf.rb
195
153
  - README.md
196
154
  homepage: http://github.com/jordansissel/ruby-ftw
197
155
  licenses:
198
156
  - Apache License (2.0)
199
- post_install_message:
157
+ post_install_message:
200
158
  rdoc_options: []
201
159
  require_paths:
202
160
  - lib
203
161
  - lib
204
162
  required_ruby_version: !ruby/object:Gem::Requirement
163
+ none: false
205
164
  requirements:
206
165
  - - ! '>='
207
166
  - !ruby/object:Gem::Version
208
- version: !binary |-
209
- MA==
210
- none: false
167
+ version: '0'
211
168
  required_rubygems_version: !ruby/object:Gem::Requirement
169
+ none: false
212
170
  requirements:
213
171
  - - ! '>='
214
172
  - !ruby/object:Gem::Version
215
- version: !binary |-
216
- MA==
217
- none: false
173
+ version: '0'
218
174
  requirements: []
219
- rubyforge_project:
175
+ rubyforge_project:
220
176
  rubygems_version: 1.8.24
221
- signing_key:
177
+ signing_key:
222
178
  specification_version: 3
223
- 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.
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.
224
181
  test_files: []