rsmp 0.45.0 → 0.45.1

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.
Files changed (59) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/rubocop.yaml +1 -1
  3. data/.github/workflows/sus.yaml +1 -1
  4. data/.gitignore +0 -1
  5. data/CHANGELOG.md +12 -1
  6. data/Gemfile +0 -2
  7. data/Gemfile.lock +1 -79
  8. data/README.md +14 -35
  9. data/documentation/configuration.md +12 -11
  10. data/documentation/message_distribution.md +1 -2
  11. data/documentation/tasks.md +1 -2
  12. data/exe/rsmp +1 -2
  13. data/lib/rsmp/cli.rb +33 -3
  14. data/lib/rsmp/convert/export/json_schema/outputs.rb +18 -0
  15. data/lib/rsmp/convert/export/json_schema/values.rb +1 -1
  16. data/lib/rsmp/convert/export/json_schema.rb +14 -6
  17. data/lib/rsmp/schema/core_sxl_resolution.rb +69 -0
  18. data/lib/rsmp/schema/validation.rb +57 -0
  19. data/lib/rsmp/schema.rb +40 -67
  20. data/lib/rsmp/version.rb +1 -1
  21. data/schemas/tlc/1.0.10/rsmp.json +2 -1
  22. data/schemas/tlc/1.0.10/sxl.yaml +1 -0
  23. data/schemas/tlc/1.0.10/sxl_index.json +356 -0
  24. data/schemas/tlc/1.0.13/rsmp.json +2 -1
  25. data/schemas/tlc/1.0.13/sxl.yaml +1 -0
  26. data/schemas/tlc/1.0.13/sxl_index.json +436 -0
  27. data/schemas/tlc/1.0.14/rsmp.json +2 -1
  28. data/schemas/tlc/1.0.14/sxl.yaml +1 -0
  29. data/schemas/tlc/1.0.14/sxl_index.json +468 -0
  30. data/schemas/tlc/1.0.15/rsmp.json +2 -1
  31. data/schemas/tlc/1.0.15/sxl.yaml +1 -0
  32. data/schemas/tlc/1.0.15/sxl_index.json +508 -0
  33. data/schemas/tlc/1.0.7/rsmp.json +2 -1
  34. data/schemas/tlc/1.0.7/sxl.yaml +1 -0
  35. data/schemas/tlc/1.0.7/sxl_index.json +356 -0
  36. data/schemas/tlc/1.0.8/rsmp.json +2 -1
  37. data/schemas/tlc/1.0.8/sxl.yaml +1 -0
  38. data/schemas/tlc/1.0.8/sxl_index.json +356 -0
  39. data/schemas/tlc/1.0.9/rsmp.json +2 -1
  40. data/schemas/tlc/1.0.9/sxl.yaml +1 -0
  41. data/schemas/tlc/1.0.9/sxl_index.json +356 -0
  42. data/schemas/tlc/1.1.0/rsmp.json +2 -1
  43. data/schemas/tlc/1.1.0/sxl.yaml +1 -0
  44. data/schemas/tlc/1.1.0/sxl_index.json +572 -0
  45. data/schemas/tlc/1.2.0/rsmp.json +2 -1
  46. data/schemas/tlc/1.2.0/sxl.yaml +1 -0
  47. data/schemas/tlc/1.2.0/sxl_index.json +571 -0
  48. data/schemas/tlc/1.2.1/rsmp.json +2 -1
  49. data/schemas/tlc/1.2.1/sxl.yaml +1 -0
  50. data/schemas/tlc/1.2.1/sxl_index.json +571 -0
  51. data/schemas/tlc/1.3.0/defs/definitions.json +86 -25
  52. data/schemas/tlc/1.3.0/rsmp.json +2 -1
  53. data/schemas/tlc/1.3.0/statuses/S0024.json +2 -1
  54. data/schemas/tlc/1.3.0/sxl.yaml +1 -0
  55. data/schemas/tlc/1.3.0/sxl_index.json +578 -0
  56. metadata +14 -4
  57. data/.github/copilot-instructions.md +0 -33
  58. data/.rspec +0 -1
  59. data/cucumber.yml +0 -1
@@ -1,33 +0,0 @@
1
- # rsmp gem
2
- This is a Ruby based repository contaning an implementation of RSMP (RoadSide Message Protocol), including:
3
-
4
- - Ruby classes that can be used to build tests or other RSMP tools.
5
- - Command-line tools for quickly running RSMP supervisors or sites and view messages exchanged.
6
-
7
- It relies on the gem `rsmp_schema` to validate RSMP message using JSON schema.
8
-
9
- Always reference these instructions first, and fall back to search or bash commands only when you encounter unexpected information that does not match the info here.
10
-
11
- ## Development Flow
12
- - Ruby and required gems are already installed by the action .github/copilot-setup-steps.yml, do not install them again.
13
- - All gem executables must be run from the bundle environment using `bundle exec ...`
14
- - Before any commit, run `bundle exec rspec` to verify that all tests pass.
15
-
16
- ## Repository Structure
17
- - `bin/`: Main service entry points and executables
18
- - `lib/`: Ruby source code
19
- - `spec/`: RSpec test files for validating Ruby code
20
- - `features/`: Cucumber test files for validating the CLI component
21
- - `config/`: Configuration files used when running the 'rsmp' command line
22
- - `documentation/`: Documentation
23
-
24
- ## Guidelines
25
- - Follow Ruby best practices and idiomatic patterns.
26
- - Maintain existing code structure and organization.
27
- - Always use existing async patterns to handle concurrency, also in tests.
28
- - Code behaviour should adhere to the RSMP specifications defined at https://github.com/rsmp-nordic/rsmp_core.
29
- - Write and verify rspec tests for new functionality.
30
- - Document public APIs and complex logic. Suggest changes to the `documentation/` folder when appropriate.
31
- - Don't commit example scripts.
32
- - Prefer real classes over test doubles or mocks in tests and use async contexts to run sites and supervisors.
33
- - When reporting on progress, claims should be supported by tests or other data.
data/.rspec DELETED
@@ -1 +0,0 @@
1
- --require spec_helper
data/cucumber.yml DELETED
@@ -1 +0,0 @@
1
- default: --publish-quiet