async-io 1.6.0 → 1.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/async/io/endpoint.rb +1 -1
- data/lib/async/io/version.rb +1 -1
- data/spec/async/io/endpoint_spec.rb +6 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aafe303b0c0b238c295127f824835dba4a5cd60dd6c7f9982c5c7986469643af
|
4
|
+
data.tar.gz: 77ef702c59f1a8d0c33f0dbea1efc76ea8141316c063e22d750974276ec2882a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ceb9f804c934abdff5e465efb40e2423d69c741144b0bff01208ddc1be034c8c60289be7566dd6f9e59bc2bfe24943c153bcf20a267f5f4126ba003524c49e6b
|
7
|
+
data.tar.gz: 6ade7b746032a731210d840c5c41d752f5c4b646f875dbaba5753b704a51fc969387a39c737bdfba463b51eb0cb97efd58e08b4e80ca9200474b6fcd6a345b71
|
data/lib/async/io/endpoint.rb
CHANGED
data/lib/async/io/version.rb
CHANGED
@@ -24,6 +24,12 @@ require 'async/io/tcp_socket'
|
|
24
24
|
RSpec.describe Async::IO::Endpoint do
|
25
25
|
include_context Async::RSpec::Reactor
|
26
26
|
|
27
|
+
describe Async::IO::Endpoint.ssl('0.0.0.0', 5234, hostname: "lolcathost") do
|
28
|
+
it "should have hostname" do
|
29
|
+
expect(subject.hostname).to be == "lolcathost"
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
27
33
|
describe Async::IO::Endpoint.tcp('0.0.0.0', 5234, reuse_port: true) do
|
28
34
|
it "should be a tcp binding" do
|
29
35
|
subject.bind do |server|
|