omq-backend-rust 0.1.2 → 0.1.4

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: bd73155eaedf15bf7351751984ad50fb2b3bb8847a0e2148f14233b1e6e551cc
4
- data.tar.gz: 2f6f2f25ffb09b2eda6c2521ecc73d130cbd21429278d6e502b75bf8f62884b7
3
+ metadata.gz: f88c907143589e86949e595e966f073a907bde07f345f9bc6dff8e66202a8f8f
4
+ data.tar.gz: d61cde4ecb12f9a31dd213405eab776f192884b2346be18d2da9eeea8d131669
5
5
  SHA512:
6
- metadata.gz: 40e8735baf3b175dabb91751f2497c808d8fabf1d4b20c4075b5015a48fd31c9533356282cc1d1b112ba73f95d0fc6c2f273dc18dd6f3fcee1b029144b114267
7
- data.tar.gz: 305d08e9aba9ba2cb634c7e4bfe6d11edcea7afa2d8ce4e203da58f2ce468faa9f92159650a0663d104296cee66e96630609133610e4b9d38af1f510d916af0c
6
+ metadata.gz: 3be9baa628d9715360d9388bd2bdeb77fc6d1fc45e3dbb135f72d0834ed21b3e4fae4c5e086fa596a84789efc5211cdf7d7afce3084a1eb3c6d9d4796899e01b
7
+ data.tar.gz: 16079c0457a106b79144d2e217e281e9cd1d629fd62d4c5ca2bb81637079092b6e652a26df06f31945a7293b05b8e99678782d70a1a0ac53695e270bd9461898
data/CHANGELOG.md CHANGED
@@ -2,6 +2,22 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [0.1.4] - 2026-07-30
6
+
7
+ ### Fixed
8
+
9
+ - Accepted Ruby string identities when materializing Rust sockets.
10
+
11
+ ## [0.1.3] - 2026-07-30
12
+
13
+ ### Added
14
+
15
+ - Added `require "omq/backend/rust"` as the canonical backend load path.
16
+
17
+ ### Removed
18
+
19
+ - Removed the old `require "omq/rust"` load path.
20
+
5
21
  ## 0.1.2 - 2026-07-28
6
22
 
7
23
  ### Changed
data/README.md CHANGED
@@ -26,7 +26,7 @@ gem install omq-backend-rust
26
26
 
27
27
  ```ruby
28
28
  require "omq"
29
- require "omq/rust"
29
+ require "omq/backend/rust"
30
30
 
31
31
  Async do
32
32
  push = OMQ::PUSH.new(backend: :rust)
@@ -19,7 +19,7 @@ pub fn build_options(ruby: &Ruby, hash: RHash) -> Result<omq_tokio::Options, Err
19
19
  Some(Duration::from_secs_f64(v))
20
20
  };
21
21
  }
22
- if let Some(v) = get_opt::<Vec<u8>>(ruby, hash, "identity")? {
22
+ if let Some(v) = get_opt_bytes(ruby, hash, "identity")? {
23
23
  if !v.is_empty() {
24
24
  opts.identity = Bytes::from(v);
25
25
  }
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require "omq"
4
- require "omq/rust/omq_backend_rust"
5
- require_relative "rust/version"
6
- require_relative "rust/engine"
4
+ require_relative "../rust/omq_backend_rust"
5
+ require_relative "../rust/version"
6
+ require_relative "../rust/engine"
7
7
 
8
8
  module OMQ
9
9
  module Rust
@@ -2,6 +2,6 @@
2
2
 
3
3
  module OMQ
4
4
  module Rust
5
- VERSION = "0.1.2"
5
+ VERSION = "0.1.4"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omq-backend-rust
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Patrik Wenger
@@ -60,7 +60,7 @@ files:
60
60
  - ext/omq_backend_rust/src/options.rs
61
61
  - ext/omq_backend_rust/src/runtime.rs
62
62
  - ext/omq_backend_rust/src/socket.rs
63
- - lib/omq/rust.rb
63
+ - lib/omq/backend/rust.rb
64
64
  - lib/omq/rust/engine.rb
65
65
  - lib/omq/rust/version.rb
66
66
  homepage: https://github.com/zeromq/omq.rb/tree/main/gems/omq-backend-rust