nng-ruby 0.1.2 → 1.0.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ed7d462befa57843491ea1d0b13ef3abf76e279bc7e2539dadd59314752fa81e
4
- data.tar.gz: 789c112c9ad3e65a2fd73e89b1d71ec8fcb66965724a0f88359996cb6ce62d89
3
+ metadata.gz: 294401d152a59713f0ffd4780363fe6ecdfd60ab124d87552a6565211cce14cb
4
+ data.tar.gz: 643fb30feced099af0683db7d2a22c73e48d7869e2b06e0d81c8fdb3ecb18be8
5
5
  SHA512:
6
- metadata.gz: 93a4eb4f83a54993f0c07951a052217dcec8b6b223179364ce8e97f200816d8d5df0a83940b62588fb5055aca3e2d758dff4ed47713669a43c3b0f0ee08d036e
7
- data.tar.gz: bde9509701d86b8a3e23bd4273ae66d5da41d024278980995894f44e2f20de3820197b3b6c22a9156261257280ca0ba6e5d1a17950d2fcdc301ac954154978c4
6
+ metadata.gz: 168b3a96ce98f65934acb677f736f20f98ea7decbf505052067bad12201aeb5d220fdd7e80a4ed5393836068630a7a06c1678e02816e8e33b68e254bfb74ffc0
7
+ data.tar.gz: 67c470686f1c6ffad6888d1f6bb127f0ea48063b682e4ddaf625d30560de548eb8a5fa4581836f630a9532c13ce3926357cba754ae3a330b14d13256474c3614
data/CHANGELOG.md CHANGED
@@ -1,45 +1,78 @@
1
- # Changelog
2
-
3
- All notable changes to this project will be documented in this file.
4
-
5
- The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
- and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
-
8
- ## [0.1.1] - 2025-10-03
9
-
10
- ### Changed
11
- - Published to GitHub repository
12
- - Updated gem packaging to include source code
13
-
14
- ## [0.1.0] - 2025-10-03
15
-
16
- ### Added
17
- - Initial release of NNG Ruby bindings
18
- - Complete FFI bindings for NNG 1.8.0 (libnng 1.9.0)
19
- - Support for all scalability protocols:
20
- - Pair (pair0, pair1)
21
- - Push/Pull (push0, pull0)
22
- - Pub/Sub (pub0, sub0)
23
- - Req/Rep (req0, rep0)
24
- - Surveyor/Respondent (surveyor0, respondent0)
25
- - Bus (bus0)
26
- - Support for all transports:
27
- - TCP
28
- - IPC
29
- - Inproc
30
- - WebSocket
31
- - TLS
32
- - High-level Ruby API with automatic resource management
33
- - Message-based communication (NNG::Message)
34
- - Socket options and configuration
35
- - Comprehensive error handling
36
- - Bundled libnng shared library (no external dependencies)
37
- - Full async I/O support
38
- - Complete documentation and examples
39
- - RSpec test suite
40
-
41
- ### Infrastructure
42
- - Gem packaging with bundled shared library
43
- - CI/CD ready structure
44
- - YARD documentation support
45
- - Example programs for all protocols
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [1.0.1] - 2025-10-10
9
+
10
+ ### Fixed
11
+ - Include bundled library files (nng.dll, libnng.so.1.11.0) in gem package
12
+ - Gem now works out-of-the-box on Windows and Linux without manual configuration
13
+
14
+ ## [1.0.0] - 2025-10-10
15
+
16
+ ### Added
17
+ - Windows platform support with bundled nng.dll
18
+ - macOS platform support (ready for libnng.dylib)
19
+ - Dynamic library version detection via `nng_version()` API
20
+ - Automatic platform detection and library path resolution
21
+ - Windows test suite (test_windows.rb, test_windows_full.rb)
22
+
23
+ ### Changed
24
+ - **BREAKING**: Upgraded bundled NNG library from v1.8.0 to v1.11.0
25
+ - Refactored library loading logic for cross-platform compatibility
26
+ - Updated `NNG.lib_version` to use runtime version detection
27
+ - Library search paths now platform-aware (.dll/.dylib/.so)
28
+ - Updated all documentation to reflect v1.11.0 and cross-platform support
29
+
30
+ ### Infrastructure
31
+ - Cross-platform support (Windows/macOS/Linux)
32
+ - Platform-specific bundled libraries
33
+ - Enhanced error messages with platform-specific guidance
34
+
35
+ ## [0.1.2] - 2025-10-10
36
+
37
+ ### Added
38
+ - Protocol Buffers integration documentation
39
+ - Enhanced README with detailed usage examples
40
+
41
+ ## [0.1.1] - 2025-10-03
42
+
43
+ ### Changed
44
+ - Published to GitHub repository
45
+ - Updated gem packaging to include source code
46
+
47
+ ## [0.1.0] - 2025-10-03
48
+
49
+ ### Added
50
+ - Initial release of NNG Ruby bindings
51
+ - Complete FFI bindings for NNG 1.8.0 (libnng 1.9.0)
52
+ - Support for all scalability protocols:
53
+ - Pair (pair0, pair1)
54
+ - Push/Pull (push0, pull0)
55
+ - Pub/Sub (pub0, sub0)
56
+ - Req/Rep (req0, rep0)
57
+ - Surveyor/Respondent (surveyor0, respondent0)
58
+ - Bus (bus0)
59
+ - Support for all transports:
60
+ - TCP
61
+ - IPC
62
+ - Inproc
63
+ - WebSocket
64
+ - TLS
65
+ - High-level Ruby API with automatic resource management
66
+ - Message-based communication (NNG::Message)
67
+ - Socket options and configuration
68
+ - Comprehensive error handling
69
+ - Bundled libnng shared library (no external dependencies)
70
+ - Full async I/O support
71
+ - Complete documentation and examples
72
+ - RSpec test suite
73
+
74
+ ### Infrastructure
75
+ - Gem packaging with bundled shared library
76
+ - CI/CD ready structure
77
+ - YARD documentation support
78
+ - Example programs for all protocols
data/Gemfile CHANGED
@@ -1,10 +1,10 @@
1
- # frozen_string_literal: true
2
-
3
- source 'https://rubygems.org'
4
-
5
- # Specify your gem's dependencies in nng.gemspec
6
- gemspec
7
-
8
- gem 'rake', '~> 13.0'
9
- gem 'rspec', '~> 3.0'
10
- gem 'yard', '~> 0.9'
1
+ # frozen_string_literal: true
2
+
3
+ source 'https://rubygems.org'
4
+
5
+ # Specify your gem's dependencies in nng.gemspec
6
+ gemspec
7
+
8
+ gem 'rake', '~> 13.0'
9
+ gem 'rspec', '~> 3.0'
10
+ gem 'yard', '~> 0.9'
data/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2025 Claude Code
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Claude Code
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.