rsmp 0.54.0 → 0.54.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/CHANGELOG.md +6 -8
- data/Gemfile.lock +1 -1
- data/lib/rsmp/proxy/supervisor/supervisor_proxy.rb +6 -1
- data/lib/rsmp/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 786d6b1e18cbb59c104770c0eedf27416a0f2cfb32cd76d783e36a557e19f129
|
|
4
|
+
data.tar.gz: 99fecea544b38a876e99d876bf1e999ca0801e2b9ea546d954625007a6a31627
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 97f94d8c5b1c67bf978473660b53d6b66e44fae11ea51e28ed12355aebf8463122cf9770bfdb03bb801302e8d8e30adebbc6e5e7e2e3c4f368144c2465d77c32
|
|
7
|
+
data.tar.gz: de18469283be6e2ecdb3087b00b4da63b6feac9e748ee8845a403773def48ae93d566cadea010923c86dfdfd206e37a8a11d9596a0880e79953648c013dcfb64
|
data/CHANGELOG.md
CHANGED
|
@@ -749,14 +749,12 @@ Initial release.
|
|
|
749
749
|
## 0.53.3
|
|
750
750
|
- prevent possible sxl negotiation race
|
|
751
751
|
|
|
752
|
-
## 0.54.
|
|
752
|
+
## 0.54.0
|
|
753
753
|
- accept only the sxl version the supervisor has configured
|
|
754
754
|
- require configured sxl versions to use strick SemVer format major.minor.patch
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
- support ordered SXL version lists: sites start with the first version; supervisors accept any listed version
|
|
759
|
-
- add optional testing hints in legacy-only initial Version rejections, allowing sites with version lists to reconnect using an allowed hinted version
|
|
760
|
-
- retain hinted selections per supervisor across reconnects and rejections, while fixed-version sites ignore hints
|
|
755
|
+
- support ordered SXL version lists
|
|
756
|
+
- support sxl hint test convention
|
|
761
757
|
- clear subscriptions and buffered messages when switching SXL versions
|
|
762
|
-
|
|
758
|
+
|
|
759
|
+
## 0.54.1
|
|
760
|
+
- check that sxl version match in version request/response for core < 3.3.0
|
data/Gemfile.lock
CHANGED
|
@@ -218,9 +218,14 @@ module RSMP
|
|
|
218
218
|
@accepted_sxls, @rejected_sxls = message.sxls.partition { |item| item['status'] == 'ok' }
|
|
219
219
|
@use_alarms = message.attributes.fetch('useAlarms', true)
|
|
220
220
|
else
|
|
221
|
-
primary =
|
|
221
|
+
primary = @sxls.first
|
|
222
222
|
raise HandshakeError, 'Legacy Version response received, but no SXL is configured' unless primary
|
|
223
223
|
|
|
224
|
+
returned = message.attribute('SXL')
|
|
225
|
+
unless RSMP::Schema.sanitize_version(returned) == primary['version']
|
|
226
|
+
raise HandshakeError, "Supervisor returned SXL #{returned}, but the site offered #{primary['version']}"
|
|
227
|
+
end
|
|
228
|
+
|
|
224
229
|
@accepted_sxls = [primary]
|
|
225
230
|
@rejected_sxls = []
|
|
226
231
|
end
|
data/lib/rsmp/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rsmp
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.54.
|
|
4
|
+
version: 0.54.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Emil Tin
|
|
@@ -1438,7 +1438,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
1438
1438
|
- !ruby/object:Gem::Version
|
|
1439
1439
|
version: '0'
|
|
1440
1440
|
requirements: []
|
|
1441
|
-
rubygems_version: 4.0.
|
|
1441
|
+
rubygems_version: 4.0.20
|
|
1442
1442
|
specification_version: 4
|
|
1443
1443
|
summary: RoadSide Message Protocol (RSMP) library.
|
|
1444
1444
|
test_files: []
|