meshtastic 0.0.168 → 0.0.169

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: 1e09515fba1ba940db155fc538df06ded06b0027c3db376f13963ec8c61f5abf
4
- data.tar.gz: 80fa3a29e99f509cdbd5a58e5c51fe26ade5e7c4b0d66487a646b76fbf7d72e0
3
+ metadata.gz: a8f7b8b0a9e3ef3d3830a06af9e4115b2a86e82ab0051a355601631622893cf5
4
+ data.tar.gz: c25b3a7ca577b8ab7477b15b2f16bc9ed502578741be845580cb773db4fa50aa
5
5
  SHA512:
6
- metadata.gz: 3c7767993fed7ae52a678f6fa4ee953bb6ad0515b043a953dd7e1425d53dafd3edea52499e60cf86df4564d29bd72fbc176041323b98c4b09723397589ead114
7
- data.tar.gz: fcfeb35b9f5783b244b10c4d73cb683d6c931b3da703d197154344f231415ddae1bfa5de029e1a61c10438bcbf1236b9b2fd8486862d3e0eb970e92401af61bf
6
+ metadata.gz: 5339975316659ee89aca979cea79b9d79e61ead161bfdbd7b6a2c0bdbe9eb136469bedbf4e3c2a5c50d1bdb58bc0d4f309c3019bbc9ace9cfe5d811b6af9c5e3
7
+ data.tar.gz: acb50a768aee9d2a3f4a7c3e868d8b509a4ea5c447356dffd25e8f9a3c283a5211af412ab94a523c71e62e555c5b6752b3e0f4728dbc21da62111b71a67607ad
@@ -219,7 +219,7 @@ module Meshtastic
219
219
  # include_arr.all? { |include| flat_message.include?(include) }
220
220
  # )
221
221
 
222
- disp = true if exclude_arr.none? { |exclude| flat_message.include?(exclude) } &&
222
+ disp = true if !exclude_arr.intersect?(flat_message) &&
223
223
  include_arr.all? { |include| flat_message.include?(include) }
224
224
 
225
225
  if disp
@@ -206,7 +206,7 @@ module Meshtastic
206
206
 
207
207
  dump_stdout_data(type: type) do |data|
208
208
  disp = false
209
- disp = true if exclude_arr.none? { |exclude| data.include?(exclude) } && (
209
+ disp = true if !exclude_arr.intersect?(data) && (
210
210
  include_arr.empty? ||
211
211
  include_arr.all? { |include| data.include?(include) }
212
212
  )
@@ -383,7 +383,7 @@ module Meshtastic
383
383
  if message.is_a?(Hash)
384
384
  flat_message = message.values.join(' ')
385
385
 
386
- disp = true if exclude_arr.none? { |exclude| flat_message.include?(exclude) } && (
386
+ disp = true if !exclude_arr.intersect?(flat_message) && (
387
387
  include_arr.first == message[:id] ||
388
388
  include_arr.all? { |include| flat_message.include?(include) }
389
389
  )
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Meshtastic
4
- VERSION = '0.0.168'
4
+ VERSION = '0.0.169'
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.168
4
+ version: 0.0.169
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.