meshtastic 0.0.117 → 0.0.118

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: bf595fe9b5fdde913869bac28839cfeab6df0c358f8cde8d895154cf1b03a4a9
4
- data.tar.gz: 2277431855a0478c85e122f4bdf7f822b808c1d2b88a4f620d4e9d9b4655f045
3
+ metadata.gz: c346e9d8708112e3c8213ce09fe3ccd3a98481eb2f58d149454e363bd13dd191
4
+ data.tar.gz: 21053bc6a2abedd60f296f5f017c158ddf8b8244790376c6193a8396e47e24b7
5
5
  SHA512:
6
- metadata.gz: d7a7fb5995c15ef99ed1efa643e3a0119a0a29b2f5e739db05729b3912e308e10e2b4b0207bbc73abebaa05b0a39ee4173131249ccd22478b0ea76c3aeab5569
7
- data.tar.gz: 8e6dcfcb7575a1d335d5a8c9618b61dde2875a2dd420a14264b3a8c230abb4155b8e212781e614d5fb6065e13390437b77b2de810722ef40dbbd5ce7b3144536
6
+ metadata.gz: 98de40bcfe8d8d69ff40c95f5c9701cded35da44093080d254f908b1c4263e0af1920fa69615bc74b44521ea9c8cc043b31d330ca20bd5ac5cde91c6e7908473
7
+ data.tar.gz: 58df5a83b3904dc2b1c80311de5f6adeb78e8c3a53d013f85cd2eaec4ddb7f936abdba009f68e14bf74fff9864e7475163c86a02d0be7b3fff96d401c8f1688a
@@ -107,7 +107,6 @@ module Meshtastic
107
107
  raw_payload = packet_bytes.payload ||= ''
108
108
 
109
109
  begin
110
- disp = false
111
110
  decoded_payload_hash = {}
112
111
  message = {}
113
112
  stdout_message = ''
@@ -209,14 +208,18 @@ module Meshtastic
209
208
 
210
209
  next
211
210
  ensure
212
- include_arr = [message[:id].to_s] if include_arr.empty?
211
+ # include_arr = [message[:id].to_s] if include_arr.empty?
213
212
  if message.is_a?(Hash)
214
213
  flat_message = message.values.join(' ')
215
214
 
216
- disp = true if exclude_arr.none? { |exclude| flat_message.include?(exclude) } && (
217
- include_arr.first == message[:id] ||
218
- include_arr.all? { |include| flat_message.include?(include) }
219
- )
215
+ disp = false
216
+ # disp = true if exclude_arr.none? { |exclude| flat_message.include?(exclude) } && (
217
+ # include_arr.first == message[:id] ||
218
+ # include_arr.all? { |include| flat_message.include?(include) }
219
+ # )
220
+
221
+ disp = true if exclude_arr.none? { |exclude| flat_message.include?(exclude) } &&
222
+ include_arr.all? { |include| flat_message.include?(include) }
220
223
 
221
224
  if disp
222
225
  if block_given?
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Meshtastic
4
- VERSION = '0.0.117'
4
+ VERSION = '0.0.118'
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.117
4
+ version: 0.0.118
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.