polyphony 0.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.md +86 -0
- data/README.md +400 -0
- data/ext/ev/extconf.rb +19 -0
- data/lib/polyphony.rb +26 -0
- data/lib/polyphony/core.rb +45 -0
- data/lib/polyphony/core/async.rb +36 -0
- data/lib/polyphony/core/cancel_scope.rb +61 -0
- data/lib/polyphony/core/channel.rb +39 -0
- data/lib/polyphony/core/coroutine.rb +106 -0
- data/lib/polyphony/core/exceptions.rb +24 -0
- data/lib/polyphony/core/fiber_pool.rb +98 -0
- data/lib/polyphony/core/supervisor.rb +75 -0
- data/lib/polyphony/core/sync.rb +20 -0
- data/lib/polyphony/core/thread.rb +49 -0
- data/lib/polyphony/core/thread_pool.rb +58 -0
- data/lib/polyphony/core/throttler.rb +38 -0
- data/lib/polyphony/extensions/io.rb +62 -0
- data/lib/polyphony/extensions/kernel.rb +161 -0
- data/lib/polyphony/extensions/postgres.rb +96 -0
- data/lib/polyphony/extensions/redis.rb +68 -0
- data/lib/polyphony/extensions/socket.rb +85 -0
- data/lib/polyphony/extensions/ssl.rb +73 -0
- data/lib/polyphony/fs.rb +22 -0
- data/lib/polyphony/http/agent.rb +214 -0
- data/lib/polyphony/http/http1.rb +124 -0
- data/lib/polyphony/http/http1_request.rb +71 -0
- data/lib/polyphony/http/http2.rb +66 -0
- data/lib/polyphony/http/http2_request.rb +69 -0
- data/lib/polyphony/http/rack.rb +27 -0
- data/lib/polyphony/http/server.rb +43 -0
- data/lib/polyphony/line_reader.rb +82 -0
- data/lib/polyphony/net.rb +59 -0
- data/lib/polyphony/net_old.rb +299 -0
- data/lib/polyphony/resource_pool.rb +56 -0
- data/lib/polyphony/server_task.rb +18 -0
- data/lib/polyphony/testing.rb +34 -0
- data/lib/polyphony/version.rb +5 -0
- metadata +170 -0
metadata
ADDED
@@ -0,0 +1,170 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: polyphony
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: '0.13'
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Sharon Rosner
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2019-01-05 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: modulation
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - '='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0.18'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0.18'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: http_parser.rb
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 0.6.0
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 0.6.0
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: http-2
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - '='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 0.10.0
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 0.10.0
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rake-compiler
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - '='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 1.0.5
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - '='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 1.0.5
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: minitest
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - '='
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 5.11.3
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - '='
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 5.11.3
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: localhost
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - '='
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 1.1.4
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - '='
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 1.1.4
|
97
|
+
description:
|
98
|
+
email: ciconia@gmail.com
|
99
|
+
executables: []
|
100
|
+
extensions:
|
101
|
+
- ext/ev/extconf.rb
|
102
|
+
extra_rdoc_files:
|
103
|
+
- README.md
|
104
|
+
files:
|
105
|
+
- CHANGELOG.md
|
106
|
+
- README.md
|
107
|
+
- ext/ev/extconf.rb
|
108
|
+
- lib/polyphony.rb
|
109
|
+
- lib/polyphony/core.rb
|
110
|
+
- lib/polyphony/core/async.rb
|
111
|
+
- lib/polyphony/core/cancel_scope.rb
|
112
|
+
- lib/polyphony/core/channel.rb
|
113
|
+
- lib/polyphony/core/coroutine.rb
|
114
|
+
- lib/polyphony/core/exceptions.rb
|
115
|
+
- lib/polyphony/core/fiber_pool.rb
|
116
|
+
- lib/polyphony/core/supervisor.rb
|
117
|
+
- lib/polyphony/core/sync.rb
|
118
|
+
- lib/polyphony/core/thread.rb
|
119
|
+
- lib/polyphony/core/thread_pool.rb
|
120
|
+
- lib/polyphony/core/throttler.rb
|
121
|
+
- lib/polyphony/extensions/io.rb
|
122
|
+
- lib/polyphony/extensions/kernel.rb
|
123
|
+
- lib/polyphony/extensions/postgres.rb
|
124
|
+
- lib/polyphony/extensions/redis.rb
|
125
|
+
- lib/polyphony/extensions/socket.rb
|
126
|
+
- lib/polyphony/extensions/ssl.rb
|
127
|
+
- lib/polyphony/fs.rb
|
128
|
+
- lib/polyphony/http/agent.rb
|
129
|
+
- lib/polyphony/http/http1.rb
|
130
|
+
- lib/polyphony/http/http1_request.rb
|
131
|
+
- lib/polyphony/http/http2.rb
|
132
|
+
- lib/polyphony/http/http2_request.rb
|
133
|
+
- lib/polyphony/http/rack.rb
|
134
|
+
- lib/polyphony/http/server.rb
|
135
|
+
- lib/polyphony/line_reader.rb
|
136
|
+
- lib/polyphony/net.rb
|
137
|
+
- lib/polyphony/net_old.rb
|
138
|
+
- lib/polyphony/resource_pool.rb
|
139
|
+
- lib/polyphony/server_task.rb
|
140
|
+
- lib/polyphony/testing.rb
|
141
|
+
- lib/polyphony/version.rb
|
142
|
+
homepage: http://github.com/digital-fabric/polyphony
|
143
|
+
licenses:
|
144
|
+
- MIT
|
145
|
+
metadata:
|
146
|
+
source_code_uri: https://github.com/digital-fabric/polyphony
|
147
|
+
post_install_message:
|
148
|
+
rdoc_options:
|
149
|
+
- "--title"
|
150
|
+
- polyphony
|
151
|
+
- "--main"
|
152
|
+
- README.md
|
153
|
+
require_paths:
|
154
|
+
- lib
|
155
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - ">="
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0'
|
160
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
161
|
+
requirements:
|
162
|
+
- - ">="
|
163
|
+
- !ruby/object:Gem::Version
|
164
|
+
version: '0'
|
165
|
+
requirements: []
|
166
|
+
rubygems_version: 3.0.1
|
167
|
+
signing_key:
|
168
|
+
specification_version: 4
|
169
|
+
summary: 'Polyphony: Fiber-based Concurrency for Ruby'
|
170
|
+
test_files: []
|