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.
- checksums.yaml +4 -4
- data/.github/workflows/rubocop.yaml +1 -1
- data/.github/workflows/sus.yaml +1 -1
- data/.gitignore +0 -1
- data/CHANGELOG.md +12 -1
- data/Gemfile +0 -2
- data/Gemfile.lock +1 -79
- data/README.md +14 -35
- data/documentation/configuration.md +12 -11
- data/documentation/message_distribution.md +1 -2
- data/documentation/tasks.md +1 -2
- data/exe/rsmp +1 -2
- data/lib/rsmp/cli.rb +33 -3
- data/lib/rsmp/convert/export/json_schema/outputs.rb +18 -0
- data/lib/rsmp/convert/export/json_schema/values.rb +1 -1
- data/lib/rsmp/convert/export/json_schema.rb +14 -6
- data/lib/rsmp/schema/core_sxl_resolution.rb +69 -0
- data/lib/rsmp/schema/validation.rb +57 -0
- data/lib/rsmp/schema.rb +40 -67
- data/lib/rsmp/version.rb +1 -1
- data/schemas/tlc/1.0.10/rsmp.json +2 -1
- data/schemas/tlc/1.0.10/sxl.yaml +1 -0
- data/schemas/tlc/1.0.10/sxl_index.json +356 -0
- data/schemas/tlc/1.0.13/rsmp.json +2 -1
- data/schemas/tlc/1.0.13/sxl.yaml +1 -0
- data/schemas/tlc/1.0.13/sxl_index.json +436 -0
- data/schemas/tlc/1.0.14/rsmp.json +2 -1
- data/schemas/tlc/1.0.14/sxl.yaml +1 -0
- data/schemas/tlc/1.0.14/sxl_index.json +468 -0
- data/schemas/tlc/1.0.15/rsmp.json +2 -1
- data/schemas/tlc/1.0.15/sxl.yaml +1 -0
- data/schemas/tlc/1.0.15/sxl_index.json +508 -0
- data/schemas/tlc/1.0.7/rsmp.json +2 -1
- data/schemas/tlc/1.0.7/sxl.yaml +1 -0
- data/schemas/tlc/1.0.7/sxl_index.json +356 -0
- data/schemas/tlc/1.0.8/rsmp.json +2 -1
- data/schemas/tlc/1.0.8/sxl.yaml +1 -0
- data/schemas/tlc/1.0.8/sxl_index.json +356 -0
- data/schemas/tlc/1.0.9/rsmp.json +2 -1
- data/schemas/tlc/1.0.9/sxl.yaml +1 -0
- data/schemas/tlc/1.0.9/sxl_index.json +356 -0
- data/schemas/tlc/1.1.0/rsmp.json +2 -1
- data/schemas/tlc/1.1.0/sxl.yaml +1 -0
- data/schemas/tlc/1.1.0/sxl_index.json +572 -0
- data/schemas/tlc/1.2.0/rsmp.json +2 -1
- data/schemas/tlc/1.2.0/sxl.yaml +1 -0
- data/schemas/tlc/1.2.0/sxl_index.json +571 -0
- data/schemas/tlc/1.2.1/rsmp.json +2 -1
- data/schemas/tlc/1.2.1/sxl.yaml +1 -0
- data/schemas/tlc/1.2.1/sxl_index.json +571 -0
- data/schemas/tlc/1.3.0/defs/definitions.json +86 -25
- data/schemas/tlc/1.3.0/rsmp.json +2 -1
- data/schemas/tlc/1.3.0/statuses/S0024.json +2 -1
- data/schemas/tlc/1.3.0/sxl.yaml +1 -0
- data/schemas/tlc/1.3.0/sxl_index.json +578 -0
- metadata +14 -4
- data/.github/copilot-instructions.md +0 -33
- data/.rspec +0 -1
- 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
|