ftw 0.0.36 → 0.0.37
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/lib/ftw/connection.rb +6 -1
- data/lib/ftw/version.rb +1 -1
- metadata +28 -40
checksums.yaml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
NDc2MTQ2MWMwNTk2YWFkYjRlNWM1OWJmZjVjM2RkZmQyNGIzYzBjZQ==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
MTcxOWNjZWM5MGQ5OWU4ODY1MmU2MDQ4YmEzNTgwMTI1Mjk3NDRlYg==
|
7
|
+
SHA512:
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
ZGM5N2UwZjlhZTIzMWZhMjZmOTlkMmE2NDY4MTczNTMwMThlZjY3MGZjNzc4
|
10
|
+
MTAyNDY3YTJhOTZiNDQwNDc1NjA5MmI2YmVhN2ExNzFlYTE5OWUwODVmZGIy
|
11
|
+
MzE1ZjQwZDQzOWE0NDQ5ZGUyZjhlNzg2YWJjNDY0YTU5N2Y1MWE=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
NDllOTg3NjU1OGVhN2ZmMjhjOGNlYzg3OGY1MDdmYzhmYTU0MGZlODllMjcx
|
14
|
+
ZTkzMTRjZWQ3ZGUxMDFiZGU4NTc5N2I0MDk1ZjIzMWZmNDJiYjBmOGMyZjg0
|
15
|
+
NmFjZmYwNjk5ZjI4ODZhNzIwNDVkNGY1MmZhYzNjMDQ2Njk2YTQ=
|
data/lib/ftw/connection.rb
CHANGED
@@ -4,7 +4,12 @@ require "ftw/poolable"
|
|
4
4
|
require "ftw/namespace"
|
5
5
|
require "socket"
|
6
6
|
require "timeout" # ruby stdlib, just for the Timeout exception.
|
7
|
-
|
7
|
+
|
8
|
+
if RUBY_VERSION =~ /^1\.8/
|
9
|
+
# for Array#rotate, IO::WaitWritable, etc, in ruby < 1.9
|
10
|
+
require "backports"
|
11
|
+
end
|
12
|
+
|
8
13
|
require "openssl"
|
9
14
|
|
10
15
|
# A network connection. This is TCP.
|
data/lib/ftw/version.rb
CHANGED
metadata
CHANGED
@@ -1,20 +1,18 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ftw
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.0.37
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Jordan Sissel
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2013-
|
11
|
+
date: 2013-12-05 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: cabin
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
17
|
- - ! '>'
|
20
18
|
- !ruby/object:Gem::Version
|
@@ -22,7 +20,6 @@ dependencies:
|
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
24
|
- - ! '>'
|
28
25
|
- !ruby/object:Gem::Version
|
@@ -30,7 +27,6 @@ dependencies:
|
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: http_parser.rb
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
31
|
- - '='
|
36
32
|
- !ruby/object:Gem::Version
|
@@ -38,7 +34,6 @@ dependencies:
|
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
38
|
- - '='
|
44
39
|
- !ruby/object:Gem::Version
|
@@ -46,7 +41,6 @@ dependencies:
|
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: addressable
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
45
|
- - ! '>='
|
52
46
|
- !ruby/object:Gem::Version
|
@@ -54,7 +48,6 @@ dependencies:
|
|
54
48
|
type: :runtime
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
52
|
- - ! '>='
|
60
53
|
- !ruby/object:Gem::Version
|
@@ -62,7 +55,6 @@ dependencies:
|
|
62
55
|
- !ruby/object:Gem::Dependency
|
63
56
|
name: backports
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
58
|
requirements:
|
67
59
|
- - ! '>='
|
68
60
|
- !ruby/object:Gem::Version
|
@@ -70,7 +62,6 @@ dependencies:
|
|
70
62
|
type: :runtime
|
71
63
|
prerelease: false
|
72
64
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
65
|
requirements:
|
75
66
|
- - ! '>='
|
76
67
|
- !ruby/object:Gem::Version
|
@@ -78,7 +69,6 @@ dependencies:
|
|
78
69
|
- !ruby/object:Gem::Dependency
|
79
70
|
name: minitest
|
80
71
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
72
|
requirements:
|
83
73
|
- - ! '>'
|
84
74
|
- !ruby/object:Gem::Version
|
@@ -86,7 +76,6 @@ dependencies:
|
|
86
76
|
type: :development
|
87
77
|
prerelease: false
|
88
78
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
79
|
requirements:
|
91
80
|
- - ! '>'
|
92
81
|
- !ruby/object:Gem::Version
|
@@ -99,67 +88,66 @@ executables: []
|
|
99
88
|
extensions: []
|
100
89
|
extra_rdoc_files: []
|
101
90
|
files:
|
91
|
+
- lib/rack/handler/ftw.rb
|
102
92
|
- lib/ftw/dns.rb
|
103
|
-
- lib/ftw/
|
104
|
-
- lib/ftw/
|
105
|
-
- lib/ftw/
|
106
|
-
- lib/ftw/
|
107
|
-
- lib/ftw/
|
108
|
-
- lib/ftw/websocket
|
93
|
+
- lib/ftw/dns/dns.rb
|
94
|
+
- lib/ftw/dns/hash.rb
|
95
|
+
- lib/ftw/agent.rb
|
96
|
+
- lib/ftw/agent/configuration.rb
|
97
|
+
- lib/ftw/singleton.rb
|
98
|
+
- lib/ftw/websocket.rb
|
109
99
|
- lib/ftw/connection.rb
|
110
|
-
- lib/ftw/
|
111
|
-
- lib/ftw/
|
100
|
+
- lib/ftw/http/headers.rb
|
101
|
+
- lib/ftw/http/message.rb
|
112
102
|
- lib/ftw/poolable.rb
|
113
|
-
- lib/ftw/websocket.rb
|
114
|
-
- lib/ftw/singleton.rb
|
115
103
|
- lib/ftw/server.rb
|
104
|
+
- lib/ftw/response.rb
|
105
|
+
- lib/ftw/protocol.rb
|
106
|
+
- lib/ftw/cacert.pem
|
116
107
|
- lib/ftw/version.rb
|
117
|
-
- lib/ftw/
|
108
|
+
- lib/ftw/namespace.rb
|
118
109
|
- lib/ftw/request.rb
|
119
|
-
- lib/ftw/agent/configuration.rb
|
120
|
-
- lib/ftw/webserver.rb
|
121
|
-
- lib/ftw/agent.rb
|
122
|
-
- lib/ftw/protocol.rb
|
123
110
|
- lib/ftw/crlf.rb
|
124
|
-
- lib/ftw/
|
125
|
-
- lib/ftw/
|
126
|
-
- lib/ftw/
|
127
|
-
- lib/ftw/
|
128
|
-
- lib/
|
111
|
+
- lib/ftw/pool.rb
|
112
|
+
- lib/ftw/webserver.rb
|
113
|
+
- lib/ftw/websocket/writer.rb
|
114
|
+
- lib/ftw/websocket/rack.rb
|
115
|
+
- lib/ftw/websocket/parser.rb
|
116
|
+
- lib/ftw/websocket/constants.rb
|
117
|
+
- lib/ftw/cookies.rb
|
129
118
|
- lib/ftw.rb
|
119
|
+
- test/testing.rb
|
120
|
+
- test/all.rb
|
130
121
|
- test/ftw/singleton.rb
|
131
|
-
- test/ftw/crlf.rb
|
132
122
|
- test/ftw/http/dns.rb
|
133
123
|
- test/ftw/http/headers.rb
|
124
|
+
- test/ftw/crlf.rb
|
134
125
|
- test/docs.rb
|
135
|
-
- test/testing.rb
|
136
|
-
- test/all.rb
|
137
126
|
- README.md
|
138
127
|
homepage: http://github.com/jordansissel/ruby-ftw
|
139
128
|
licenses:
|
140
129
|
- Apache License (2.0)
|
130
|
+
metadata: {}
|
141
131
|
post_install_message:
|
142
132
|
rdoc_options: []
|
143
133
|
require_paths:
|
144
134
|
- lib
|
145
135
|
- lib
|
146
136
|
required_ruby_version: !ruby/object:Gem::Requirement
|
147
|
-
none: false
|
148
137
|
requirements:
|
149
138
|
- - ! '>='
|
150
139
|
- !ruby/object:Gem::Version
|
151
140
|
version: '0'
|
152
141
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
153
|
-
none: false
|
154
142
|
requirements:
|
155
143
|
- - ! '>='
|
156
144
|
- !ruby/object:Gem::Version
|
157
145
|
version: '0'
|
158
146
|
requirements: []
|
159
147
|
rubyforge_project:
|
160
|
-
rubygems_version: 1.
|
148
|
+
rubygems_version: 2.1.10
|
161
149
|
signing_key:
|
162
|
-
specification_version:
|
150
|
+
specification_version: 4
|
163
151
|
summary: For The Web. Trying to build a solid and sane API for client and server web
|
164
152
|
stuff. Client and Server operations for HTTP, WebSockets, SPDY, etc.
|
165
153
|
test_files: []
|