meshtastic 0.0.140 → 0.0.142

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: f5ae9302b0d39d98475817016ba6210d2b1cd8b7fe7a2246ce73cb259b11cd1b
4
- data.tar.gz: 334abbedf9c9d26b22ca1a24f948968289ed06dbec614c5c6d0333b83f02afca
3
+ metadata.gz: e2aa680394f933212a2594dea754a81b9d48ef311b8bdbcc85aa89d2cf50c5a5
4
+ data.tar.gz: 416c34c89d9873119b38421dffbbddf79a8b55d4655db37d2bee8d1e7ad57097
5
5
  SHA512:
6
- metadata.gz: d36e5ccd701fdd14082c3c2dcf5315f38255d65df5fac7313d5b29376dcd9c7641f6cca582705ad35b883433fbbb5bdd257ffcc4f70abb965302209f4c37d27c
7
- data.tar.gz: 46022207ded5585667022f551ed6914e1562267710f7d12d57d9397a59b53ee76dc98e6ed2e475666f84c50716dfa6cf9e2af5f2d9819973bedfc407230a5e58
6
+ metadata.gz: dc261576f60f60f47894f7fa21fa58f5a947bdc8ad7009e9f2d3f3cf862ff3561743253e7cb38e9e848367d9aaf7aaffe121238e962d57cba6b984987d2c42b8
7
+ data.tar.gz: 78b9c0f8c8b975e505ba12a3b1efdb550b005b4c7d276c3638b6a11f1193722a7789fe30774f0838b754839135e46ed8724c061fc68c95a3db35ecf8563f50f7
@@ -95,7 +95,6 @@ module Meshtastic
95
95
  # NOTE: Use MQTT Explorer for topic discovery
96
96
  full_topic = "#{root_topic}/#{region}/#{topic}"
97
97
  full_topic = "#{root_topic}/#{region}" if region == '#'
98
- puts "Subscribing to: #{full_topic}"
99
98
  mqtt_obj.subscribe(full_topic, qos)
100
99
 
101
100
  # MQTT::ProtocolException: No Ping Response received for 23 seconds (MQTT::ProtocolException)
@@ -286,7 +285,7 @@ module Meshtastic
286
285
  total_chunks = (text.bytesize.to_f / max_bytes).ceil
287
286
  total_chunks.times do |i|
288
287
  chunk_num = i + 1
289
- chunk_prefix = " (#{chunk_num} of #{total_chunks})"
288
+ chunk_prefix = " (#{chunk_num} of #{total_chunks})\n"
290
289
  chunk_prefix_len = chunk_prefix.bytesize
291
290
  start_index = i * (max_bytes - chunk_prefix_len)
292
291
  end_index = (start_index + (max_bytes - chunk_prefix_len)) - 1
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Meshtastic
4
- VERSION = '0.0.140'
4
+ VERSION = '0.0.142'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: meshtastic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.140
4
+ version: 0.0.142
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.