rsmp 0.32.3 → 0.32.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -0
- data/Gemfile.lock +3 -3
- data/lib/rsmp/alarm_state.rb +1 -1
- data/lib/rsmp/tlc/traffic_controller.rb +2 -2
- data/lib/rsmp/version.rb +1 -1
- data/rsmp.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7a13f774cd3ac2a45f9029d0ecc2ca053bd9f44f95a6b732c781cf7801afd911
|
4
|
+
data.tar.gz: '059ec5769f820d56210832a84d6269fec68f8abe22fc12eff5306bb79ea7cd9d'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 527828b5bb5a9ca723465c8431b87389f7525e9cb9c309a437c6d7d16fb3235e9cc139144b61416c13994c40cbed8325cfb3af4952a12ae1bb1e047c885f9dd0
|
7
|
+
data.tar.gz: 77bc1091bd0499f3f2dcc72ce388ea8f78a2f41eea75351769b78427ba8b55c79c5dada6b32604e73736223bdcba50a5905b0d5ee8a5cb825feb8a6cc20ce000
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
rsmp (0.32.
|
4
|
+
rsmp (0.32.4)
|
5
5
|
async (~> 2.16)
|
6
6
|
async-io (~> 1.43)
|
7
7
|
colorize (~> 1.1)
|
8
8
|
logger (~> 1.6)
|
9
9
|
ostruct (~> 0.6)
|
10
|
-
rsmp_schema (~> 0.
|
10
|
+
rsmp_schema (~> 0.8)
|
11
11
|
|
12
12
|
GEM
|
13
13
|
remote: https://rubygems.org/
|
@@ -77,7 +77,7 @@ GEM
|
|
77
77
|
ostruct (0.6.0)
|
78
78
|
rake (13.2.1)
|
79
79
|
regexp_parser (2.9.2)
|
80
|
-
rsmp_schema (0.
|
80
|
+
rsmp_schema (0.8.1)
|
81
81
|
json_schemer (~> 2.3.0)
|
82
82
|
thor (~> 1.3.1)
|
83
83
|
rspec (3.13.0)
|
data/lib/rsmp/alarm_state.rb
CHANGED
@@ -71,7 +71,7 @@ module RSMP
|
|
71
71
|
|
72
72
|
# according to the rsmp core spec, the only time an alarm changes to unanknowledged,
|
73
73
|
# is when it's activated. See:
|
74
|
-
# https://rsmp-nordic.org/rsmp_specifications/core/3.2/applicability/basic_structure.html#alarm-status
|
74
|
+
# https://rsmp-nordic.org/rsmp_specifications/core/3.2.0/applicability/basic_structure.html#alarm-status
|
75
75
|
def activate
|
76
76
|
change, @active, @acknowledged = !@active, true, false
|
77
77
|
update_timestamp if change
|
@@ -678,7 +678,7 @@ module RSMP
|
|
678
678
|
case status_name
|
679
679
|
when 'status'
|
680
680
|
TrafficControllerSite.make_status @is_starting
|
681
|
-
when 'statusByIntersection' # from sxl 1.2
|
681
|
+
when 'statusByIntersection' # from sxl 1.2.0
|
682
682
|
TrafficControllerSite.make_status([
|
683
683
|
{
|
684
684
|
"intersection"=>"1",
|
@@ -689,7 +689,7 @@ module RSMP
|
|
689
689
|
end
|
690
690
|
|
691
691
|
def handle_s0006 status_code, status_name=nil, options={}
|
692
|
-
if Proxy.version_meets_requirement? options[:sxl_version], '>=1.2'
|
692
|
+
if Proxy.version_meets_requirement? options[:sxl_version], '>=1.2.0'
|
693
693
|
log "S0006 is depreciated, use S0035 instead.", level: :warning
|
694
694
|
end
|
695
695
|
status = @emergency_routes.any?
|
data/lib/rsmp/version.rb
CHANGED
data/rsmp.gemspec
CHANGED
@@ -35,7 +35,7 @@ Gem::Specification.new do |spec|
|
|
35
35
|
spec.add_dependency "async", "~> 2.16"
|
36
36
|
spec.add_dependency "async-io", "~> 1.43"
|
37
37
|
spec.add_dependency "colorize", "~> 1.1"
|
38
|
-
spec.add_dependency "rsmp_schema", "~> 0.
|
38
|
+
spec.add_dependency "rsmp_schema", "~> 0.8"
|
39
39
|
|
40
40
|
spec.add_development_dependency "bundler", "~> 2.5"
|
41
41
|
spec.add_development_dependency "rake", "~> 13.2"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rsmp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.32.
|
4
|
+
version: 0.32.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Emil Tin
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-09-
|
11
|
+
date: 2024-09-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: logger
|
@@ -86,14 +86,14 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '0.
|
89
|
+
version: '0.8'
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: '0.
|
96
|
+
version: '0.8'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: bundler
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|