ftw 0.0.38 → 0.0.39

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,15 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 5a801849ec09f08f8610e1ce8553dfe7d890c818
4
- data.tar.gz: 112a9f22c9403582ca7c56b856a8516d1f6aca81
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ ZGM2YzlmODMwN2RjNzU0YTNhNmU3ZDBlNmNiOGY4ZmNmZTNiY2NlOA==
5
+ data.tar.gz: !binary |-
6
+ Y2VhYTRmMzNiNzM1NzI3YmMxNjllZDA1MGVlNjVkODE4ZTM4Yzc2OQ==
5
7
  SHA512:
6
- metadata.gz: 9d00c8697d9a3d0323acbddf0ce6de86908e7d08f5a56752d0550200d4e01a3b337fd8fceba7f02308605783aa413bd1b151bbbd4af8feb6fcc6802cd444581f
7
- data.tar.gz: 3a5dbe0064a876cd42b3be592fd5eedb9249cd5ce7acb1df696874575c00416de6256b78277600ef07d3aaf4eb12ca1d1d3d761ce7767d09b233bdcd31388d22
8
+ metadata.gz: !binary |-
9
+ NjlkMDBkNTAxMTA3NWM5NmU3ZTJmOTc5OWZhMzhjOWY5ZDM4MzMxYjllZmQ3
10
+ OWJkNzc0NjdmZjMzOGNhYWYwNWNiYmQyZjE0MDVmYmQ2MTg5ODM2MmE1NDcx
11
+ YjMxZTk4MzJhYmI1ZjFlNmI0OWIxNDMxYTA3N2ZiNjQ3YWE3MGQ=
12
+ data.tar.gz: !binary |-
13
+ NzA4ZjlmMTYzOThjMDRjZWI2MjkxNmYzZTExZTI0ZDkxY2MyNjM2MTFlYWNi
14
+ ZWUyNjFiZjZhMWNjZTRiNjkyMTIzNjkwZDQzZWU1YWRiMWU4ZTUyZDg2Yjkx
15
+ YjA4MTFiZTRkYjQyOWNjYzk3N2MwNGQ5MjMxNjEwZmI0MjMzNzk=
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.38"
6
+ VERSION = "0.0.39"
7
7
  end
@@ -127,6 +127,9 @@ class Rack::Handler::FTW
127
127
  # Connection EOF'd or errored before we finished reading a full HTTP
128
128
  # message, shut it down.
129
129
  break
130
+ rescue ArgumentError
131
+ # Invalid http request sent
132
+ break
130
133
  end
131
134
 
132
135
  begin
@@ -137,7 +140,8 @@ class Rack::Handler::FTW
137
140
  raise e
138
141
  end
139
142
  end
140
- connection.disconnect("Fun")
143
+ ensure
144
+ connection.disconnect("Closing...")
141
145
  end # def handle_connection
142
146
 
143
147
  # Handle a request. This will set up the rack 'env' and invoke the
metadata CHANGED
@@ -1,27 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ftw
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.38
4
+ version: 0.0.39
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jordan Sissel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-09 00:00:00.000000000 Z
11
+ date: 2013-12-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cabin
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>'
17
+ - - ! '>'
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>'
24
+ - - ! '>'
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
@@ -42,42 +42,42 @@ dependencies:
42
42
  name: addressable
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ! '>='
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ! '>='
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: backports
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - '>='
59
+ - - ! '>='
60
60
  - !ruby/object:Gem::Version
61
61
  version: 2.6.2
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - '>='
66
+ - - ! '>='
67
67
  - !ruby/object:Gem::Version
68
68
  version: 2.6.2
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: minitest
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - '>'
73
+ - - ! '>'
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - '>'
80
+ - - ! '>'
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  description: For The Web. Trying to build a solid and sane API for client and server
@@ -88,41 +88,41 @@ executables: []
88
88
  extensions: []
89
89
  extra_rdoc_files: []
90
90
  files:
91
- - lib/ftw/agent/configuration.rb
92
- - lib/ftw/agent.rb
93
- - lib/ftw/cacert.pem
94
- - lib/ftw/connection.rb
95
- - lib/ftw/cookies.rb
96
- - lib/ftw/crlf.rb
91
+ - lib/rack/handler/ftw.rb
92
+ - lib/ftw/dns.rb
97
93
  - lib/ftw/dns/dns.rb
98
94
  - lib/ftw/dns/hash.rb
99
- - lib/ftw/dns.rb
95
+ - lib/ftw/agent.rb
96
+ - lib/ftw/agent/configuration.rb
97
+ - lib/ftw/singleton.rb
98
+ - lib/ftw/websocket.rb
99
+ - lib/ftw/connection.rb
100
100
  - lib/ftw/http/headers.rb
101
101
  - lib/ftw/http/message.rb
102
- - lib/ftw/namespace.rb
103
- - lib/ftw/pool.rb
104
102
  - lib/ftw/poolable.rb
105
- - lib/ftw/protocol.rb
106
- - lib/ftw/request.rb
107
- - lib/ftw/response.rb
108
103
  - lib/ftw/server.rb
109
- - lib/ftw/singleton.rb
104
+ - lib/ftw/response.rb
105
+ - lib/ftw/protocol.rb
106
+ - lib/ftw/cacert.pem
110
107
  - lib/ftw/version.rb
108
+ - lib/ftw/namespace.rb
109
+ - lib/ftw/request.rb
110
+ - lib/ftw/crlf.rb
111
+ - lib/ftw/pool.rb
111
112
  - lib/ftw/webserver.rb
112
- - lib/ftw/websocket/constants.rb
113
- - lib/ftw/websocket/parser.rb
114
- - lib/ftw/websocket/rack.rb
115
113
  - lib/ftw/websocket/writer.rb
116
- - lib/ftw/websocket.rb
114
+ - lib/ftw/websocket/rack.rb
115
+ - lib/ftw/websocket/parser.rb
116
+ - lib/ftw/websocket/constants.rb
117
+ - lib/ftw/cookies.rb
117
118
  - lib/ftw.rb
118
- - lib/rack/handler/ftw.rb
119
+ - test/testing.rb
119
120
  - test/all.rb
120
- - test/docs.rb
121
- - test/ftw/crlf.rb
121
+ - test/ftw/singleton.rb
122
122
  - test/ftw/http/dns.rb
123
123
  - test/ftw/http/headers.rb
124
- - test/ftw/singleton.rb
125
- - test/testing.rb
124
+ - test/ftw/crlf.rb
125
+ - test/docs.rb
126
126
  - README.md
127
127
  homepage: http://github.com/jordansissel/ruby-ftw
128
128
  licenses:
@@ -135,20 +135,19 @@ require_paths:
135
135
  - lib
136
136
  required_ruby_version: !ruby/object:Gem::Requirement
137
137
  requirements:
138
- - - '>='
138
+ - - ! '>='
139
139
  - !ruby/object:Gem::Version
140
140
  version: '0'
141
141
  required_rubygems_version: !ruby/object:Gem::Requirement
142
142
  requirements:
143
- - - '>='
143
+ - - ! '>='
144
144
  - !ruby/object:Gem::Version
145
145
  version: '0'
146
146
  requirements: []
147
147
  rubyforge_project:
148
- rubygems_version: 2.1.11
148
+ rubygems_version: 2.1.10
149
149
  signing_key:
150
150
  specification_version: 4
151
151
  summary: For The Web. Trying to build a solid and sane API for client and server web
152
152
  stuff. Client and Server operations for HTTP, WebSockets, SPDY, etc.
153
153
  test_files: []
154
- has_rdoc: