io-endpoint 0.15.2 → 0.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/readme.md CHANGED
@@ -6,7 +6,61 @@ Provides a separation of concerns interface for IO endpoints. This allows you to
6
6
 
7
7
  ## Usage
8
8
 
9
- Please see the [documentation](https://socketry.github.io/io-endpoint) for more information.
9
+ Please see the [project documentation](https://socketry.github.io/io-endpoint) for more details.
10
+
11
+ - [Getting Started](https://socketry.github.io/io-endpointguides/getting-started/index) - This guide explains how to get started with `io-endpoint`, a library that provides a separation of concerns interface for network I/O endpoints.
12
+
13
+ - [Named Endpoints](https://socketry.github.io/io-endpointguides/named-endpoints/index) - This guide explains how to use `IO::Endpoint::NamedEndpoints` to manage multiple endpoints by name, enabling scenarios like running the same application on different protocols or ports.
14
+
15
+ ## Releases
16
+
17
+ Please see the [project releases](https://socketry.github.io/io-endpointreleases/index) for all releases.
18
+
19
+ ### v0.17.0
20
+
21
+ - Added `IO::Endpoint::NamedEndpoints` for accessing endpoints by symbolic names, useful for running applications on multiple endpoints with different configurations.
22
+
23
+ ### v0.16.0
24
+
25
+ - Improved error handling in `#connect` for more robust connection handling.
26
+ - Added getting started guide and improved documentation coverage.
27
+
28
+ ### v0.15.2
29
+
30
+ - Fixed `UNIXEndpoint#bind` to pass all arguments through to super.
31
+
32
+ ### v0.15.1
33
+
34
+ - Added `async-dns` to externals and restored removed method.
35
+
36
+ ### v0.15.0
37
+
38
+ - Allow wrapper to be customized using endpoint `options[:wrapper]`.
39
+ - Expose wrapper extension points for `connect` and `accept`.
40
+
41
+ ### v0.14.0
42
+
43
+ - Uniform `#to_s` and `#inspect` implementations across all endpoints.
44
+
45
+ ### v0.13.1
46
+
47
+ - Fixed state leak between iterations of the accept loop.
48
+
49
+ ### v0.13.0
50
+
51
+ - Propagate options assigned to composite endpoint to nested endpoints.
52
+
53
+ ### v0.12.0
54
+
55
+ - Expose `size` and internal endpoints for composite endpoint.
56
+
57
+ ### v0.10.3
58
+
59
+ - Fixed `SSLServer#accept` failures causing accept loop to exit. (\#10)
60
+
61
+ ## See Also
62
+
63
+ - [async-io](https://github.com/socketry/async-io) — Where this implementation originally came from.
10
64
 
11
65
  ## Contributing
12
66
 
@@ -25,7 +79,3 @@ In order to protect users of this project, we require all contributors to comply
25
79
  ### Community Guidelines
26
80
 
27
81
  This project is best served by a collaborative and respectful environment. Treat each other professionally, respect differing viewpoints, and engage constructively. Harassment, discrimination, or harmful behavior is not tolerated. Communicate clearly, listen actively, and support one another. If any issues arise, please inform the project maintainers.
28
-
29
- ## See Also
30
-
31
- - [async-io](https://github.com/socketry/async-io) — Where this implementation originally came from.
data/releases.md ADDED
@@ -0,0 +1,107 @@
1
+ # Releases
2
+
3
+ ## v0.17.0
4
+
5
+ - Added `IO::Endpoint::NamedEndpoints` for accessing endpoints by symbolic names, useful for running applications on multiple endpoints with different configurations.
6
+
7
+ ## v0.16.0
8
+
9
+ - Improved error handling in `#connect` for more robust connection handling.
10
+ - Added getting started guide and improved documentation coverage.
11
+
12
+ ## v0.15.2
13
+
14
+ - Fixed `UNIXEndpoint#bind` to pass all arguments through to super.
15
+
16
+ ## v0.15.1
17
+
18
+ - Added `async-dns` to externals and restored removed method.
19
+
20
+ ## v0.15.0
21
+
22
+ - Allow wrapper to be customized using endpoint `options[:wrapper]`.
23
+ - Expose wrapper extension points for `connect` and `accept`.
24
+
25
+ ## v0.14.0
26
+
27
+ - Uniform `#to_s` and `#inspect` implementations across all endpoints.
28
+
29
+ ## v0.13.1
30
+
31
+ - Fixed state leak between iterations of the accept loop.
32
+
33
+ ## v0.13.0
34
+
35
+ - Propagate options assigned to composite endpoint to nested endpoints.
36
+
37
+ ## v0.12.0
38
+
39
+ - Expose `size` and internal endpoints for composite endpoint.
40
+
41
+ ## v0.10.3
42
+
43
+ - Fixed `SSLServer#accept` failures causing accept loop to exit. (\#10)
44
+
45
+ ## v0.10.2
46
+
47
+ - Centralized usage of `listen` to wrapper.
48
+
49
+ ## v0.10.1
50
+
51
+ - Ensure `listen` is called.
52
+
53
+ ## v0.10.0
54
+
55
+ - Don't hardcode timeout support - detect at run-time.
56
+
57
+ ## v0.9.0
58
+
59
+ - Correctly set `sync_close`. (\#7)
60
+
61
+ ## v0.8.1
62
+
63
+ - Remove broken `require_relative 'readable'`.
64
+
65
+ ## v0.8.0
66
+
67
+ - Removed `IO#readable?` dependency in favor of `io-stream` gem.
68
+
69
+ ## v0.7.2
70
+
71
+ - Added missing `SSLSocket#remote_address`.
72
+
73
+ ## v0.7.1
74
+
75
+ - Improved shims for `IO#readable?`.
76
+
77
+ ## v0.7.0
78
+
79
+ - Fixed shim for `OpenSSL::SSL::SSLSocket#local_address`.
80
+ - Added shim for `IO#readable?`.
81
+
82
+ ## v0.6.0
83
+
84
+ - Allow `Wrapper#accept` to ignore unknown options.
85
+
86
+ ## v0.5.0
87
+
88
+ - Fixed the OpenSSL shims. (\#5)
89
+ - Simplified implementation and separated connected/bound options. (\#4)
90
+
91
+ ## v0.4.0
92
+
93
+ - Improved compatibility with `async-http`/`async-io`. (\#3)
94
+
95
+ ## v0.3.0
96
+
97
+ - Fixed OpenSSL integration. (\#2)
98
+
99
+ ## v0.2.0
100
+
101
+ - Added option `buffered:` for controlling `TCP_NODELAY`.
102
+
103
+ ## v0.1.0
104
+
105
+ - Initial implementation extracted from `async-io`.
106
+ - Added support for thread and fiber wrappers.
107
+ - Support Ruby 2.7+ with optional `set_timeout`.
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: io-endpoint
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.2
4
+ version: 0.17.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
@@ -36,12 +36,15 @@ cert_chain:
36
36
  Q2K9NVun/S785AP05vKkXZEFYxqG6EW012U4oLcFl5MySFajYXRYbuUpH6AY+HP8
37
37
  voD0MPg1DssDLKwXyt1eKD/+Fq0bFWhwVM/1XiAXL7lyYUyOq24KHgQ2Csg=
38
38
  -----END CERTIFICATE-----
39
- date: 2025-02-20 00:00:00.000000000 Z
39
+ date: 1980-01-02 00:00:00.000000000 Z
40
40
  dependencies: []
41
41
  executables: []
42
42
  extensions: []
43
43
  extra_rdoc_files: []
44
44
  files:
45
+ - context/getting-started.md
46
+ - context/index.yaml
47
+ - context/named-endpoints.md
45
48
  - lib/io/endpoint.rb
46
49
  - lib/io/endpoint/address_endpoint.rb
47
50
  - lib/io/endpoint/bound_endpoint.rb
@@ -49,6 +52,7 @@ files:
49
52
  - lib/io/endpoint/connected_endpoint.rb
50
53
  - lib/io/endpoint/generic.rb
51
54
  - lib/io/endpoint/host_endpoint.rb
55
+ - lib/io/endpoint/named_endpoints.rb
52
56
  - lib/io/endpoint/shared_endpoint.rb
53
57
  - lib/io/endpoint/socket_endpoint.rb
54
58
  - lib/io/endpoint/ssl_endpoint.rb
@@ -57,6 +61,7 @@ files:
57
61
  - lib/io/endpoint/wrapper.rb
58
62
  - license.md
59
63
  - readme.md
64
+ - releases.md
60
65
  homepage: https://github.com/socketry/io-endpoint
61
66
  licenses:
62
67
  - MIT
@@ -70,14 +75,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
70
75
  requirements:
71
76
  - - ">="
72
77
  - !ruby/object:Gem::Version
73
- version: '3.1'
78
+ version: '3.2'
74
79
  required_rubygems_version: !ruby/object:Gem::Requirement
75
80
  requirements:
76
81
  - - ">="
77
82
  - !ruby/object:Gem::Version
78
83
  version: '0'
79
84
  requirements: []
80
- rubygems_version: 3.6.2
85
+ rubygems_version: 3.6.9
81
86
  specification_version: 4
82
87
  summary: Provides a separation of concerns interface for IO endpoints.
83
88
  test_files: []
metadata.gz.sig CHANGED
Binary file