meshtastic 0.0.141 → 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: 785319577f4c371da8c72dd2b1f700a3179a7fa8d4672f7e2abad9e5763797aa
4
- data.tar.gz: 0736bd9766c030e3615fa9067bd039ff29ed70834ba35dbc5a879a805ce0e47e
3
+ metadata.gz: e2aa680394f933212a2594dea754a81b9d48ef311b8bdbcc85aa89d2cf50c5a5
4
+ data.tar.gz: 416c34c89d9873119b38421dffbbddf79a8b55d4655db37d2bee8d1e7ad57097
5
5
  SHA512:
6
- metadata.gz: 92f6ac7a0b25ed0ad74d02dbd82c1fd2afa6f780768b1513ce0bf85710a7a871577161b01471e0aad06381acec6106b43d77bef04237b7cc7a05c07cf0e997c8
7
- data.tar.gz: 4742e7444c0e05cc7457041904763df444435fddd71d1810d09ae17d3a46c091c103731846d9a652c4fc1dbb1769f9e38612011bcac04bc26dd38d7248ec9090
6
+ metadata.gz: dc261576f60f60f47894f7fa21fa58f5a947bdc8ad7009e9f2d3f3cf862ff3561743253e7cb38e9e848367d9aaf7aaffe121238e962d57cba6b984987d2c42b8
7
+ data.tar.gz: 78b9c0f8c8b975e505ba12a3b1efdb550b005b4c7d276c3638b6a11f1193722a7789fe30774f0838b754839135e46ed8724c061fc68c95a3db35ecf8563f50f7
@@ -285,7 +285,7 @@ module Meshtastic
285
285
  total_chunks = (text.bytesize.to_f / max_bytes).ceil
286
286
  total_chunks.times do |i|
287
287
  chunk_num = i + 1
288
- chunk_prefix = " (#{chunk_num} of #{total_chunks})"
288
+ chunk_prefix = " (#{chunk_num} of #{total_chunks})\n"
289
289
  chunk_prefix_len = chunk_prefix.bytesize
290
290
  start_index = i * (max_bytes - chunk_prefix_len)
291
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.141'
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.141
4
+ version: 0.0.142
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.