nng-ruby 0.1.1 → 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 +4 -4
- data/CHANGELOG.md +78 -45
- data/Gemfile +10 -10
- data/LICENSE +21 -21
- data/README.md +1201 -383
- data/Rakefile +22 -22
- data/examples/pair.rb +48 -48
- data/examples/protobuf_advanced.rb +322 -0
- data/examples/protobuf_demo.rb +340 -0
- data/examples/protobuf_example.rb +374 -0
- data/examples/protobuf_simple.rb +191 -0
- data/examples/protobuf_thread.rb +236 -0
- data/examples/pubsub.rb +51 -51
- data/examples/reqrep.rb +54 -54
- data/ext/nng/extconf.rb +80 -0
- data/ext/nng/libnng.so.1.11.0 +0 -0
- data/ext/nng/nng.dll +0 -0
- data/lib/nng/errors.rb +48 -48
- data/lib/nng/ffi.rb +508 -376
- data/lib/nng/message.rb +151 -151
- data/lib/nng/protocols.rb +96 -96
- data/lib/nng/socket.rb +196 -193
- data/lib/nng/version.rb +5 -5
- data/lib/nng.rb +52 -52
- data/nng.gemspec +67 -65
- metadata +29 -7
- data/ext/nng/libnng.so.1.8.0 +0 -0
metadata
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: nng-ruby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1
|
|
4
|
+
version: 1.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
|
-
-
|
|
7
|
+
- QingYi
|
|
8
8
|
bindir: exe
|
|
9
9
|
cert_chain: []
|
|
10
10
|
date: 1980-01-02 00:00:00.000000000 Z
|
|
@@ -79,14 +79,29 @@ dependencies:
|
|
|
79
79
|
- - "~>"
|
|
80
80
|
- !ruby/object:Gem::Version
|
|
81
81
|
version: '0.9'
|
|
82
|
+
- !ruby/object:Gem::Dependency
|
|
83
|
+
name: rake-compiler
|
|
84
|
+
requirement: !ruby/object:Gem::Requirement
|
|
85
|
+
requirements:
|
|
86
|
+
- - "~>"
|
|
87
|
+
- !ruby/object:Gem::Version
|
|
88
|
+
version: '1.0'
|
|
89
|
+
type: :development
|
|
90
|
+
prerelease: false
|
|
91
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
92
|
+
requirements:
|
|
93
|
+
- - "~>"
|
|
94
|
+
- !ruby/object:Gem::Version
|
|
95
|
+
version: '1.0'
|
|
82
96
|
description: Complete Ruby bindings for NNG, a lightweight messaging library. Supports
|
|
83
97
|
all scalability protocols (Pair, Push/Pull, Pub/Sub, Req/Rep, Surveyor/Respondent,
|
|
84
98
|
Bus) and transports (TCP, IPC, Inproc, WebSocket, TLS). Includes bundled libnng
|
|
85
99
|
shared library.
|
|
86
100
|
email:
|
|
87
|
-
-
|
|
101
|
+
- qingyi.mail@gmail.com
|
|
88
102
|
executables: []
|
|
89
|
-
extensions:
|
|
103
|
+
extensions:
|
|
104
|
+
- ext/nng/extconf.rb
|
|
90
105
|
extra_rdoc_files: []
|
|
91
106
|
files:
|
|
92
107
|
- CHANGELOG.md
|
|
@@ -95,9 +110,16 @@ files:
|
|
|
95
110
|
- README.md
|
|
96
111
|
- Rakefile
|
|
97
112
|
- examples/pair.rb
|
|
113
|
+
- examples/protobuf_advanced.rb
|
|
114
|
+
- examples/protobuf_demo.rb
|
|
115
|
+
- examples/protobuf_example.rb
|
|
116
|
+
- examples/protobuf_simple.rb
|
|
117
|
+
- examples/protobuf_thread.rb
|
|
98
118
|
- examples/pubsub.rb
|
|
99
119
|
- examples/reqrep.rb
|
|
100
|
-
- ext/nng/
|
|
120
|
+
- ext/nng/extconf.rb
|
|
121
|
+
- ext/nng/libnng.so.1.11.0
|
|
122
|
+
- ext/nng/nng.dll
|
|
101
123
|
- lib/nng.rb
|
|
102
124
|
- lib/nng/errors.rb
|
|
103
125
|
- lib/nng/ffi.rb
|
|
@@ -119,7 +141,7 @@ post_install_message: |
|
|
|
119
141
|
│ Thank you for installing nng-ruby gem! │
|
|
120
142
|
│ │
|
|
121
143
|
│ NNG (nanomsg-next-generation) Ruby bindings │
|
|
122
|
-
│ Version: 0.1
|
|
144
|
+
│ Version: 1.0.1 │
|
|
123
145
|
│ │
|
|
124
146
|
│ Quick start: │
|
|
125
147
|
│ require 'nng' │
|
|
@@ -143,7 +165,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
143
165
|
- !ruby/object:Gem::Version
|
|
144
166
|
version: '0'
|
|
145
167
|
requirements: []
|
|
146
|
-
rubygems_version: 3.6.
|
|
168
|
+
rubygems_version: 3.6.9
|
|
147
169
|
specification_version: 4
|
|
148
170
|
summary: Ruby bindings for NNG (nanomsg-next-generation)
|
|
149
171
|
test_files: []
|
data/ext/nng/libnng.so.1.8.0
DELETED
|
Binary file
|