raktr 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bc4987dc641627a255160a0dad3f224c7fd8e828d590ca13756412086366e2c1
4
- data.tar.gz: 742d66bf3e8b27f44f39a6fbf507d0d35116538663c74260865148941e7b0ecb
3
+ metadata.gz: 78b82e1e277f9547fdfc576009b4b5883df5711ba8cca50a369651f758407aff
4
+ data.tar.gz: 1f594aa25c1872d359de5f7ef1a5e42dcad7699ff5ab54594ab099a3d2fa4315
5
5
  SHA512:
6
- metadata.gz: 58cb0e4f960c45f13402635672442fe1baa747e6b22be04331bde93039eee8afb6ad0e6feed06f55e0e5a6a1cb98a790f9e8e1f2ce73580504a1ffbe6d62b8a5
7
- data.tar.gz: 724bb3215905b46711801bb9b89182079e42e40f3b6979c58478b821c9b93ea4118f627fc6a868190d5201fe0b219d98a08d00b3f740bf3f9a0397a0cef254ef
6
+ metadata.gz: b0f1c2ec3508f4fa3c7bc841c553e5cc220208a3f7ea922802681742d33fbcb930a329eec352198f42f7910e90b679e663d08a1be19e5a91afdeb75b7cca57ed
7
+ data.tar.gz: 70eea04282a7c7ddf99d7f3df0e1e170e4eafaecb165ae02355aa1af899df089577aee4473b36a02358dd90008d2dded1772d3f7853d50dfc8ab62c7cc74a025
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # ChangeLog
2
2
 
3
+ # 0.0.3
4
+
5
+ * `#connect`, `#listen`: Re-raise exceptions.
6
+
7
+
3
8
  # 0.0.2
4
9
 
5
10
  * Reduced object allocations.
data/README.md CHANGED
@@ -1,34 +1,5 @@
1
1
  # Raktr
2
2
 
3
- <table>
4
- <tr>
5
- <th>Version</th>
6
- <td>0.0.1</td>
7
- </tr>
8
- <tr>
9
- <th>Github page</th>
10
- <td><a href="http://github.com/qadron/raktr">http://github.com/qadron/raktr</a></td>
11
- <tr/>
12
- <tr>
13
- <th>Code Documentation</th>
14
- <td><a href="http://rubydoc.info/github/qadron/raktr/">http://rubydoc.info/github/qadron/raktr/</a></td>
15
- </tr>
16
- <tr>
17
- <th>Author</th>
18
- <td><a href="http://twitter.com/Zap0tek">Tasos Laskos</a></td>
19
- </tr>
20
- <tr>
21
- <th>Copyright</th>
22
- <td>2022 <a href="https://ecsypno.com">Ecsypno</a></td>
23
- </tr>
24
- <tr>
25
- <th>License</th>
26
- <td><a href="file.LICENSE.html">3-clause BSD</a></td>
27
- </tr>
28
- </table>
29
-
30
- ## Synopsis
31
-
32
3
  Raktr is a simple, lightweight, pure-Ruby implementation of the
