meshtastic 0.0.118 → 0.0.119

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: c346e9d8708112e3c8213ce09fe3ccd3a98481eb2f58d149454e363bd13dd191
4
- data.tar.gz: 21053bc6a2abedd60f296f5f017c158ddf8b8244790376c6193a8396e47e24b7
3
+ metadata.gz: cdede9307850fd527d523986a6a462cb9383e46aea77e2477496bea853e83078
4
+ data.tar.gz: 5fa41b4e5a6a14569eefc4dad958d7564d30225f6abeebefdc2debbb22fc4c0d
5
5
  SHA512:
6
- metadata.gz: 98de40bcfe8d8d69ff40c95f5c9701cded35da44093080d254f908b1c4263e0af1920fa69615bc74b44521ea9c8cc043b31d330ca20bd5ac5cde91c6e7908473
7
- data.tar.gz: 58df5a83b3904dc2b1c80311de5f6adeb78e8c3a53d013f85cd2eaec4ddb7f936abdba009f68e14bf74fff9864e7475163c86a02d0be7b3fff96d401c8f1688a
6
+ metadata.gz: de25006fcdc794beba4c9e9a01d807ce66b10380362c9a3a2d5988010194525f861a292aa3f160e18aa30bdfaa58c97dfe78d049dc0c667f365d62af1b0d33a3
7
+ data.tar.gz: 735fb9ee16b0516f763e38af710b4702449cf6eef070e0d0cf52ac8c4e98f1bab4b6d2cee302276c5885ed4aabd368758dd2fe6942a44d5e08edb17dce7d9492
data/.rubocop_todo.yml CHANGED
@@ -1,6 +1,6 @@
1
1
  # This configuration was generated by
2
2
  # `rubocop --auto-gen-config`
3
- # on 2024-04-25 22:06:14 UTC using RuboCop version 1.63.3.
3
+ # on 2025-02-16 22:35:06 UTC using RuboCop version 1.72.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
@@ -14,23 +14,17 @@ Bundler/OrderedGems:
14
14
  Exclude:
15
15
  - 'Gemfile'
16
16
 
17
- # Offense count: 1
18
- # This cop supports safe autocorrection (--autocorrect).
19
- # Configuration parameters: AllowInHeredoc.
20
- Layout/TrailingWhitespace:
21
- Exclude:
22
- - 'lib/meshtastic.rb'
23
-
24
- # Offense count: 43
17
+ # Offense count: 49
25
18
  # Configuration parameters: AllowComments, AllowEmptyLambdas.
26
19
  Lint/EmptyBlock:
27
20
  Enabled: false
28
21
 
29
- # Offense count: 1
30
- # This cop supports unsafe autocorrection (--autocorrect-all).
22
+ # Offense count: 4
23
+ # This cop supports safe autocorrection (--autocorrect).
31
24
  # Configuration parameters: AutoCorrect.
32
25
  Lint/UselessAssignment:
33
26
  Exclude:
27
+ - 'lib/meshtastic/serial.rb'
34
28
  - 'meshtastic.gemspec'
35
29
 
36
30
  # Offense count: 6
@@ -43,7 +37,13 @@ Metrics/BlockLength:
43
37
  - 'lib/meshtastic/mesh_pb.rb'
44
38
  - 'lib/meshtastic/module_config_pb.rb'
45
39
 
46
- # Offense count: 44
40
+ # Offense count: 1
41
+ # Configuration parameters: CountComments, Max, CountAsOne.
42
+ Metrics/ClassLength:
43
+ Exclude:
44
+ - 'lib/meshtastic/mesh_interface.rb'
45
+
46
+ # Offense count: 52
47
47
  # Configuration parameters: EnforcedStyle, CheckMethodNames, CheckSymbols, AllowedIdentifiers, AllowedPatterns.
48
48
  # SupportedStyles: snake_case, normalcase, non_integer
49
49
  # AllowedIdentifiers: capture3, iso8601, rfc1123_date, rfc822, rfc2822, rfc3339, x86_64
@@ -54,23 +54,29 @@ Naming/VariableNumber:
54
54
  - 'lib/meshtastic/module_config_pb.rb'
55
55
  - 'lib/nanopb_pb.rb'
56
56
 
