Skip to content

Commit

Permalink
update rsmp_schema, bump patch version to 0.32.4
Browse files Browse the repository at this point in the history
  • Loading branch information
emiltin committed Sep 6, 2024
1 parent 3667d31 commit 7753328
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 8 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
source "https://rubygems.org"

# Specify your gem's dependencies in rsmp.gemspec

gemspec
6 changes: 3 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
PATH
remote: .
specs:
rsmp (0.32.3)
rsmp (0.32.4)
async (~> 2.16)
async-io (~> 1.43)
colorize (~> 1.1)
logger (~> 1.6)
ostruct (~> 0.6)
rsmp_schema (~> 0.7)
rsmp_schema (~> 0.8)

GEM
remote: https://rubygems.org/
Expand Down Expand Up @@ -77,7 +77,7 @@ GEM
ostruct (0.6.0)
rake (13.2.1)
regexp_parser (2.9.2)
rsmp_schema (0.7.0)
rsmp_schema (0.8.1)
json_schemer (~> 2.3.0)
thor (~> 1.3.1)
rspec (3.13.0)
Expand Down
2 changes: 1 addition & 1 deletion lib/rsmp/alarm_state.rb
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def resume

# according to the rsmp core spec, the only time an alarm changes to unanknowledged,
# is when it's activated. See:
# https://rsmp-nordic.org/rsmp_specifications/core/3.2/applicability/basic_structure.html#alarm-status
# https://rsmp-nordic.org/rsmp_specifications/core/3.2.0/applicability/basic_structure.html#alarm-status
def activate
change, @active, @acknowledged = !@active, true, false
update_timestamp if change
Expand Down
4 changes: 2 additions & 2 deletions lib/rsmp/tlc/traffic_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ def handle_s0005 status_code, status_name=nil, options={}
case status_name
when 'status'
TrafficControllerSite.make_status @is_starting
when 'statusByIntersection' # from sxl 1.2
when 'statusByIntersection' # from sxl 1.2.0
TrafficControllerSite.make_status([
{
"intersection"=>"1",
Expand All @@ -689,7 +689,7 @@ def handle_s0005 status_code, status_name=nil, options={}
end

def handle_s0006 status_code, status_name=nil, options={}
if Proxy.version_meets_requirement? options[:sxl_version], '>=1.2'
if Proxy.version_meets_requirement? options[:sxl_version], '>=1.2.0'
log "S0006 is depreciated, use S0035 instead.", level: :warning
end
status = @emergency_routes.any?
Expand Down
2 changes: 1 addition & 1 deletion lib/rsmp/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module RSMP
VERSION = "0.32.3"
VERSION = "0.32.4"
end
2 changes: 1 addition & 1 deletion rsmp.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Gem::Specification.new do |spec|
spec.add_dependency "async", "~> 2.16"
spec.add_dependency "async-io", "~> 1.43"
spec.add_dependency "colorize", "~> 1.1"
spec.add_dependency "rsmp_schema", "~> 0.7"
spec.add_dependency "rsmp_schema", "~> 0.8"

spec.add_development_dependency "bundler", "~> 2.5"
spec.add_development_dependency "rake", "~> 13.2"
Expand Down

0 comments on commit 7753328

Please sign in to comment.