33
4
  [Reactor](http://en.wikipedia.org/wiki/Reactor_pattern) pattern, mainly focused
34
5
  on network connections -- and less so on generic tasks.
data/lib/raktr/version.rb CHANGED
@@ -8,6 +8,6 @@
8
8
 
9
9
  class Raktr
10
10
 
11
- VERSION = '0.0.2'
11
+ VERSION = '0.0.3'
12
12
 
13
13
  end
data/lib/raktr.rb CHANGED
@@ -202,6 +202,7 @@ class Raktr
202
202
  attach connection
203
203
  rescue => e
204
204
  connection.close e
205
+ raise
205
206
  end
206
207
 
207
208
  connection
@@ -264,6 +265,7 @@ class Raktr
264
265
  attach server
265
266
  rescue => e
266
267
  server.close e
268
+ raise
267
269
  end
268
270
 
269
271
  server
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: raktr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tasos Laskos
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-03-21 00:00:00.000000000 Z
11
+ date: 2023-05-19 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |2
14
14
  Raktr is a simple, lightweight, pure-Ruby implementation of the Reactor
@@ -96,44 +96,44 @@ required_rubygems_version: !ruby/object:Gem::Requirement
96
96
  - !ruby/object:Gem::Version
97
97
  version: '0'
98
98
  requirements: []
99
- rubygems_version: 3.1.6
99
+ rubygems_version: 3.4.13
100
100
  signing_key:
101
101
  specification_version: 4
102
102
  summary: A pure-Ruby implementation of the Reactor pattern.
103
103
  test_files:
104
- - spec/raktr_spec.rb
105
- - spec/support/shared/connection.rb
106
- - spec/support/shared/task.rb
107
- - spec/support/shared/raktr.rb
108
- - spec/support/lib/servers/runner.rb
109
- - spec/support/lib/servers.rb
110
- - spec/support/lib/server_option_parser.rb
111
- - spec/support/servers/echo.rb
112
- - spec/support/servers/echo_unix_tls.rb
113
- - spec/support/servers/echo_tls.rb
114
- - spec/support/servers/echo_unix.rb
115
- - spec/support/fixtures/pems/cacert.pem
116
- - spec/support/fixtures/pems/server/cert.pem
117
- - spec/support/fixtures/pems/server/key.pem
118
- - spec/support/fixtures/pems/client/foo-cert.pem
119
- - spec/support/fixtures/pems/client/cert.pem
120
- - spec/support/fixtures/pems/client/foo-key.pem
121
- - spec/support/fixtures/pems/client/key.pem
122
- - spec/support/fixtures/handlers/echo_server.rb
123
- - spec/support/fixtures/handlers/echo_server_tls.rb
124
- - spec/support/fixtures/handlers/echo_client.rb
125
- - spec/support/fixtures/handlers/echo_client_tls.rb
126
- - spec/support/helpers/paths.rb
127
- - spec/support/helpers/utilities.rb
128
- - spec/spec_helper.rb
129
- - spec/raktr/connection/tls_spec.rb
130
- - spec/raktr/iterator_spec.rb
104
+ - spec/raktr/connection_spec.rb
131
105
  - spec/raktr/tasks_spec.rb
132
106
  - spec/raktr/queue_spec.rb
133
- - spec/raktr/tasks/one_off_spec.rb
134
107
  - spec/raktr/tasks/delayed_spec.rb
108
+ - spec/raktr/tasks/one_off_spec.rb
135
109
  - spec/raktr/tasks/base.rb
136
110
  - spec/raktr/tasks/periodic_spec.rb
137
111
  - spec/raktr/tasks/persistent_spec.rb
138
- - spec/raktr/connection_spec.rb
112
+ - spec/raktr/iterator_spec.rb
113
+ - spec/raktr/connection/tls_spec.rb
114
+ - spec/spec_helper.rb
139
115
  - spec/raktr_tls_spec.rb
116
+ - spec/support/helpers/utilities.rb
117
+ - spec/support/helpers/paths.rb
118
+ - spec/support/fixtures/handlers/echo_server.rb
119
+ - spec/support/fixtures/handlers/echo_server_tls.rb
120
+ - spec/support/fixtures/handlers/echo_client_tls.rb
121
+ - spec/support/fixtures/handlers/echo_client.rb
122
+ - spec/support/fixtures/pems/cacert.pem
123
+ - spec/support/fixtures/pems/server/cert.pem
124
+ - spec/support/fixtures/pems/server/key.pem
125
+ - spec/support/fixtures/pems/client/foo-key.pem
126
+ - spec/support/fixtures/pems/client/foo-cert.pem
127
+ - spec/support/fixtures/pems/client/cert.pem
128
+ - spec/support/fixtures/pems/client/key.pem
129
+ - spec/support/shared/task.rb
130
+ - spec/support/shared/raktr.rb
131
+ - spec/support/shared/connection.rb
132
+ - spec/support/lib/servers.rb
133
+ - spec/support/lib/servers/runner.rb
134
+ - spec/support/lib/server_option_parser.rb
135
+ - spec/support/servers/echo_unix.rb
136
+ - spec/support/servers/echo_tls.rb
137
+ - spec/support/servers/echo.rb
138
+ - spec/support/servers/echo_unix_tls.rb
139
+ - spec/raktr_spec.rb