57
- # Offense count: 20
57
+ # Offense count: 24
58
58
  # Configuration parameters: AllowedConstants.
59
59
  Style/Documentation:
60
60
  Enabled: false
61
61
 
62
- # Offense count: 21
62
+ # Offense count: 2
63
+ # This cop supports safe autocorrection (--autocorrect).
64
+ Style/ExplicitBlockArgument:
65
+ Exclude:
66
+ - 'lib/meshtastic/serial.rb'
67
+
68
+ # Offense count: 23
63
69
  # This cop supports unsafe autocorrection (--autocorrect-all).
64
70
  # Configuration parameters: EnforcedStyle.
65
71
  # SupportedStyles: always, always_true, never
66
72
  Style/FrozenStringLiteralComment:
67
73
  Enabled: false
68
74
 
69
- # Offense count: 21
75
+ # Offense count: 23
70
76
  # This cop supports safe autocorrection (--autocorrect).
71
77
  # Configuration parameters: EnforcedStyle, EnforcedShorthandSyntax, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols.
72
78
  # SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys
73
- # SupportedShorthandSyntax: always, never, either, consistent
79
+ # SupportedShorthandSyntax: always, never, either, consistent, either_consistent
74
80
  Style/HashSyntax:
75
81
  Enabled: false
76
82
 
@@ -80,7 +86,7 @@ Style/RedundantConstantBase:
80
86
  Exclude:
81
87
  - 'lib/nanopb_pb.rb'
82
88
 
83
- # Offense count: 457
89
+ # Offense count: 522
84
90
  # This cop supports safe autocorrection (--autocorrect).
85
91
  # Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
86
92
  # SupportedStyles: single_quotes, double_quotes
data/Gemfile CHANGED
@@ -15,8 +15,8 @@ gem 'rake', '13.2.1'
15
15
  gem 'rdoc', '6.12.0'
16
16
  gem 'rspec', '3.13.0'
17
17
  gem 'rubocop', '>=1.72.1'
18
- gem 'rubocop-rake', '>=0.7.0'
19
- gem 'rubocop-rspec', '>=3.4.0'
18
+ gem 'rubocop-rake', '>=0.7.1'
19
+ gem 'rubocop-rspec', '>=3.5.0'
20
20
  gem 'rvm', '1.11.3.9'
21
21
  gem 'uart', '1.0.0'
22
22
  gem 'yard', '0.9.37'
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'meshtastic/admin_pb'
3
+ require 'meshtastic/apponly_pb'
4
4
 
5
5
  # Plugin used to interact with Meshtastic nodes
6
6
  module Meshtastic
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'meshtastic/admin_pb'
3
+ require 'meshtastic/atak_pb'
4
4
 
5
5
  # Plugin used to interact with Meshtastic nodes
6
6
  module Meshtastic
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'meshtastic/admin_pb'
3
+ require 'meshtastic/cannedmessages_pb'
4
4
 
5
5
  # Plugin used to interact with Meshtastic nodes
6
6
  module Meshtastic
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'meshtastic/admin_pb'
3
+ require 'meshtastic/channel_pb'
4
4
 
5
5
  # Plugin used to interact with Meshtastic nodes
6
6
  module Meshtastic
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'meshtastic/admin_pb'
3
+ require 'meshtastic/clientonly_pb'
4
4
 
5
5
  # Plugin used to interact with Meshtastic nodes
6
6
  module Meshtastic
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'meshtastic/admin_pb'
3
+ require 'meshtastic/config_pb'
4
4
 
5
5
  # Plugin used to interact with Meshtastic nodes
6
6
  module Meshtastic
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'meshtastic/admin_pb'
3
+ require 'meshtastic/connection_status_pb'
4
4
 
5
5
  # Plugin used to interact with Meshtastic nodes
6
6
  module Meshtastic
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'meshtastic/admin_pb'
3
+ require 'meshtastic/deviceonly_pb'
4
4
 
5
5
  # Plugin used to interact with Meshtastic nodes
6
6
  module Meshtastic
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'meshtastic/admin_pb'
3
+ require 'meshtastic/localonly_pb'
4
4
 
5
5
  # Plugin used to interact with Meshtastic nodes
6
6
  module Meshtastic