meshtastic 0.0.142 → 0.0.143
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 +4 -4
- metadata +20 -144
- data/.github/workflows/main.yml +0 -27
- data/.gitignore +0 -29
- data/.rspec +0 -3
- data/.rubocop.yml +0 -35
- data/.rubocop_todo.yml +0 -134
- data/.ruby-gemset +0 -1
- data/.ruby-version +0 -1
- data/AUTOGEN_meshtastic_protobufs.sh +0 -28
- data/CHANGELOG_BETWEEN_TAGS.txt +0 -196
- data/CODE_OF_CONDUCT.md +0 -84
- data/Gemfile +0 -23
- data/LICENSE +0 -21
- data/README.md +0 -106
- data/Rakefile +0 -17
- data/bin/meshtastic_autoinc_version +0 -38
- data/build_meshtastic_gem.sh +0 -58
- data/git_commit.sh +0 -29
- data/lib/meshtastic/admin.rb +0 -24
- data/lib/meshtastic/admin_pb.rb +0 -31
- data/lib/meshtastic/apponly.rb +0 -24
- data/lib/meshtastic/apponly_pb.rb +0 -18
- data/lib/meshtastic/atak.rb +0 -24
- data/lib/meshtastic/atak_pb.rb +0 -22
- data/lib/meshtastic/cannedmessages.rb +0 -24
- data/lib/meshtastic/cannedmessages_pb.rb +0 -15
- data/lib/meshtastic/channel.rb +0 -24
- data/lib/meshtastic/channel_pb.rb +0 -18
- data/lib/meshtastic/clientonly.rb +0 -24
- data/lib/meshtastic/clientonly_pb.rb +0 -18
- data/lib/meshtastic/config.rb +0 -24
- data/lib/meshtastic/config_pb.rb +0 -42
- data/lib/meshtastic/connection_status.rb +0 -24
- data/lib/meshtastic/connection_status_pb.rb +0 -20
- data/lib/meshtastic/device_ui_pb.rb +0 -23
- data/lib/meshtastic/deviceonly.rb +0 -24
- data/lib/meshtastic/deviceonly_pb.rb +0 -28
- data/lib/meshtastic/interdevice_pb.rb +0 -17
- data/lib/meshtastic/localonly.rb +0 -24
- data/lib/meshtastic/localonly_pb.rb +0 -19
- data/lib/meshtastic/mesh_interface.rb +0 -596
- data/lib/meshtastic/mesh_pb.rb +0 -65
- data/lib/meshtastic/module_config.rb +0 -24
- data/lib/meshtastic/module_config_pb.rb +0 -36
- data/lib/meshtastic/mqtt.rb +0 -383
- data/lib/meshtastic/mqtt_pb.rb +0 -19
- data/lib/meshtastic/paxcount.rb +0 -24
- data/lib/meshtastic/paxcount_pb.rb +0 -15
- data/lib/meshtastic/portnums.rb +0 -24
- data/lib/meshtastic/portnums_pb.rb +0 -15
- data/lib/meshtastic/powermon_pb.rb +0 -18
- data/lib/meshtastic/remote_hardware.rb +0 -24
- data/lib/meshtastic/remote_hardware_pb.rb +0 -16
- data/lib/meshtastic/rtttl.rb +0 -24
- data/lib/meshtastic/rtttl_pb.rb +0 -15
- data/lib/meshtastic/serial_interface.rb +0 -550
- data/lib/meshtastic/storeforward.rb +0 -24
- data/lib/meshtastic/storeforward_pb.rb +0 -19
- data/lib/meshtastic/stream_interface.rb +0 -132
- data/lib/meshtastic/telemetry.rb +0 -24
- data/lib/meshtastic/telemetry_pb.rb +0 -24
- data/lib/meshtastic/util.rb +0 -70
- data/lib/meshtastic/version.rb +0 -5
- data/lib/meshtastic/xmodem.rb +0 -24
- data/lib/meshtastic/xmodem_pb.rb +0 -16
- data/lib/meshtastic.rb +0 -71
- data/lib/nanopb_pb.rb +0 -19
- data/meshtastic.gemspec +0 -73
- data/reinstall_meshtastic_gemset.sh +0 -29
- data/sig/meshtastic.rbs +0 -4
- data/spec/lib/meshtastic/admin_pb_spec.rb +0 -6
- data/spec/lib/meshtastic/admin_spec.rb +0 -6
- data/spec/lib/meshtastic/apponly_pb_spec.rb +0 -6
- data/spec/lib/meshtastic/apponly_spec.rb +0 -6
- data/spec/lib/meshtastic/atak_pb_spec.rb +0 -6
- data/spec/lib/meshtastic/atak_spec.rb +0 -6
- data/spec/lib/meshtastic/cannedmessages_pb_spec.rb +0 -6
- data/spec/lib/meshtastic/cannedmessages_spec.rb +0 -6
- data/spec/lib/meshtastic/channel_pb_spec.rb +0 -6
- data/spec/lib/meshtastic/channel_spec.rb +0 -6
- data/spec/lib/meshtastic/clientonly_pb_spec.rb +0 -6
- data/spec/lib/meshtastic/clientonly_spec.rb +0 -6
- data/spec/lib/meshtastic/config_pb_spec.rb +0 -6
- data/spec/lib/meshtastic/config_spec.rb +0 -6
- data/spec/lib/meshtastic/connection_status_pb_spec.rb +0 -6
- data/spec/lib/meshtastic/connection_status_spec.rb +0 -6
- data/spec/lib/meshtastic/device_ui_pb_spec.rb +0 -6
- data/spec/lib/meshtastic/deviceonly_pb_spec.rb +0 -6
- data/spec/lib/meshtastic/deviceonly_spec.rb +0 -6
- data/spec/lib/meshtastic/interdevice_pb_spec.rb +0 -6
- data/spec/lib/meshtastic/localonly_pb_spec.rb +0 -6
- data/spec/lib/meshtastic/localonly_spec.rb +0 -6
- data/spec/lib/meshtastic/mesh_interface_spec.rb +0 -6
- data/spec/lib/meshtastic/mesh_pb_spec.rb +0 -6
- data/spec/lib/meshtastic/module_config_pb_spec.rb +0 -6
- data/spec/lib/meshtastic/module_config_spec.rb +0 -6
- data/spec/lib/meshtastic/mqtt_pb_spec.rb +0 -6
- data/spec/lib/meshtastic/mqtt_spec.rb +0 -6
- data/spec/lib/meshtastic/paxcount_pb_spec.rb +0 -6
- data/spec/lib/meshtastic/paxcount_spec.rb +0 -6
- data/spec/lib/meshtastic/portnums_pb_spec.rb +0 -6
- data/spec/lib/meshtastic/portnums_spec.rb +0 -6
- data/spec/lib/meshtastic/powermon_pb_spec.rb +0 -6
- data/spec/lib/meshtastic/remote_hardware_pb_spec.rb +0 -6
- data/spec/lib/meshtastic/remote_hardware_spec.rb +0 -6
- data/spec/lib/meshtastic/rtttl_pb_spec.rb +0 -6
- data/spec/lib/meshtastic/rtttl_spec.rb +0 -6
- data/spec/lib/meshtastic/serial_interface_spec.rb +0 -6
- data/spec/lib/meshtastic/storeforward_pb_spec.rb +0 -6
- data/spec/lib/meshtastic/storeforward_spec.rb +0 -6
- data/spec/lib/meshtastic/stream_interface_spec.rb +0 -6
- data/spec/lib/meshtastic/telemetry_pb_spec.rb +0 -6
- data/spec/lib/meshtastic/telemetry_spec.rb +0 -6
- data/spec/lib/meshtastic/util_spec.rb +0 -6
- data/spec/lib/meshtastic/version_spec.rb +0 -17
- data/spec/lib/meshtastic/xmodem_pb_spec.rb +0 -6
- data/spec/lib/meshtastic/xmodem_spec.rb +0 -6
- data/spec/lib/meshtastic_spec.rb +0 -6
- data/spec/lib/nanopb_pb_spec.rb +0 -6
- data/spec/spec_helper.rb +0 -15
- data/upgrade_Gemfile_gems.sh +0 -21
- data/upgrade_gem.sh +0 -4
- data/upgrade_meshtastic.sh +0 -13
- data/upgrade_ruby.sh +0 -45
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7626802685b314fc203e811a051fad9bc05cc616353e512cec4e2736f383a8ee
|
|
4
|
+
data.tar.gz: dae5536d6035f67546136f12ffe1fc52d602bdffc8dd5eeba120fec2313c4cd7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b2848fdf4d9a90fcc3e450e00f177147f4bd01d5b26f10680ee57b72dab47b741f309e76436460f0f2c4d8cf2f09deb14c53489db2a5519d28a10013da3e9917
|
|
7
|
+
data.tar.gz: 8cf8d948c812075b068479e25737a0d43999831f2dea87a018d6d62fe8c1049d96bb27076f88173ed91d4bd4ae1939669d768402ee9e8ce8e5c215c14014d909
|
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.
|
|
4
|
+
version: 0.0.143
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- 0day Inc.
|
|
@@ -15,28 +15,28 @@ dependencies:
|
|
|
15
15
|
requirements:
|
|
16
16
|
- - ">="
|
|
17
17
|
- !ruby/object:Gem::Version
|
|
18
|
-
version:
|
|
18
|
+
version: 4.0.0
|
|
19
19
|
type: :development
|
|
20
20
|
prerelease: false
|
|
21
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
22
22
|
requirements:
|
|
23
23
|
- - ">="
|
|
24
24
|
- !ruby/object:Gem::Version
|
|
25
|
-
version:
|
|
25
|
+
version: 4.0.0
|
|
26
26
|
- !ruby/object:Gem::Dependency
|
|
27
27
|
name: bundle-audit
|
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
|
29
29
|
requirements:
|
|
30
30
|
- - '='
|
|
31
31
|
- !ruby/object:Gem::Version
|
|
32
|
-
version: 0.
|
|
32
|
+
version: 0.2.0
|
|
33
33
|
type: :runtime
|
|
34
34
|
prerelease: false
|
|
35
35
|
version_requirements: !ruby/object:Gem::Requirement
|
|
36
36
|
requirements:
|
|
37
37
|
- - '='
|
|
38
38
|
- !ruby/object:Gem::Version
|
|
39
|
-
version: 0.
|
|
39
|
+
version: 0.2.0
|
|
40
40
|
- !ruby/object:Gem::Dependency
|
|
41
41
|
name: geocoder
|
|
42
42
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -57,14 +57,14 @@ dependencies:
|
|
|
57
57
|
requirements:
|
|
58
58
|
- - '='
|
|
59
59
|
- !ruby/object:Gem::Version
|
|
60
|
-
version: 4.33.
|
|
60
|
+
version: 4.33.1
|
|
61
61
|
type: :runtime
|
|
62
62
|
prerelease: false
|
|
63
63
|
version_requirements: !ruby/object:Gem::Requirement
|
|
64
64
|
requirements:
|
|
65
65
|
- - '='
|
|
66
66
|
- !ruby/object:Gem::Version
|
|
67
|
-
version: 4.33.
|
|
67
|
+
version: 4.33.1
|
|
68
68
|
- !ruby/object:Gem::Dependency
|
|
69
69
|
name: grpc-tools
|
|
70
70
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -85,42 +85,42 @@ dependencies:
|
|
|
85
85
|
requirements:
|
|
86
86
|
- - '='
|
|
87
87
|
- !ruby/object:Gem::Version
|
|
88
|
-
version: 0.
|
|
88
|
+
version: 0.7.0
|
|
89
89
|
type: :runtime
|
|
90
90
|
prerelease: false
|
|
91
91
|
version_requirements: !ruby/object:Gem::Requirement
|
|
92
92
|
requirements:
|
|
93
93
|
- - '='
|
|
94
94
|
- !ruby/object:Gem::Version
|
|
95
|
-
version: 0.
|
|
95
|
+
version: 0.7.0
|
|
96
96
|
- !ruby/object:Gem::Dependency
|
|
97
97
|
name: rake
|
|
98
98
|
requirement: !ruby/object:Gem::Requirement
|
|
99
99
|
requirements:
|
|
100
100
|
- - '='
|
|
101
101
|
- !ruby/object:Gem::Version
|
|
102
|
-
version: 13.3.
|
|
102
|
+
version: 13.3.1
|
|
103
103
|
type: :development
|
|
104
104
|
prerelease: false
|
|
105
105
|
version_requirements: !ruby/object:Gem::Requirement
|
|
106
106
|
requirements:
|
|
107
107
|
- - '='
|
|
108
108
|
- !ruby/object:Gem::Version
|
|
109
|
-
version: 13.3.
|
|
109
|
+
version: 13.3.1
|
|
110
110
|
- !ruby/object:Gem::Dependency
|
|
111
111
|
name: rdoc
|
|
112
112
|
requirement: !ruby/object:Gem::Requirement
|
|
113
113
|
requirements:
|
|
114
114
|
- - '='
|
|
115
115
|
- !ruby/object:Gem::Version
|
|
116
|
-
version: 6.
|
|
116
|
+
version: 6.16.1
|
|
117
117
|
type: :development
|
|
118
118
|
prerelease: false
|
|
119
119
|
version_requirements: !ruby/object:Gem::Requirement
|
|
120
120
|
requirements:
|
|
121
121
|
- - '='
|
|
122
122
|
- !ruby/object:Gem::Version
|
|
123
|
-
version: 6.
|
|
123
|
+
version: 6.16.1
|
|
124
124
|
- !ruby/object:Gem::Dependency
|
|
125
125
|
name: rspec
|
|
126
126
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -141,14 +141,14 @@ dependencies:
|
|
|
141
141
|
requirements:
|
|
142
142
|
- - ">="
|
|
143
143
|
- !ruby/object:Gem::Version
|
|
144
|
-
version: 1.81.
|
|
144
|
+
version: 1.81.7
|
|
145
145
|
type: :runtime
|
|
146
146
|
prerelease: false
|
|
147
147
|
version_requirements: !ruby/object:Gem::Requirement
|
|
148
148
|
requirements:
|
|
149
149
|
- - ">="
|
|
150
150
|
- !ruby/object:Gem::Version
|
|
151
|
-
version: 1.81.
|
|
151
|
+
version: 1.81.7
|
|
152
152
|
- !ruby/object:Gem::Dependency
|
|
153
153
|
name: rubocop-rake
|
|
154
154
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -169,14 +169,14 @@ dependencies:
|
|
|
169
169
|
requirements:
|
|
170
170
|
- - ">="
|
|
171
171
|
- !ruby/object:Gem::Version
|
|
172
|
-
version: 3.
|
|
172
|
+
version: 3.8.0
|
|
173
173
|
type: :runtime
|
|
174
174
|
prerelease: false
|
|
175
175
|
version_requirements: !ruby/object:Gem::Requirement
|
|
176
176
|
requirements:
|
|
177
177
|
- - ">="
|
|
178
178
|
- !ruby/object:Gem::Version
|
|
179
|
-
version: 3.
|
|
179
|
+
version: 3.8.0
|
|
180
180
|
- !ruby/object:Gem::Dependency
|
|
181
181
|
name: rvm
|
|
182
182
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -222,134 +222,10 @@ dependencies:
|
|
|
222
222
|
description: https://github.com/0dayinc/meshtastic/README.md
|
|
223
223
|
email:
|
|
224
224
|
- support@0dayinc.com
|
|
225
|
-
executables:
|
|
226
|
-
- meshtastic_autoinc_version
|
|
225
|
+
executables: []
|
|
227
226
|
extensions: []
|
|
228
227
|
extra_rdoc_files: []
|
|
229
|
-
files:
|
|
230
|
-
- ".github/workflows/main.yml"
|
|
231
|
-
- ".gitignore"
|
|
232
|
-
- ".rspec"
|
|
233
|
-
- ".rubocop.yml"
|
|
234
|
-
- ".rubocop_todo.yml"
|
|
235
|
-
- ".ruby-gemset"
|
|
236
|
-
- ".ruby-version"
|
|
237
|
-
- AUTOGEN_meshtastic_protobufs.sh
|
|
238
|
-
- CHANGELOG_BETWEEN_TAGS.txt
|
|
239
|
-
- CODE_OF_CONDUCT.md
|
|
240
|
-
- Gemfile
|
|
241
|
-
- LICENSE
|
|
242
|
-
- README.md
|
|
243
|
-
- Rakefile
|
|
244
|
-
- bin/meshtastic_autoinc_version
|
|
245
|
-
- build_meshtastic_gem.sh
|
|
246
|
-
- git_commit.sh
|
|
247
|
-
- lib/meshtastic.rb
|
|
248
|
-
- lib/meshtastic/admin.rb
|
|
249
|
-
- lib/meshtastic/admin_pb.rb
|
|
250
|
-
- lib/meshtastic/apponly.rb
|
|
251
|
-
- lib/meshtastic/apponly_pb.rb
|
|
252
|
-
- lib/meshtastic/atak.rb
|
|
253
|
-
- lib/meshtastic/atak_pb.rb
|
|
254
|
-
- lib/meshtastic/cannedmessages.rb
|
|
255
|
-
- lib/meshtastic/cannedmessages_pb.rb
|
|
256
|
-
- lib/meshtastic/channel.rb
|
|
257
|
-
- lib/meshtastic/channel_pb.rb
|
|
258
|
-
- lib/meshtastic/clientonly.rb
|
|
259
|
-
- lib/meshtastic/clientonly_pb.rb
|
|
260
|
-
- lib/meshtastic/config.rb
|
|
261
|
-
- lib/meshtastic/config_pb.rb
|
|
262
|
-
- lib/meshtastic/connection_status.rb
|
|
263
|
-
- lib/meshtastic/connection_status_pb.rb
|
|
264
|
-
- lib/meshtastic/device_ui_pb.rb
|
|
265
|
-
- lib/meshtastic/deviceonly.rb
|
|
266
|
-
- lib/meshtastic/deviceonly_pb.rb
|
|
267
|
-
- lib/meshtastic/interdevice_pb.rb
|
|
268
|
-
- lib/meshtastic/localonly.rb
|
|
269
|
-
- lib/meshtastic/localonly_pb.rb
|
|
270
|
-
- lib/meshtastic/mesh_interface.rb
|
|
271
|
-
- lib/meshtastic/mesh_pb.rb
|
|
272
|
-
- lib/meshtastic/module_config.rb
|
|
273
|
-
- lib/meshtastic/module_config_pb.rb
|
|
274
|
-
- lib/meshtastic/mqtt.rb
|
|
275
|
-
- lib/meshtastic/mqtt_pb.rb
|
|
276
|
-
- lib/meshtastic/paxcount.rb
|
|
277
|
-
- lib/meshtastic/paxcount_pb.rb
|
|
278
|
-
- lib/meshtastic/portnums.rb
|
|
279
|
-
- lib/meshtastic/portnums_pb.rb
|
|
280
|
-
- lib/meshtastic/powermon_pb.rb
|
|
281
|
-
- lib/meshtastic/remote_hardware.rb
|
|
282
|
-
- lib/meshtastic/remote_hardware_pb.rb
|
|
283
|
-
- lib/meshtastic/rtttl.rb
|
|
284
|
-
- lib/meshtastic/rtttl_pb.rb
|
|
285
|
-
- lib/meshtastic/serial_interface.rb
|
|
286
|
-
- lib/meshtastic/storeforward.rb
|
|
287
|
-
- lib/meshtastic/storeforward_pb.rb
|
|
288
|
-
- lib/meshtastic/stream_interface.rb
|
|
289
|
-
- lib/meshtastic/telemetry.rb
|
|
290
|
-
- lib/meshtastic/telemetry_pb.rb
|
|
291
|
-
- lib/meshtastic/util.rb
|
|
292
|
-
- lib/meshtastic/version.rb
|
|
293
|
-
- lib/meshtastic/xmodem.rb
|
|
294
|
-
- lib/meshtastic/xmodem_pb.rb
|
|
295
|
-
- lib/nanopb_pb.rb
|
|
296
|
-
- meshtastic.gemspec
|
|
297
|
-
- reinstall_meshtastic_gemset.sh
|
|
298
|
-
- sig/meshtastic.rbs
|
|
299
|
-
- spec/lib/meshtastic/admin_pb_spec.rb
|
|
300
|
-
- spec/lib/meshtastic/admin_spec.rb
|
|
301
|
-
- spec/lib/meshtastic/apponly_pb_spec.rb
|
|
302
|
-
- spec/lib/meshtastic/apponly_spec.rb
|
|
303
|
-
- spec/lib/meshtastic/atak_pb_spec.rb
|
|
304
|
-
- spec/lib/meshtastic/atak_spec.rb
|
|
305
|
-
- spec/lib/meshtastic/cannedmessages_pb_spec.rb
|
|
306
|
-
- spec/lib/meshtastic/cannedmessages_spec.rb
|
|
307
|
-
- spec/lib/meshtastic/channel_pb_spec.rb
|
|
308
|
-
- spec/lib/meshtastic/channel_spec.rb
|
|
309
|
-
- spec/lib/meshtastic/clientonly_pb_spec.rb
|
|
310
|
-
- spec/lib/meshtastic/clientonly_spec.rb
|
|
311
|
-
- spec/lib/meshtastic/config_pb_spec.rb
|
|
312
|
-
- spec/lib/meshtastic/config_spec.rb
|
|
313
|
-
- spec/lib/meshtastic/connection_status_pb_spec.rb
|
|
314
|
-
- spec/lib/meshtastic/connection_status_spec.rb
|
|
315
|
-
- spec/lib/meshtastic/device_ui_pb_spec.rb
|
|
316
|
-
- spec/lib/meshtastic/deviceonly_pb_spec.rb
|
|
317
|
-
- spec/lib/meshtastic/deviceonly_spec.rb
|
|
318
|
-
- spec/lib/meshtastic/interdevice_pb_spec.rb
|
|
319
|
-
- spec/lib/meshtastic/localonly_pb_spec.rb
|
|
320
|
-
- spec/lib/meshtastic/localonly_spec.rb
|
|
321
|
-
- spec/lib/meshtastic/mesh_interface_spec.rb
|
|
322
|
-
- spec/lib/meshtastic/mesh_pb_spec.rb
|
|
323
|
-
- spec/lib/meshtastic/module_config_pb_spec.rb
|
|
324
|
-
- spec/lib/meshtastic/module_config_spec.rb
|
|
325
|
-
- spec/lib/meshtastic/mqtt_pb_spec.rb
|
|
326
|
-
- spec/lib/meshtastic/mqtt_spec.rb
|
|
327
|
-
- spec/lib/meshtastic/paxcount_pb_spec.rb
|
|
328
|
-
- spec/lib/meshtastic/paxcount_spec.rb
|
|
329
|
-
- spec/lib/meshtastic/portnums_pb_spec.rb
|
|
330
|
-
- spec/lib/meshtastic/portnums_spec.rb
|
|
331
|
-
- spec/lib/meshtastic/powermon_pb_spec.rb
|
|
332
|
-
- spec/lib/meshtastic/remote_hardware_pb_spec.rb
|
|
333
|
-
- spec/lib/meshtastic/remote_hardware_spec.rb
|
|
334
|
-
- spec/lib/meshtastic/rtttl_pb_spec.rb
|
|
335
|
-
- spec/lib/meshtastic/rtttl_spec.rb
|
|
336
|
-
- spec/lib/meshtastic/serial_interface_spec.rb
|
|
337
|
-
- spec/lib/meshtastic/storeforward_pb_spec.rb
|
|
338
|
-
- spec/lib/meshtastic/storeforward_spec.rb
|
|
339
|
-
- spec/lib/meshtastic/stream_interface_spec.rb
|
|
340
|
-
- spec/lib/meshtastic/telemetry_pb_spec.rb
|
|
341
|
-
- spec/lib/meshtastic/telemetry_spec.rb
|
|
342
|
-
- spec/lib/meshtastic/util_spec.rb
|
|
343
|
-
- spec/lib/meshtastic/version_spec.rb
|
|
344
|
-
- spec/lib/meshtastic/xmodem_pb_spec.rb
|
|
345
|
-
- spec/lib/meshtastic/xmodem_spec.rb
|
|
346
|
-
- spec/lib/meshtastic_spec.rb
|
|
347
|
-
- spec/lib/nanopb_pb_spec.rb
|
|
348
|
-
- spec/spec_helper.rb
|
|
349
|
-
- upgrade_Gemfile_gems.sh
|
|
350
|
-
- upgrade_gem.sh
|
|
351
|
-
- upgrade_meshtastic.sh
|
|
352
|
-
- upgrade_ruby.sh
|
|
228
|
+
files: []
|
|
353
229
|
homepage: https://github.com/0dayinc/meshtastic
|
|
354
230
|
licenses:
|
|
355
231
|
- MIT
|
|
@@ -369,7 +245,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
369
245
|
- !ruby/object:Gem::Version
|
|
370
246
|
version: '0'
|
|
371
247
|
requirements: []
|
|
372
|
-
rubygems_version:
|
|
248
|
+
rubygems_version: 4.0.0
|
|
373
249
|
specification_version: 4
|
|
374
250
|
summary: Ruby gem for Meshtastic
|
|
375
251
|
test_files: []
|
data/.github/workflows/main.yml
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
name: Ruby
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
push:
|
|
5
|
-
branches:
|
|
6
|
-
- master
|
|
7
|
-
|
|
8
|
-
pull_request:
|
|
9
|
-
|
|
10
|
-
jobs:
|
|
11
|
-
build:
|
|
12
|
-
runs-on: ubuntu-latest
|
|
13
|
-
name: Ruby ${{ matrix.ruby }}
|
|
14
|
-
strategy:
|
|
15
|
-
matrix:
|
|
16
|
-
ruby:
|
|
17
|
-
- '3.3.0'
|
|
18
|
-
|
|
19
|
-
steps:
|
|
20
|
-
- uses: actions/checkout@v4
|
|
21
|
-
- name: Set up Ruby
|
|
22
|
-
uses: ruby/setup-ruby@v1
|
|
23
|
-
with:
|
|
24
|
-
ruby-version: ${{ matrix.ruby }}
|
|
25
|
-
bundler-cache: true
|
|
26
|
-
- name: Run the default task
|
|
27
|
-
run: bundle exec rake -t
|
data/.gitignore
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
._*
|
|
2
|
-
.each*
|
|
3
|
-
*.swp
|
|
4
|
-
*.gem
|
|
5
|
-
*.rbc
|
|
6
|
-
**/screenlog.*
|
|
7
|
-
.bundle
|
|
8
|
-
.config
|
|
9
|
-
.DS_Store
|
|
10
|
-
.yardoc
|
|
11
|
-
Gemfile.lock
|
|
12
|
-
InstalledFiles
|
|
13
|
-
_yardoc
|
|
14
|
-
coverage
|
|
15
|
-
doc/
|
|
16
|
-
lib/bundler/man
|
|
17
|
-
pkg
|
|
18
|
-
rdoc/
|
|
19
|
-
spec/reports
|
|
20
|
-
test/tmp
|
|
21
|
-
test/version_tmp
|
|
22
|
-
tmp
|
|
23
|
-
.idea/
|
|
24
|
-
.project/
|
|
25
|
-
.project
|
|
26
|
-
*.sublime-workspace
|
|
27
|
-
*.sublime-project
|
|
28
|
-
.vagrant/
|
|
29
|
-
protobufs/
|
data/.rspec
DELETED
data/.rubocop.yml
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
AllCops:
|
|
2
|
-
UseCache: false
|
|
3
|
-
NewCops: enable
|
|
4
|
-
Layout/LineLength:
|
|
5
|
-
Max: 293
|
|
6
|
-
Lint/UselessRescue:
|
|
7
|
-
Enabled: false
|
|
8
|
-
Metrics/AbcSize:
|
|
9
|
-
Max: 537.6
|
|
10
|
-
Metrics/BlockLength:
|
|
11
|
-
Max: 138
|
|
12
|
-
Metrics/BlockNesting:
|
|
13
|
-
Max: 4
|
|
14
|
-
Metrics/ClassLength:
|
|
15
|
-
Max: 134
|
|
16
|
-
Metrics/CyclomaticComplexity:
|
|
17
|
-
Max: 103
|
|
18
|
-
Metrics/MethodLength:
|
|
19
|
-
Max: 485
|
|
20
|
-
Metrics/ModuleLength:
|
|
21
|
-
Max: 495
|
|
22
|
-
Metrics/PerceivedComplexity:
|
|
23
|
-
Max: 101
|
|
24
|
-
Style/HashEachMethods:
|
|
25
|
-
Enabled: true
|
|
26
|
-
Style/HashSyntax:
|
|
27
|
-
EnforcedShorthandSyntax: never
|
|
28
|
-
Style/HashTransformKeys:
|
|
29
|
-
Enabled: true
|
|
30
|
-
Style/HashTransformValues:
|
|
31
|
-
Enabled: true
|
|
32
|
-
Style/RedundantLineContinuation:
|
|
33
|
-
Enabled: false
|
|
34
|
-
|
|
35
|
-
inherit_from: .rubocop_todo.yml
|
data/.rubocop_todo.yml
DELETED
|
@@ -1,134 +0,0 @@
|
|
|
1
|
-
# This configuration was generated by
|
|
2
|
-
# `rubocop --auto-gen-config`
|
|
3
|
-
# on 2025-10-22 13:51:38 UTC using RuboCop version 1.81.6.
|
|
4
|
-
# The point is for the user to remove these configuration records
|
|
5
|
-
# one by one as the offenses are removed from the code base.
|
|
6
|
-
# Note that changes in the inspected code, or installation of new
|
|
7
|
-
# versions of RuboCop, may require this file to be generated again.
|
|
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
|
-
# Offense count: 1
|
|
17
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
18
|
-
Layout/EmptyLineAfterGuardClause:
|
|
19
|
-
Exclude:
|
|
20
|
-
- 'lib/meshtastic/stream_interface.rb'
|
|
21
|
-
|
|
22
|
-
# Offense count: 24
|
|
23
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
24
|
-
Layout/EmptyLineAfterMagicComment:
|
|
25
|
-
Enabled: false
|
|
26
|
-
|
|
27
|
-
# Offense count: 24
|
|
28
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
29
|
-
Layout/EmptyLines:
|
|
30
|
-
Enabled: false
|
|
31
|
-
|
|
32
|
-
# Offense count: 23
|
|
33
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
34
|
-
# Configuration parameters: Max, AllowHeredoc, AllowURI, AllowQualifiedName, URISchemes, IgnoreCopDirectives, AllowedPatterns, SplitStrings.
|
|
35
|
-
# URISchemes: http, https
|
|
36
|
-
Layout/LineLength:
|
|
37
|
-
Enabled: false
|
|
38
|
-
|
|
39
|
-
# Offense count: 1
|
|
40
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
41
|
-
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces.
|
|
42
|
-
# SupportedStyles: space, no_space
|
|
43
|
-
# SupportedStylesForEmptyBraces: space, no_space
|
|
44
|
-
Layout/SpaceBeforeBlockBraces:
|
|
45
|
-
Exclude:
|
|
46
|
-
- 'lib/meshtastic/serial_interface.rb'
|
|
47
|
-
|
|
48
|
-
# Offense count: 48
|
|
49
|
-
# Configuration parameters: AllowComments, AllowEmptyLambdas.
|
|
50
|
-
Lint/EmptyBlock:
|
|
51
|
-
Enabled: false
|
|
52
|
-
|
|
53
|
-
# Offense count: 1
|
|
54
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
55
|
-
# Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods, IgnoreNotImplementedMethods, NotImplementedExceptions.
|
|
56
|
-
# NotImplementedExceptions: NotImplementedError
|
|
57
|
-
Lint/UnusedMethodArgument:
|
|
58
|
-
Exclude:
|
|
59
|
-
- 'lib/meshtastic/stream_interface.rb'
|
|
60
|
-
|
|
61
|
-
# Offense count: 8
|
|
62
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
63
|
-
Lint/UselessAssignment:
|
|
64
|
-
Exclude:
|
|
65
|
-
- 'lib/meshtastic/serial_interface.rb'
|
|
66
|
-
- 'lib/meshtastic/stream_interface.rb'
|
|
67
|
-
- 'meshtastic.gemspec'
|
|
68
|
-
|
|
69
|
-
# Offense count: 1
|
|
70
|
-
# Configuration parameters: CountComments, Max, CountAsOne.
|
|
71
|
-
Metrics/ClassLength:
|
|
72
|
-
Exclude:
|
|
73
|
-
- 'lib/meshtastic/mesh_interface.rb'
|
|
74
|
-
|
|
75
|
-
# Offense count: 2
|
|
76
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
77
|
-
# Configuration parameters: Keywords, RequireColon.
|
|
78
|
-
# Keywords: TODO, FIXME, OPTIMIZE, HACK, REVIEW, NOTE
|
|
79
|
-
Style/CommentAnnotation:
|
|
80
|
-
Exclude:
|
|
81
|
-
- 'lib/meshtastic/stream_interface.rb'
|
|
82
|
-
|
|
83
|
-
# Offense count: 25
|
|
84
|
-
# Configuration parameters: AllowedConstants.
|
|
85
|
-
Style/Documentation:
|
|
86
|
-
Enabled: false
|
|
87
|
-
|
|
88
|
-
# Offense count: 1
|
|
89
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
90
|
-
Style/ExplicitBlockArgument:
|
|
91
|
-
Exclude:
|
|
92
|
-
- 'lib/meshtastic/serial_interface.rb'
|
|
93
|
-
|
|
94
|
-
# Offense count: 1
|
|
95
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
96
|
-
Style/IfUnlessModifier:
|
|
97
|
-
Exclude:
|
|
98
|
-
- 'lib/meshtastic/stream_interface.rb'
|
|
99
|
-
|
|
100
|
-
# Offense count: 29
|
|
101
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
102
|
-
Style/RedundantConstantBase:
|
|
103
|
-
Enabled: false
|
|
104
|
-
|
|
105
|
-
# Offense count: 1
|
|
106
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
107
|
-
Style/RedundantSelf:
|
|
108
|
-
Exclude:
|
|
109
|
-
- 'lib/meshtastic/stream_interface.rb'
|
|
110
|
-
|
|
111
|
-
# Offense count: 12
|
|
112
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
113
|
-
Style/RedundantStringEscape:
|
|
114
|
-
Exclude:
|
|
115
|
-
- 'lib/meshtastic/admin_pb.rb'
|
|
116
|
-
- 'lib/meshtastic/deviceonly_pb.rb'
|
|
117
|
-
- 'lib/meshtastic/mesh_pb.rb'
|
|
118
|
-
- 'lib/meshtastic/module_config_pb.rb'
|
|
119
|
-
- 'lib/meshtastic/telemetry_pb.rb'
|
|
120
|
-
|
|
121
|
-
# Offense count: 3
|
|
122
|
-
# This cop supports unsafe autocorrection (--autocorrect-all).
|
|
123
|
-
# Configuration parameters: ConvertCodeThatCanStartToReturnNil, AllowedMethods, MaxChainLength.
|
|
124
|
-
# AllowedMethods: present?, blank?, presence, try, try!
|
|
125
|
-
Style/SafeNavigation:
|
|
126
|
-
Exclude:
|
|
127
|
-
- 'lib/meshtastic/stream_interface.rb'
|
|
128
|
-
|
|
129
|
-
# Offense count: 182
|
|
130
|
-
# This cop supports safe autocorrection (--autocorrect).
|
|
131
|
-
# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
|
|
132
|
-
# SupportedStyles: single_quotes, double_quotes
|
|
133
|
-
Style/StringLiterals:
|
|
134
|
-
Enabled: false
|
data/.ruby-gemset
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
meshtastic
|
data/.ruby-version
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
3.4.4
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
#!/bin/bash --login
|
|
2
|
-
mesh_root='/opt/meshtastic'
|
|
3
|
-
mesh_protobufs_root="${mesh_root}/protobufs"
|
|
4
|
-
mesh_protobufs_out='/opt/meshtastic/lib'
|
|
5
|
-
|
|
6
|
-
sudo apt install protobuf-compiler
|
|
7
|
-
|
|
8
|
-
mkdir -p $mesh_protobufs_out
|
|
9
|
-
|
|
10
|
-
if [[ ! -d $mesh_root ]]; then
|
|
11
|
-
sudo mkdir -p $mesh_root
|
|
12
|
-
sudo chown $USER:$USER $mesh_root
|
|
13
|
-
fi
|
|
14
|
-
|
|
15
|
-
cd $mesh_root
|
|
16
|
-
if [[ ! -d $mesh_protobufs_root ]]; then
|
|
17
|
-
sudo git clone https://github.com/meshtastic/protobufs
|
|
18
|
-
else
|
|
19
|
-
cd $mesh_protobufs_root
|
|
20
|
-
sudo git pull
|
|
21
|
-
fi
|
|
22
|
-
|
|
23
|
-
cd $mesh_protobufs_root
|
|
24
|
-
rvmsudo grpc_tools_ruby_protoc --proto_path=. --ruby_out=$mesh_protobufs_out nanopb.proto ./meshtastic/*.proto
|
|
25
|
-
|
|
26
|
-
if (( $? == 0 )); then
|
|
27
|
-
echo "Updated meshtastic protobufs reside in ${mesh_protobufs_out}"
|
|
28
|
-
fi
|