From 26cbc61e5fe66c99f8a25dfd3449042afe9d4c51 Mon Sep 17 00:00:00 2001 From: Ali Naqvi Date: Tue, 25 Mar 2025 12:00:16 +0800 Subject: [PATCH 1/2] chore(shard.lock): bump deps vesion --- shard.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/shard.lock b/shard.lock index e8b1d6f..3458749 100644 --- a/shard.lock +++ b/shard.lock @@ -19,7 +19,7 @@ shards: backtracer: git: https://github.com/sija/backtracer.cr.git - version: 1.2.2 + version: 1.2.4 bindata: git: https://github.com/spider-gazelle/bindata.git @@ -75,7 +75,7 @@ shards: flux: git: https://github.com/place-labs/flux.git - version: 3.0.1 + version: 3.0.2 future: git: https://github.com/crystal-community/future.cr.git @@ -147,7 +147,7 @@ shards: pars: git: https://github.com/spider-gazelle/pars.git - version: 1.1.0 + version: 1.2.0 pegmatite: git: https://github.com/jemc/crystal-pegmatite.git From b7b2de6b96dbae6ecdecc3d081b32bc11c5faff4 Mon Sep 17 00:00:00 2001 From: Ali Naqvi Date: Tue, 25 Mar 2025 12:04:14 +0800 Subject: [PATCH 2/2] chore(linter): ran crystal tool format to make linter happy --- spec/spec_helper.cr | 2 +- src/source/manager.cr | 2 +- src/source/publishing/influx_manager.cr | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/spec_helper.cr b/spec/spec_helper.cr index cacccc7..7384315 100644 --- a/spec/spec_helper.cr +++ b/spec/spec_helper.cr @@ -61,7 +61,7 @@ module PlaceOS::Source area_id = "2042", level_id = "nek", building_id = "cards", - org_id = "org-donor" + org_id = "org-donor", ) state = Mappings::State.new state.system_modules[module_id] = [{name: module_name, control_system_id: control_system_id, index: index}] diff --git a/src/source/manager.cr b/src/source/manager.cr index 98d996e..c35e7f9 100644 --- a/src/source/manager.cr +++ b/src/source/manager.cr @@ -21,7 +21,7 @@ module PlaceOS::Source def initialize( @publisher_managers : Array(PublisherManager) = [] of PublisherManager, - @mappings : Mappings = Mappings.new + @mappings : Mappings = Mappings.new, ) @control_system_router = Router::ControlSystem.new(mappings, publisher_managers) @driver_router = Router::Driver.new(mappings, publisher_managers) diff --git a/src/source/publishing/influx_manager.cr b/src/source/publishing/influx_manager.cr index 4595033..b2d4800 100644 --- a/src/source/publishing/influx_manager.cr +++ b/src/source/publishing/influx_manager.cr @@ -20,7 +20,7 @@ module PlaceOS::Source @influx_host : String = INFLUX_HOST || abort("INFLUX_HOST unset"), @influx_api_key : String = INFLUX_API_KEY || abort("INFLUX_API_KEY unset"), @influx_org : String = INFLUX_ORG, - @influx_bucket : String = INFLUX_BUCKET + @influx_bucket : String = INFLUX_BUCKET, ) client = Flux::Client.new(influx_host, influx_api_key, influx_org) @publisher = InfluxPublisher.new(client, influx_bucket)