mt-libuv 4.1.02 → 4.1.03

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: 03d28fb8e713c0e8c0d09be7dfa4f3dc22271d780edcc0e8167972f34f961450
4
- data.tar.gz: ab729366196dc161c5b3048f5e5fee2f6e3b6aedf9d6ccdc1ac4e5eae7e752c0
3
+ metadata.gz: a1202ed78ce77bd07568e4227426d50e6fbe0699900c2146890f75151d3c69a0
4
+ data.tar.gz: 9aa062a9eaf012254125890a37b8dce64b6dbb36afee563f9c9c0c61040db31f
5
5
  SHA512:
6
- metadata.gz: 1810a9ef7e39caf71c3937b60fe4f04016996411254486087bc00065f84250b9ca91fdeb1b2e0df3d8034d021c662e09372532b74c05391cd43d637c5a7ce010
7
- data.tar.gz: e98484bc0dc0d08a6050ea8703309e26a4cbfe37ad86c1ab564fa422bf6a5d83dbf12ab0127f05c8593aebcdf6d94033138f40c95bfda1e076d5c8ff1d5b2fb6
6
+ metadata.gz: 2f0461eaec6df22b89e63af45508401530d1a9bd341113edfbfc0aa2e50239c879dee658fe0d4f22a2499c1ed5db76324ae379b02cad8d3a46a00d4e5fb29591
7
+ data.tar.gz: 9865e4c1eefebdc94a5d8366912f474615b2face27804c067f4cf190acf9edbaefc42b2eceeb7579d8c1179f2a2e465295a46ebe6cc9d2e9307d846262d945b8
data/README.md CHANGED
@@ -14,7 +14,7 @@ For convenience the thread local or default reactor can be accessed via the `rea
14
14
  You can pass a block to be executed on the reactor and the reactor will run until there is nothing left to do.
15
15
 
16
16
  ```ruby
17
- require 'libuv'
17
+ require 'mt-libuv'
18
18
 
19
19
  reactor do |reactor|
20
20
  reactor.timer {
@@ -28,7 +28,7 @@ You can pass a block to be executed on the reactor and the reactor will run unti
28
28
  Promises are used to simplify code flow.
29
29
 
30
30
  ```ruby
31
- require 'libuv'
31
+ require 'mt-libuv'
32
32
 
33
33
  reactor do |reactor|
34
34
  reactor.tcp { |data, socket|
@@ -51,7 +51,7 @@ Promises are used to simplify code flow.
51
51
  Continuations are used if callbacks are not defined
52
52
 
53
53
  ```ruby
54
- require 'libuv'
54
+ require 'mt-libuv'
55
55
 
56
56
  reactor do |reactor|
57
57
  begin
@@ -71,7 +71,7 @@ Continuations are used if callbacks are not defined
71
71
  Any promise can be converted into a continuation
72
72
 
73
73
  ```ruby
74
- require 'libuv'
74
+ require 'mt-libuv'
75
75
 
76
76
  reactor do |reactor|
77
77
  # Perform work on the thread pool with promises
data/lib/mt-libuv/tcp.rb CHANGED
@@ -62,12 +62,12 @@ module MTLibuv
62
62
  hosts = @tls_options[:hosts]
63
63
  if hosts && hosts[0]
64
64
  opts = @tls_options.merge(hosts[0])
65
- @tls = ::RubyTls::SSL::Box.new(opts[:server], self, opts)
65
+ @tls = ::MTRubyTls::SSL::Box.new(opts[:server], self, opts)
66
66
  hosts[1..-1].each do |host_opts|
67
67
  @tls.add_host(**host_opts)
68
68
  end
69
69
  else
70
- @tls = ::RubyTls::SSL::Box.new(@tls_options[:server], self, @tls_options)
70
+ @tls = ::MTRubyTls::SSL::Box.new(@tls_options[:server], self, @tls_options)
71
71
  end
72
72
  @tls.start
73
73
  self
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MTLibuv
4
- VERSION = '4.1.02'
4
+ VERSION = '4.1.03'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mt-libuv
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.02
4
+ version: 4.1.03
5
5
  platform: ruby
6
6
  authors:
7
7
  - Giallombardo Nathan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-03-22 00:00:00.000000000 Z
11
+ date: 2022-03-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi