meshtastic 0.0.166 → 0.0.167

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: 1b5f289095c36463540426b8a095e57bd3f33bfaf33b758959aadb085ac41a2b
4
- data.tar.gz: e3d50031d8f7cfc7eabe36896c3dab68a458ceb86d22e34936f3ffdaecf62a96
3
+ metadata.gz: 3e8f14d71c29fbc0ded10ef03e551bb342d95f2e34160ce61109c0cc33311532
4
+ data.tar.gz: f58e6d5bc4eb990648c4bd94338510583ba17b255a8ce656664d1350a73ea9d6
5
5
  SHA512:
6
- metadata.gz: 042b78a44b54a3cb3b8982b3dbfdc6fcd99d1c0d769b2625d428da44daa27c82d71eda68105e02fbbd2f35c4bff42708a914103a0846402d05a6e107378887d6
7
- data.tar.gz: 2e6dd73eab274befccca07d102b5656014b044ab8f49c6c50d7ec962d34151341fe4ebf507bb841032900de503d8c17db99983604aa6793ff452735a0525146a
6
+ metadata.gz: ef81205a885e9b6234e983e79ebd17ca83789d8d405c5491200b1beddde5b49d8d1ddcf0a0bd6c37a8e3d11b76621e3987f01597f14b7576803792977dac1ae4
7
+ data.tar.gz: 98e189ae98ba6bbd54f378f33667c2b0c14ede19a77e3978734e201d2c865c3701bbfde2f0f7ea473e231760dc93f86276e2880084b3abab1abe89cb78e0d483
data/.rubocop_todo.yml CHANGED
@@ -1,37 +1,38 @@
1
1
  # This configuration was generated by
2
2
  # `rubocop --auto-gen-config`
3
- # on 2025-10-22 13:51:38 UTC using RuboCop version 1.81.6.
3
+ # on 2026-07-07 01:06:21 UTC using RuboCop version 1.88.1.
4
4
  # The point is for the user to remove these configuration records
5
5
  # one by one as the offenses are removed from the code base.
6
6
  # Note that changes in the inspected code, or installation of new
7
7
  # versions of RuboCop, may require this file to be generated again.
8
8
 
9
- # Offense count: 1
10
- # This cop supports safe autocorrection (--autocorrect).
11
- # Configuration parameters: TreatCommentsAsGroupSeparators, ConsiderPunctuation.
12
- Bundler/OrderedGems:
13
- Exclude:
14
- - 'Gemfile'
15
-
16
9
  # Offense count: 1
17
10
  # This cop supports safe autocorrection (--autocorrect).
18
11
  Layout/EmptyLineAfterGuardClause:
19
12
  Exclude:
20
13
  - 'lib/meshtastic/stream_interface.rb'
21
14
 
22
- # Offense count: 24
15
+ # Offense count: 27
23
16
  # This cop supports safe autocorrection (--autocorrect).
24
17
  Layout/EmptyLineAfterMagicComment:
25
18
  Enabled: false
26
19
 
27
- # Offense count: 24
20
+ # Offense count: 27
28
21
  # This cop supports safe autocorrection (--autocorrect).
29
22
  Layout/EmptyLines:
30
23
  Enabled: false
31
24
 
32
- # Offense count: 23
25
+ # Offense count: 2
26
+ # This cop supports safe autocorrection (--autocorrect).
27
+ # Configuration parameters: Width, EnforcedStyleAlignWith, AllowedPatterns.
28
+ # SupportedStylesAlignWith: start_of_line, relative_to_receiver
29
+ Layout/IndentationWidth:
30
+ Exclude:
31
+ - 'lib/meshtastic/serial_interface.rb'
32
+
33
+ # Offense count: 26
33
34
  # This cop supports safe autocorrection (--autocorrect).
34
- # Configuration parameters: Max, AllowHeredoc, AllowURI, AllowQualifiedName, URISchemes, IgnoreCopDirectives, AllowedPatterns, SplitStrings.
35
+ # Configuration parameters: Max, AllowHeredoc, AllowURI, AllowQualifiedName, URISchemes, AllowRBSInlineAnnotation, AllowCopDirectives, AllowedPatterns, SplitStrings.
35
36
  # URISchemes: http, https
36
37
  Layout/LineLength:
37
38
  Enabled: false
@@ -45,7 +46,7 @@ Layout/SpaceBeforeBlockBraces:
45
46
  Exclude:
46
47
  - 'lib/meshtastic/serial_interface.rb'
47
48
 
48
- # Offense count: 48
49
+ # Offense count: 49
49
50
  # Configuration parameters: AllowComments, AllowEmptyLambdas.
50
51
  Lint/EmptyBlock:
51
52
  Enabled: false
@@ -97,7 +98,7 @@ Style/IfUnlessModifier:
97
98
  Exclude:
98
99
  - 'lib/meshtastic/stream_interface.rb'
99
100
 
100
- # Offense count: 29
101
+ # Offense count: 32
101
102
  # This cop supports safe autocorrection (--autocorrect).
102
103
  Style/RedundantConstantBase:
103
104
  Enabled: false
@@ -108,11 +109,12 @@ Style/RedundantSelf:
108
109
  Exclude:
109
110
  - 'lib/meshtastic/stream_interface.rb'
110
111
 
111
- # Offense count: 12
112
+ # Offense count: 19
112
113
  # This cop supports safe autocorrection (--autocorrect).
113
114
  Style/RedundantStringEscape:
114
115
  Exclude:
115
116
  - 'lib/meshtastic/admin_pb.rb'
117
+ - 'lib/meshtastic/atak_pb.rb'
116
118
  - 'lib/meshtastic/deviceonly_pb.rb'
117
119
  - 'lib/meshtastic/mesh_pb.rb'
118
120
  - 'lib/meshtastic/module_config_pb.rb'
@@ -126,7 +128,7 @@ Style/SafeNavigation:
126
128
  Exclude:
127
129
  - 'lib/meshtastic/stream_interface.rb'
128
130
 
129
- # Offense count: 182
131
+ # Offense count: 253
130
132
  # This cop supports safe autocorrection (--autocorrect).
131
133
  # Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
132
134
  # SupportedStyles: single_quotes, double_quotes
@@ -0,0 +1,20 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: meshtastic/deviceonly_legacy.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'meshtastic/deviceonly_pb'
8
+ require 'meshtastic/telemetry_pb'
9
+ require 'nanopb_pb'
10
+
11
+
12
+ descriptor_data = "\n\"meshtastic/deviceonly_legacy.proto\x12\nmeshtastic\x1a\x1bmeshtastic/deviceonly.proto\x1a\x1ameshtastic/telemetry.proto\x1a\x0cnanopb.proto\"\xdc\x02\n\x13NodeInfoLite_Legacy\x12\x0b\n\x03num\x18\x01 \x01(\r\x12\"\n\x04user\x18\x02 \x01(\x0b\x32\x14.meshtastic.UserLite\x12*\n\x08position\x18\x03 \x01(\x0b\x32\x18.meshtastic.PositionLite\x12\x0b\n\x03snr\x18\x04 \x01(\x02\x12\x12\n\nlast_heard\x18\x05 \x01(\x07\x12\x31\n\x0e\x64\x65vice_metrics\x18\x06 \x01(\x0b\x32\x19.meshtastic.DeviceMetrics\x12\x0f\n\x07\x63hannel\x18\x07 \x01(\r\x12\x10\n\x08via_mqtt\x18\x08 \x01(\x08\x12\x16\n\thops_away\x18\t \x01(\rH\x00\x88\x01\x01\x12\x13\n\x0bis_favorite\x18\n \x01(\x08\x12\x12\n\nis_ignored\x18\x0b \x01(\x08\x12\x10\n\x08next_hop\x18\x0c \x01(\r\x12\x10\n\x08\x62itfield\x18\r \x01(\rB\x0c\n\n_hops_away\"\x89\x01\n\x13NodeDatabase_Legacy\x12\x0f\n\x07version\x18\x01 \x01(\r\x12\x61\n\x05nodes\x18\x02 \x03(\x0b\x32\x1f.meshtastic.NodeInfoLite_LegacyB1\x92?.\x92\x01+std::vector<meshtastic_NodeInfoLite_Legacy>Bt\n\x14org.meshtastic.protoB\x10\x44\x65viceOnlyLegacyZ\"github.com/meshtastic/go/generated\xaa\x02\x14Meshtastic.Protobufs\xba\x02\x00\x92?\x0b\xc2\x01\x08<vector>b\x06proto3"
13
+
14
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
15
+ pool.add_serialized_file(descriptor_data)
16
+
17
+ module Meshtastic
18
+ NodeInfoLite_Legacy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.NodeInfoLite_Legacy").msgclass
19
+ NodeDatabase_Legacy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.NodeDatabase_Legacy").msgclass
20
+ end
@@ -0,0 +1,18 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: meshtastic/mesh_beacon.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'meshtastic/channel_pb'
8
+ require 'meshtastic/config_pb'
9
+
10
+
11
+ descriptor_data = "\n\x1cmeshtastic/mesh_beacon.proto\x12\nmeshtastic\x1a\x18meshtastic/channel.proto\x1a\x17meshtastic/config.proto\"\xe8\x01\n\nMeshBeacon\x12\x0f\n\x07message\x18\x01 \x01(\t\x12\x32\n\roffer_channel\x18\x02 \x01(\x0b\x32\x1b.meshtastic.ChannelSettings\x12>\n\x0coffer_region\x18\x03 \x01(\x0e\x32(.meshtastic.Config.LoRaConfig.RegionCode\x12\x44\n\x0coffer_preset\x18\x04 \x01(\x0e\x32).meshtastic.Config.LoRaConfig.ModemPresetH\x00\x88\x01\x01\x42\x0f\n\r_offer_presetBf\n\x14org.meshtastic.protoB\x10MeshBeaconProtosZ\"github.com/meshtastic/go/generated\xaa\x02\x14Meshtastic.Protobufs\xba\x02\x00\x62\x06proto3"
12
+
13
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
14
+ pool.add_serialized_file(descriptor_data)
15
+
16
+ module Meshtastic
17
+ MeshBeacon = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.MeshBeacon").msgclass
18
+ end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Meshtastic
4
- VERSION = '0.0.166'
4
+ VERSION = '0.0.167'
5
5
  end
