stem-mqtt-broker 0.9.2-aarch64-linux → 0.10.0-aarch64-linux
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/lib/stem_mqtt_broker/mqtt_broker.rb +10 -3
- data/lib/stem_mqtt_broker/native/libmqtt_broker.so +0 -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: 6c500132f9e7d7c156cc2c9636e7133c1d1acd9d4469db63f94b6fc980e9124b
|
|
4
|
+
data.tar.gz: 011aa9eea544c1e44d2d6133428d699e2b89a13dff1c981624da85dc763c0993
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7a0fb556623a113c9b7d231b0e3b7420d100ed124429b0a3d2709d74db26cadcf414adcd0240a112fb86b25c1527ce4ea009901155c1c4b5c79c3947d2190530
|
|
7
|
+
data.tar.gz: f5caf125728113cfc819e5b6c811c17f7826b20efc6b4341b44adcd25ce42a9a312b1ca632a7bcfd3d75d71b185208ce8344c20279d2e0f0854f8d813518ea9b
|
|
@@ -261,6 +261,7 @@ private_constant :UniffiHandleMap
|
|
|
261
261
|
|
|
262
262
|
RustBuffer.check_lower_Optionalbytes(v.client_ca_pem)
|
|
263
263
|
RustBuffer.check_lower_TypeCertClientId(v.bind_client_id)
|
|
264
|
+
|
|
264
265
|
end
|
|
265
266
|
|
|
266
267
|
def self.alloc_from_TypeBrokerTlsConfig(v)
|
|
@@ -745,7 +746,8 @@ class RustBufferStream
|
|
|
745
746
|
cert_pem: read_bytes,
|
|
746
747
|
key_pem: read_bytes,
|
|
747
748
|
client_ca_pem: read_Optionalbytes,
|
|
748
|
-
bind_client_id: read_TypeCertClientId
|
|
749
|
+
bind_client_id: read_TypeCertClientId,
|
|
750
|
+
tls_only: read_bool
|
|
749
751
|
)
|
|
750
752
|
end
|
|
751
753
|
|
|
@@ -1159,6 +1161,7 @@ class RustBufferBuilder
|
|
|
1159
1161
|
self.write_bytes(v.key_pem)
|
|
1160
1162
|
self.write_Optionalbytes(v.client_ca_pem)
|
|
1161
1163
|
self.write_TypeCertClientId(v.bind_client_id)
|
|
1164
|
+
self.write_bool(v.tls_only)
|
|
1162
1165
|
end
|
|
1163
1166
|
|
|
1164
1167
|
# The Record type EnhancedAuthStep.
|
|
@@ -2523,14 +2526,15 @@ end
|
|
|
2523
2526
|
|
|
2524
2527
|
# Record type BrokerTlsConfig
|
|
2525
2528
|
class BrokerTlsConfig
|
|
2526
|
-
attr_reader :port, :cert_pem, :key_pem, :client_ca_pem, :bind_client_id
|
|
2529
|
+
attr_reader :port, :cert_pem, :key_pem, :client_ca_pem, :bind_client_id, :tls_only
|
|
2527
2530
|
|
|
2528
|
-
def initialize(port:, cert_pem:, key_pem:, client_ca_pem:, bind_client_id:)
|
|
2531
|
+
def initialize(port:, cert_pem:, key_pem:, client_ca_pem:, bind_client_id:, tls_only:)
|
|
2529
2532
|
@port = port
|
|
2530
2533
|
@cert_pem = cert_pem
|
|
2531
2534
|
@key_pem = key_pem
|
|
2532
2535
|
@client_ca_pem = client_ca_pem
|
|
2533
2536
|
@bind_client_id = bind_client_id
|
|
2537
|
+
@tls_only = tls_only
|
|
2534
2538
|
end
|
|
2535
2539
|
|
|
2536
2540
|
def ==(other)
|
|
@@ -2549,6 +2553,9 @@ class BrokerTlsConfig
|
|
|
2549
2553
|
if @bind_client_id != other.bind_client_id
|
|
2550
2554
|
return false
|
|
2551
2555
|
end
|
|
2556
|
+
if @tls_only != other.tls_only
|
|
2557
|
+
return false
|
|
2558
|
+
end
|
|
2552
2559
|
|
|
2553
2560
|
true
|
|
2554
2561
|
end
|
|
Binary file
|