@@ -0,0 +1,6 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'spec_helper'
4
+
5
+ describe Meshtastic::DeviceonlyLegacyPB do
6
+ end
@@ -0,0 +1,6 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'spec_helper'
4
+
5
+ describe Meshtastic::MeshBeaconPB do
6
+ 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.166
4
+ version: 0.0.167
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.
@@ -290,10 +290,12 @@ files:
290
290
  - lib/meshtastic/connection_status_pb.rb
291
291
  - lib/meshtastic/device_ui_pb.rb
292
292
  - lib/meshtastic/deviceonly.rb
293
+ - lib/meshtastic/deviceonly_legacy_pb.rb
293
294
  - lib/meshtastic/deviceonly_pb.rb
294
295
  - lib/meshtastic/interdevice_pb.rb
295
296
  - lib/meshtastic/localonly.rb
296
297
  - lib/meshtastic/localonly_pb.rb
298
+ - lib/meshtastic/mesh_beacon_pb.rb
297
299
  - lib/meshtastic/mesh_interface.rb
298
300
  - lib/meshtastic/mesh_pb.rb
299
301
  - lib/meshtastic/module_config.rb
@@ -341,11 +343,13 @@ files:
341
343
  - spec/lib/meshtastic/connection_status_pb_spec.rb
342
344
  - spec/lib/meshtastic/connection_status_spec.rb
343
345
  - spec/lib/meshtastic/device_ui_pb_spec.rb
346
+ - spec/lib/meshtastic/deviceonly_legacy_pb_spec.rb
344
347
  - spec/lib/meshtastic/deviceonly_pb_spec.rb
345
348
  - spec/lib/meshtastic/deviceonly_spec.rb
346
349
  - spec/lib/meshtastic/interdevice_pb_spec.rb
347
350
  - spec/lib/meshtastic/localonly_pb_spec.rb
348
351
  - spec/lib/meshtastic/localonly_spec.rb
352
+ - spec/lib/meshtastic/mesh_beacon_pb_spec.rb
349
353
  - spec/lib/meshtastic/mesh_interface_spec.rb
350
354
  - spec/lib/meshtastic/mesh_pb_spec.rb
351
355
  - spec/lib/meshtastic/module_config_pb_spec.rb