From d33fc2b7cc2b94c3869a17dbee3b9168f73fa9a1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 14 Sep 2024 02:50:42 +0000 Subject: [PATCH 01/29] :arrow_up: Bump unicode-display_width from 2.5.0 to 2.6.0 (#241) Bumps [unicode-display_width](https://github.com/janlelis/unicode-display_width) from 2.5.0 to 2.6.0. - [Changelog](https://github.com/janlelis/unicode-display_width/blob/main/CHANGELOG.md) - [Commits](https://github.com/janlelis/unicode-display_width/compare/v2.5.0...v2.6.0) --- updated-dependencies: - dependency-name: unicode-display_width dependency-type: indirect update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index 23184f8..b3cfdc1 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -111,7 +111,7 @@ GEM simplecov-html (0.13.1) simplecov_json_formatter (0.1.4) thor (1.3.2) - unicode-display_width (2.5.0) + unicode-display_width (2.6.0) vcr (6.3.1) base64 webmock (3.23.1) From cf84903a9928041df5b88db225bf41bc5fe9f587 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 16 Sep 2024 23:16:14 +0000 Subject: [PATCH 02/29] :arrow_up: Bump rubocop-performance from 1.21.1 to 1.22.0 (#242) Bumps [rubocop-performance](https://github.com/rubocop/rubocop-performance) from 1.21.1 to 1.22.0. - [Release notes](https://github.com/rubocop/rubocop-performance/releases) - [Changelog](https://github.com/rubocop/rubocop-performance/blob/master/CHANGELOG.md) - [Commits](https://github.com/rubocop/rubocop-performance/compare/v1.21.1...v1.22.0) --- updated-dependencies: - dependency-name: rubocop-performance dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index b3cfdc1..fedea00 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -95,7 +95,7 @@ GEM unicode-display_width (>= 2.4.0, < 3.0) rubocop-ast (1.32.3) parser (>= 3.3.1.0) - rubocop-performance (1.21.1) + rubocop-performance (1.22.0) rubocop (>= 1.48.1, < 2.0) rubocop-ast (>= 1.31.1, < 2.0) rubocop-rake (0.6.0) From 2caaae0631076fec84b5cda58d56e4f4c295c9fb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 17 Sep 2024 23:22:54 +0000 Subject: [PATCH 03/29] :arrow_up: Bump rubocop-performance from 1.22.0 to 1.22.1 (#243) Bumps [rubocop-performance](https://github.com/rubocop/rubocop-performance) from 1.22.0 to 1.22.1. - [Release notes](https://github.com/rubocop/rubocop-performance/releases) - [Changelog](https://github.com/rubocop/rubocop-performance/blob/master/CHANGELOG.md) - [Commits](https://github.com/rubocop/rubocop-performance/compare/v1.22.0...v1.22.1) --- updated-dependencies: - dependency-name: rubocop-performance dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index fedea00..a2bc516 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -95,7 +95,7 @@ GEM unicode-display_width (>= 2.4.0, < 3.0) rubocop-ast (1.32.3) parser (>= 3.3.1.0) - rubocop-performance (1.22.0) + rubocop-performance (1.22.1) rubocop (>= 1.48.1, < 2.0) rubocop-ast (>= 1.31.1, < 2.0) rubocop-rake (0.6.0) From 0698cb2940b0c158ea6915837a8930693ad4fa9b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 17 Sep 2024 23:23:09 +0000 Subject: [PATCH 04/29] :arrow_up: Bump dotenv from 3.1.2 to 3.1.3 (#244) Bumps [dotenv](https://github.com/bkeepers/dotenv) from 3.1.2 to 3.1.3. - [Release notes](https://github.com/bkeepers/dotenv/releases) - [Changelog](https://github.com/bkeepers/dotenv/blob/main/Changelog.md) - [Commits](https://github.com/bkeepers/dotenv/compare/v3.1.2...v3.1.3) --- updated-dependencies: - dependency-name: dotenv dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index a2bc516..fb2ad8e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -18,7 +18,7 @@ GEM concurrent-ruby diff-lcs (1.5.1) docile (1.4.1) - dotenv (3.1.2) + dotenv (3.1.3) ffi (1.17.0) formatador (1.1.0) guard (2.18.1) From 1568fc13771a336a50f0d5c6fadaae649acca665 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 18 Sep 2024 04:13:40 +0000 Subject: [PATCH 05/29] :arrow_up: Bump dotenv from 3.1.3 to 3.1.4 (#245) Bumps [dotenv](https://github.com/bkeepers/dotenv) from 3.1.3 to 3.1.4. - [Release notes](https://github.com/bkeepers/dotenv/releases) - [Changelog](https://github.com/bkeepers/dotenv/blob/main/Changelog.md) - [Commits](https://github.com/bkeepers/dotenv/compare/v3.1.3...v3.1.4) --- updated-dependencies: - dependency-name: dotenv dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index fb2ad8e..ea0fec0 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -18,7 +18,7 @@ GEM concurrent-ruby diff-lcs (1.5.1) docile (1.4.1) - dotenv (3.1.3) + dotenv (3.1.4) ffi (1.17.0) formatador (1.1.0) guard (2.18.1) From 59983e06a0abe57222c9371786a9d048b5aa8cff Mon Sep 17 00:00:00 2001 From: Georg Ledermann Date: Fri, 20 Sep 2024 05:52:27 +0200 Subject: [PATCH 06/29] :arrow_up: Bundler 2.5.19 --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index ea0fec0..05d0b3c 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -145,4 +145,4 @@ DEPENDENCIES webmock BUNDLED WITH - 2.5.18 + 2.5.19 From 0f5df76bab8e36db6f1fe1d312b7ac7b3297e11b Mon Sep 17 00:00:00 2001 From: Georg Ledermann Date: Fri, 20 Sep 2024 08:25:37 +0200 Subject: [PATCH 07/29] VCR: Re-record episodes --- spec/cassettes/influx_success.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/spec/cassettes/influx_success.yml b/spec/cassettes/influx_success.yml index a9fc869..7c9ecd2 100644 --- a/spec/cassettes/influx_success.yml +++ b/spec/cassettes/influx_success.yml @@ -5,14 +5,14 @@ http_interactions: uri: http://localhost:8086/api/v2/write?bucket=my-bucket&org=my-org&precision=s body: encoding: UTF-8 - string: my-measurement bat_fuel_charge=80.0 1709027027 + string: PV battery_soc=80.0 1726812261 headers: Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" User-Agent: - - influxdb-client-ruby/3.0.0 + - influxdb-client-ruby/3.1.0 Authorization: - Token my-token Content-Type: @@ -25,11 +25,11 @@ http_interactions: X-Influxdb-Build: - OSS X-Influxdb-Version: - - v2.7.5 + - v2.7.10 Date: - - Tue, 27 Feb 2024 09:43:47 GMT + - Fri, 20 Sep 2024 06:04:21 GMT body: encoding: UTF-8 string: '' - recorded_at: Tue, 27 Feb 2024 09:43:47 GMT -recorded_with: VCR 6.2.0 + recorded_at: Fri, 20 Sep 2024 06:04:21 GMT +recorded_with: VCR 6.3.1 From 085aa6e3f0063578ef2981b84369c8e06dc2da00 Mon Sep 17 00:00:00 2001 From: Georg Ledermann Date: Wed, 25 Sep 2024 07:23:42 +0200 Subject: [PATCH 08/29] :arrow_up: Bundler 2.5.20 --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index 05d0b3c..2f8c0bf 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -145,4 +145,4 @@ DEPENDENCIES webmock BUNDLED WITH - 2.5.19 + 2.5.20 From 90eb85defe366a7749ee43adb09ef90a096e28eb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 29 Sep 2024 23:33:11 +0000 Subject: [PATCH 09/29] :arrow_up: Bump rexml from 3.3.7 to 3.3.8 (#246) Bumps [rexml](https://github.com/ruby/rexml) from 3.3.7 to 3.3.8. - [Release notes](https://github.com/ruby/rexml/releases) - [Changelog](https://github.com/ruby/rexml/blob/master/NEWS.md) - [Commits](https://github.com/ruby/rexml/compare/v3.3.7...v3.3.8) --- updated-dependencies: - dependency-name: rexml dependency-type: indirect update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index 2f8c0bf..4c45b32 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -69,7 +69,7 @@ GEM rb-inotify (0.11.1) ffi (~> 1.0) regexp_parser (2.9.2) - rexml (3.3.7) + rexml (3.3.8) rspec (3.13.0) rspec-core (~> 3.13.0) rspec-expectations (~> 3.13.0) From 4c8417c41ef3f3d7e9ffa308b7b124ca2b475cee Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 30 Sep 2024 23:36:46 +0000 Subject: [PATCH 10/29] :arrow_up: Bump webmock from 3.23.1 to 3.24.0 (#247) Bumps [webmock](https://github.com/bblimke/webmock) from 3.23.1 to 3.24.0. - [Changelog](https://github.com/bblimke/webmock/blob/master/CHANGELOG.md) - [Commits](https://github.com/bblimke/webmock/compare/v3.23.1...v3.24.0) --- updated-dependencies: - dependency-name: webmock dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index 4c45b32..4ae926c 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -114,7 +114,7 @@ GEM unicode-display_width (2.6.0) vcr (6.3.1) base64 - webmock (3.23.1) + webmock (3.24.0) addressable (>= 2.8.0) crack (>= 0.3.2) hashdiff (>= 0.4.0, < 2.0.0) From eff82fd90fbb1f5e7a210305b323f165c3cddfba Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 1 Oct 2024 23:13:37 +0000 Subject: [PATCH 11/29] :arrow_up: Bump rubocop-rspec from 3.0.5 to 3.1.0 (#248) Bumps [rubocop-rspec](https://github.com/rubocop/rubocop-rspec) from 3.0.5 to 3.1.0. - [Release notes](https://github.com/rubocop/rubocop-rspec/releases) - [Changelog](https://github.com/rubocop/rubocop-rspec/blob/master/CHANGELOG.md) - [Commits](https://github.com/rubocop/rubocop-rspec/compare/v3.0.5...v3.1.0) --- updated-dependencies: - dependency-name: rubocop-rspec dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index 4ae926c..8a4ff57 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -100,7 +100,7 @@ GEM rubocop-ast (>= 1.31.1, < 2.0) rubocop-rake (0.6.0) rubocop (~> 1.0) - rubocop-rspec (3.0.5) + rubocop-rspec (3.1.0) rubocop (~> 1.61) ruby-progressbar (1.13.0) shellany (0.0.1) From 44f7ebb6432f5766d313941575f3fdb5512ba62b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 2 Oct 2024 23:18:24 +0000 Subject: [PATCH 12/29] :arrow_up: Bump rspec-mocks from 3.13.1 to 3.13.2 (#249) Bumps [rspec-mocks](https://github.com/rspec/rspec-mocks) from 3.13.1 to 3.13.2. - [Release notes](https://github.com/rspec/rspec-mocks/releases) - [Changelog](https://github.com/rspec/rspec-mocks/blob/main/Changelog.md) - [Commits](https://github.com/rspec/rspec-mocks/compare/v3.13.1...v3.13.2) --- updated-dependencies: - dependency-name: rspec-mocks dependency-type: indirect update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index 8a4ff57..53c5c4c 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -79,7 +79,7 @@ GEM rspec-expectations (3.13.3) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.13.0) - rspec-mocks (3.13.1) + rspec-mocks (3.13.2) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.13.0) rspec-support (3.13.1) From 3c2a1d67ee30ab1df098295f8d37f23a2f68eb9f Mon Sep 17 00:00:00 2001 From: Georg Ledermann Date: Tue, 8 Oct 2024 08:55:51 +0200 Subject: [PATCH 13/29] :arrow_up: Bundler 2.5.21 --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index 53c5c4c..d8f7e37 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -145,4 +145,4 @@ DEPENDENCIES webmock BUNDLED WITH - 2.5.20 + 2.5.21 From 345f7e71aaa6dc38b979461b5000529cb2f6ebdb Mon Sep 17 00:00:00 2001 From: Georg Ledermann Date: Sat, 12 Oct 2024 12:23:03 +0200 Subject: [PATCH 14/29] Improve message on validation error --- lib/config.rb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/config.rb b/lib/config.rb index a1e2a35..12a8324 100644 --- a/lib/config.rb +++ b/lib/config.rb @@ -175,11 +175,11 @@ def validate_url!(url) end def validate_mappings! - mappings.each do |value| + mappings.each do |mapping| # Ensure all required keys are present - unless (value.keys & %i[topic measurement field type]).size == 4 || + unless (mapping.keys & %i[topic measurement field type]).size == 4 || ( - value.keys & + mapping.keys & %i[ topic measurement_positive @@ -189,12 +189,12 @@ def validate_mappings! type ] ).size == 6 - raise ArgumentError, "Missing required keys: #{value.keys}" + raise ArgumentError, "Missing required keys for mapping: #{mapping.inspect}" end # Ensure type is valid - unless MAPPING_TYPES.include?(value[:type]) - raise ArgumentError, "Invalid type: #{value[:type]}" + unless MAPPING_TYPES.include?(mapping[:type]) + raise ArgumentError, "Invalid type: #{mapping[:type]}" end end end From da83f6fb7da3bc0000196527bbe821037cd36255 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 15 Oct 2024 23:13:00 +0000 Subject: [PATCH 15/29] :arrow_up: Bump rubocop from 1.66.1 to 1.67.0 (#250) Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.66.1 to 1.67.0. - [Release notes](https://github.com/rubocop/rubocop/releases) - [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md) - [Commits](https://github.com/rubocop/rubocop/compare/v1.66.1...v1.67.0) --- updated-dependencies: - dependency-name: rubocop dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index d8f7e37..171faa4 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -83,7 +83,7 @@ GEM diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.13.0) rspec-support (3.13.1) - rubocop (1.66.1) + rubocop (1.67.0) json (~> 2.3) language_server-protocol (>= 3.17.0) parallel (~> 1.10) From 613b17e7d73bb8ebbe33b9aaed70aee097beeab1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 19 Oct 2024 06:27:01 +0000 Subject: [PATCH 16/29] :arrow_up: Bump rspec-core from 3.13.1 to 3.13.2 (#251) Bumps [rspec-core](https://github.com/rspec/rspec-core) from 3.13.1 to 3.13.2. - [Release notes](https://github.com/rspec/rspec-core/releases) - [Changelog](https://github.com/rspec/rspec-core/blob/main/Changelog.md) - [Commits](https://github.com/rspec/rspec-core/compare/v3.13.1...v3.13.2) --- updated-dependencies: - dependency-name: rspec-core dependency-type: indirect update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index 171faa4..a26e6da 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -74,7 +74,7 @@ GEM rspec-core (~> 3.13.0) rspec-expectations (~> 3.13.0) rspec-mocks (~> 3.13.0) - rspec-core (3.13.1) + rspec-core (3.13.2) rspec-support (~> 3.13.0) rspec-expectations (3.13.3) diff-lcs (>= 1.2.0, < 2.0) From 771c397fe58e3737ea63f7bd2c450905ec515a0d Mon Sep 17 00:00:00 2001 From: Georg Ledermann Date: Sun, 20 Oct 2024 18:02:51 +0200 Subject: [PATCH 17/29] :arrow_up: Bundler 2.5.22 --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index a26e6da..d836082 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -145,4 +145,4 @@ DEPENDENCIES webmock BUNDLED WITH - 2.5.21 + 2.5.22 From 224171c7ea44eb4652b477e915a7636f34ad830b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 24 Oct 2024 09:25:35 +0000 Subject: [PATCH 18/29] :arrow_up: Bump rexml from 3.3.8 to 3.3.9 (#252) Bumps [rexml](https://github.com/ruby/rexml) from 3.3.8 to 3.3.9. - [Release notes](https://github.com/ruby/rexml/releases) - [Changelog](https://github.com/ruby/rexml/blob/master/NEWS.md) - [Commits](https://github.com/ruby/rexml/compare/v3.3.8...v3.3.9) --- updated-dependencies: - dependency-name: rexml dependency-type: indirect update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index d836082..41ca7c8 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -69,7 +69,7 @@ GEM rb-inotify (0.11.1) ffi (~> 1.0) regexp_parser (2.9.2) - rexml (3.3.8) + rexml (3.3.9) rspec (3.13.0) rspec-core (~> 3.13.0) rspec-expectations (~> 3.13.0) From 730417851bec548aa5e8ff60a2b3ceafb74261b8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 24 Oct 2024 09:25:42 +0000 Subject: [PATCH 19/29] :arrow_up: Bump json from 2.7.2 to 2.7.3 (#253) Bumps [json](https://github.com/ruby/json) from 2.7.2 to 2.7.3. - [Release notes](https://github.com/ruby/json/releases) - [Changelog](https://github.com/ruby/json/blob/master/CHANGES.md) - [Commits](https://github.com/ruby/json/compare/v2.7.2...v2.7.3) --- updated-dependencies: - dependency-name: json dependency-type: indirect update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index 41ca7c8..d77a83e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -37,7 +37,7 @@ GEM rspec (>= 2.99.0, < 4.0) hashdiff (1.1.1) influxdb-client (3.1.0) - json (2.7.2) + json (2.7.3) jsonpath (1.1.5) multi_json language_server-protocol (3.17.0.3) From c4e05ce5de761439918d9dce8098bcd3781d1c3f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 26 Oct 2024 03:41:50 +0000 Subject: [PATCH 20/29] :arrow_up: Bump json from 2.7.3 to 2.7.4 (#254) Bumps [json](https://github.com/ruby/json) from 2.7.3 to 2.7.4. - [Release notes](https://github.com/ruby/json/releases) - [Changelog](https://github.com/ruby/json/blob/master/CHANGES.md) - [Commits](https://github.com/ruby/json/compare/v2.7.3...v2.7.4) --- updated-dependencies: - dependency-name: json dependency-type: indirect update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index d77a83e..a070fc5 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -37,7 +37,7 @@ GEM rspec (>= 2.99.0, < 4.0) hashdiff (1.1.1) influxdb-client (3.1.0) - json (2.7.3) + json (2.7.4) jsonpath (1.1.5) multi_json language_server-protocol (3.17.0.3) From 371ff8ba85d54879eb6c8d0b3af08baee0987a9b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 27 Oct 2024 06:05:01 +0000 Subject: [PATCH 21/29] :arrow_up: Bump rubocop-rspec from 3.1.0 to 3.2.0 (#255) Bumps [rubocop-rspec](https://github.com/rubocop/rubocop-rspec) from 3.1.0 to 3.2.0. - [Release notes](https://github.com/rubocop/rubocop-rspec/releases) - [Changelog](https://github.com/rubocop/rubocop-rspec/blob/master/CHANGELOG.md) - [Commits](https://github.com/rubocop/rubocop-rspec/compare/v3.1.0...v3.2.0) --- updated-dependencies: - dependency-name: rubocop-rspec dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index a070fc5..ad1ad75 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -100,7 +100,7 @@ GEM rubocop-ast (>= 1.31.1, < 2.0) rubocop-rake (0.6.0) rubocop (~> 1.0) - rubocop-rspec (3.1.0) + rubocop-rspec (3.2.0) rubocop (~> 1.61) ruby-progressbar (1.13.0) shellany (0.0.1) From 0f0c4ce882d71b5daa97b237d4238d489d82a3db Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 29 Oct 2024 00:23:07 +0000 Subject: [PATCH 22/29] :arrow_up: Bump guard from 2.18.1 to 2.19.0 (#256) Bumps [guard](https://github.com/guard/guard) from 2.18.1 to 2.19.0. - [Release notes](https://github.com/guard/guard/releases) - [Commits](https://github.com/guard/guard/compare/v2.18.1...v2.19.0) --- updated-dependencies: - dependency-name: guard dependency-type: indirect update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index ad1ad75..d94c734 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -21,7 +21,7 @@ GEM dotenv (3.1.4) ffi (1.17.0) formatador (1.1.0) - guard (2.18.1) + guard (2.19.0) formatador (>= 0.2.4) listen (>= 2.7, < 4.0) lumberjack (>= 1.0.12, < 2.0) From ead35bdf343bf2e43e84be980cf8d29ebf4e4360 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 30 Oct 2024 00:26:58 +0000 Subject: [PATCH 23/29] :arrow_up: Bump rubocop-ast from 1.32.3 to 1.33.0 (#257) Bumps [rubocop-ast](https://github.com/rubocop/rubocop-ast) from 1.32.3 to 1.33.0. - [Release notes](https://github.com/rubocop/rubocop-ast/releases) - [Changelog](https://github.com/rubocop/rubocop-ast/blob/master/CHANGELOG.md) - [Commits](https://github.com/rubocop/rubocop-ast/compare/v1.32.3...v1.33.0) --- updated-dependencies: - dependency-name: rubocop-ast dependency-type: indirect update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index d94c734..afb954c 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -93,7 +93,7 @@ GEM rubocop-ast (>= 1.32.2, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 2.4.0, < 3.0) - rubocop-ast (1.32.3) + rubocop-ast (1.33.0) parser (>= 3.3.1.0) rubocop-performance (1.22.1) rubocop (>= 1.48.1, < 2.0) From 4dcafec751b6598134e1d28a45d78197bc7ac2e4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 31 Oct 2024 00:30:06 +0000 Subject: [PATCH 24/29] :arrow_up: Bump json from 2.7.4 to 2.7.5 (#258) Bumps [json](https://github.com/ruby/json) from 2.7.4 to 2.7.5. - [Release notes](https://github.com/ruby/json/releases) - [Changelog](https://github.com/ruby/json/blob/master/CHANGES.md) - [Commits](https://github.com/ruby/json/compare/v2.7.4...v2.7.5) --- updated-dependencies: - dependency-name: json dependency-type: indirect update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index afb954c..8f037ec 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -37,7 +37,7 @@ GEM rspec (>= 2.99.0, < 4.0) hashdiff (1.1.1) influxdb-client (3.1.0) - json (2.7.4) + json (2.7.5) jsonpath (1.1.5) multi_json language_server-protocol (3.17.0.3) From 06c12caa5bebb2a970c0ad1d1fb21a3d0ed0c4b6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 31 Oct 2024 16:53:33 +0000 Subject: [PATCH 25/29] :arrow_up: Bump rubocop from 1.67.0 to 1.68.0 (#259) Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.67.0 to 1.68.0. - [Release notes](https://github.com/rubocop/rubocop/releases) - [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md) - [Commits](https://github.com/rubocop/rubocop/compare/v1.67.0...v1.68.0) --- updated-dependencies: - dependency-name: rubocop dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index 8f037ec..03ba033 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -83,7 +83,7 @@ GEM diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.13.0) rspec-support (3.13.1) - rubocop (1.67.0) + rubocop (1.68.0) json (~> 2.3) language_server-protocol (>= 3.17.0) parallel (~> 1.10) From 9c9e52b9e4cc57dd3208cbde94923cefad5316f6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 1 Nov 2024 00:16:56 +0000 Subject: [PATCH 26/29] :arrow_up: Bump parser from 3.3.5.0 to 3.3.5.1 (#260) Bumps [parser](https://github.com/whitequark/parser) from 3.3.5.0 to 3.3.5.1. - [Changelog](https://github.com/whitequark/parser/blob/master/CHANGELOG.md) - [Commits](https://github.com/whitequark/parser/compare/v3.3.5.0...v3.3.5.1) --- updated-dependencies: - dependency-name: parser dependency-type: indirect update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index 03ba033..c0128b6 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -55,7 +55,7 @@ GEM shellany (~> 0.0) ostruct (0.6.0) parallel (1.26.3) - parser (3.3.5.0) + parser (3.3.5.1) ast (~> 2.4.1) racc pry (0.14.2) From fd32b54e140bf94e465c0c32b9c60ff6ab3aaccb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 3 Nov 2024 04:30:22 +0000 Subject: [PATCH 27/29] :arrow_up: Bump rubocop-ast from 1.33.0 to 1.33.1 (#261) Bumps [rubocop-ast](https://github.com/rubocop/rubocop-ast) from 1.33.0 to 1.33.1. - [Release notes](https://github.com/rubocop/rubocop-ast/releases) - [Changelog](https://github.com/rubocop/rubocop-ast/blob/master/CHANGELOG.md) - [Commits](https://github.com/rubocop/rubocop-ast/compare/v1.33.0...v1.33.1) --- updated-dependencies: - dependency-name: rubocop-ast dependency-type: indirect update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index c0128b6..1500138 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -93,7 +93,7 @@ GEM rubocop-ast (>= 1.32.2, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 2.4.0, < 3.0) - rubocop-ast (1.33.0) + rubocop-ast (1.33.1) parser (>= 3.3.1.0) rubocop-performance (1.22.1) rubocop (>= 1.48.1, < 2.0) From 766c4b6e8331c64be8679e58de77d960bf71a62e Mon Sep 17 00:00:00 2001 From: Georg Ledermann Date: Mon, 4 Nov 2024 09:56:45 +0100 Subject: [PATCH 28/29] Improve mapping validation Belongs to https://github.com/orgs/solectrus/discussions/3622 --- lib/config.rb | 69 ++++++++++++++++++++---------- spec/lib/config_mapping_spec.rb | 5 ++- spec/lib/config_spec.rb | 74 ++++++++++++++++++++++++++------- 3 files changed, 111 insertions(+), 37 deletions(-) diff --git a/lib/config.rb b/lib/config.rb index 12a8324..f2d37fb 100644 --- a/lib/config.rb +++ b/lib/config.rb @@ -22,6 +22,12 @@ 'MQTT_TOPIC_HEATPUMP_POWER' => %w[heatpump_power integer], }.freeze +class ConfigError < StandardError + def backtrace + [] + end +end + class Config attr_accessor :mqtt_host, :mqtt_port, @@ -86,9 +92,12 @@ def mappings_from(env) mapping_groups .transform_values do |values| - values.to_h.transform_keys do |key| - key.match(MAPPING_REGEX)[2].downcase.to_sym - end + mapping_group = values.first[0].match(MAPPING_REGEX)[1] + + values + .to_h + .transform_keys { |key| key.match(MAPPING_REGEX)[2].downcase.to_sym } + .merge(mapping_group:) end .values end @@ -175,27 +184,45 @@ def validate_url!(url) end def validate_mappings! - mappings.each do |mapping| - # Ensure all required keys are present - unless (mapping.keys & %i[topic measurement field type]).size == 4 || - ( - mapping.keys & - %i[ - topic - measurement_positive - measurement_negative - field_positive - field_negative - type - ] - ).size == 6 - raise ArgumentError, "Missing required keys for mapping: #{mapping.inspect}" + mappings.each_with_index do |mapping, index| + validate_mapping!(index, :topic) + validate_mapping!(index, :type, allow_list: MAPPING_TYPES) + + if mapping[:field_positive] || mapping[:field_negative] + validate_mapping!(index, :field_positive) + validate_mapping!(index, :field_negative) + validate_mapping!(index, :measurement_positive) + validate_mapping!(index, :measurement_negative) + + validate_mapping!(index, :field, present: false) + validate_mapping!(index, :measurement, present: false) + else + validate_mapping!(index, :field) + validate_mapping!(index, :measurement) + + validate_mapping!(index, :field_negative, present: false) + validate_mapping!(index, :field_positive, present: false) + validate_mapping!(index, :measurement_positive, present: false) + validate_mapping!(index, :measurement_negative, present: false) + end + end + end + + def validate_mapping!(index, key, present: true, allow_list: nil) + mapping = mappings[index] + var = "MAPPING_#{mapping[:mapping_group]}_#{key.upcase}" + + if present + if mapping[key].nil? || mapping[key].strip == '' + raise ConfigError, "Missing variable: #{var}" end - # Ensure type is valid - unless MAPPING_TYPES.include?(mapping[:type]) - raise ArgumentError, "Invalid type: #{mapping[:type]}" + if allow_list && !allow_list.include?(mapping[key]) + raise ConfigError, + "Variable #{var} is invalid: #{mapping[key]}. Must be one of: #{allow_list.join(', ')}" end + elsif mapping[key] + raise ConfigError, "Unexpected variable: #{var}" end end end diff --git a/spec/lib/config_mapping_spec.rb b/spec/lib/config_mapping_spec.rb index 01ae797..d1dcb69 100644 --- a/spec/lib/config_mapping_spec.rb +++ b/spec/lib/config_mapping_spec.rb @@ -52,12 +52,14 @@ measurement: 'PV', field: 'inverter_power', type: 'integer', + mapping_group: '0', }, { topic: 'senec/0/ENERGY/GUI_HOUSE_POW', measurement: 'PV', field: 'house_power', type: 'integer', + mapping_group: '1', }, { topic: 'senec/0/ENERGY/GUI_GRID_POW', @@ -66,6 +68,7 @@ field_positive: 'grid_import_power', field_negative: 'grid_export_power', type: 'integer', + mapping_group: '2', }, ], ) @@ -86,7 +89,7 @@ let(:env) { other_env.merge(hash) } it 'raises an error' do - expect { config }.to raise_error(ArgumentError) + expect { config }.to raise_error(ConfigError) end end end diff --git a/spec/lib/config_spec.rb b/spec/lib/config_spec.rb index a151d3f..798ac18 100644 --- a/spec/lib/config_spec.rb +++ b/spec/lib/config_spec.rb @@ -140,12 +140,14 @@ measurement: 'PV', field: 'inverter_power', type: 'integer', + mapping_group: '0', }, { topic: 'senec/0/ENERGY/GUI_HOUSE_POW', measurement: 'PV', field: 'house_power', type: 'integer', + mapping_group: '1', }, { topic: 'senec/0/ENERGY/GUI_GRID_POW', @@ -154,12 +156,14 @@ field_positive: 'grid_import_power', field_negative: 'grid_export_power', type: 'integer', + mapping_group: '2', }, { topic: 'senec/0/PV1/POWER_RATIO', measurement: 'PV', field: 'grid_export_limit', type: 'integer', + mapping_group: '3', }, { topic: 'senec/0/ENERGY/GUI_BAT_DATA_POWER', @@ -168,36 +172,42 @@ field_positive: 'battery_charging_power', field_negative: 'battery_discharging_power', type: 'integer', + mapping_group: '4', }, { topic: 'senec/0/ENERGY/GUI_BAT_DATA_FUEL_CHARGE', measurement: 'PV', field: 'battery_soc', type: 'float', + mapping_group: '5', }, { topic: 'senec/0/WALLBOX/APPARENT_CHARGING_POWER/0', measurement: 'PV', field: 'wallbox_power', type: 'integer', + mapping_group: '6', }, { topic: 'somewhere/HEATPUMP/POWER', measurement: 'HEATPUMP', field: 'power', type: 'integer', + mapping_group: '7', }, { topic: 'senec/0/TEMPMEASURE/CASE_TEMP', measurement: 'PV', field: 'case_temp', type: 'float', + mapping_group: '8', }, { topic: 'senec/0/ENERGY/STAT_STATE_Text', measurement: 'PV', field: 'system_status', type: 'string', + mapping_group: '9', }, ], ) @@ -452,27 +462,61 @@ end describe 'invalid options' do - context 'when all blank' do - let(:env) { {} } + [ + ->(env) { env.except('MQTT_HOST') }, + ->(env) { env.except('MQTT_PORT') }, + ->(env) { env.except('INFLUX_HOST') }, + ->(env) { env.except('INFLUX_TOKEN') }, + ->(env) { env.except('INFLUX_ORG') }, + ->(env) { env.except('INFLUX_BUCKET') }, + ].each do |test_case| + it 'raises an KeyError' do + env = test_case.call(valid_env) - it 'raises an exception' do - expect { described_class.new(env) }.to raise_error(Exception) + expect { described_class.new(env) }.to raise_error(KeyError) end end + end - context 'when missing MQTT_HOST' do - let(:env) { valid_env.except('MQTT_HOST') } - - it 'raises an exception' do - expect { described_class.new(env) }.to raise_error(Exception) - end - end + describe 'invalid mappings' do + [ + # Missing keys (for a simple mapping) + [:except, 'MAPPING_0_TOPIC', 'Missing variable: MAPPING_0_TOPIC'], + [:except, 'MAPPING_0_FIELD', 'Missing variable: MAPPING_0_FIELD'], + [:except, 'MAPPING_0_MEASUREMENT', 'Missing variable: MAPPING_0_MEASUREMENT'], + [:except, 'MAPPING_0_TYPE', 'Missing variable: MAPPING_0_TYPE'], + # Missing keys (for a positive/negative mapping) + [:except, 'MAPPING_4_FIELD_POSITIVE', 'Missing variable: MAPPING_4_FIELD_POSITIVE'], + [:except, 'MAPPING_4_FIELD_NEGATIVE', 'Missing variable: MAPPING_4_FIELD_NEGATIVE'], + [:except, 'MAPPING_4_MEASUREMENT_POSITIVE', 'Missing variable: MAPPING_4_MEASUREMENT_POSITIVE'], + [:except, 'MAPPING_4_MEASUREMENT_NEGATIVE', 'Missing variable: MAPPING_4_MEASUREMENT_NEGATIVE'], + # Blank keys (for a simple mapping) + [:merge, { 'MAPPING_0_TOPIC' => '' }, 'Missing variable: MAPPING_0_TOPIC'], + [:merge, { 'MAPPING_0_FIELD' => '' }, 'Missing variable: MAPPING_0_FIELD'], + [:merge, { 'MAPPING_0_MEASUREMENT' => '' }, 'Missing variable: MAPPING_0_MEASUREMENT'], + [:merge, { 'MAPPING_0_TYPE' => '' }, 'Missing variable: MAPPING_0_TYPE'], + # Blank keys (for a positive/negative mapping) + [:merge, { 'MAPPING_4_FIELD_POSITIVE' => '' }, 'Missing variable: MAPPING_4_FIELD_POSITIVE'], + [:merge, { 'MAPPING_4_MEASUREMENT_POSITIVE' => '' }, 'Missing variable: MAPPING_4_MEASUREMENT_POSITIVE'], + [:merge, { 'MAPPING_4_FIELD_NEGATIVE' => '' }, 'Missing variable: MAPPING_4_FIELD_NEGATIVE'], + [:merge, { 'MAPPING_4_MEASUREMENT_NEGATIVE' => '' }, 'Missing variable: MAPPING_4_MEASUREMENT_NEGATIVE'], + # Superfluous keys + [:merge, { 'MAPPING_4_FIELD' => 'foo' }, 'Unexpected variable: MAPPING_4_FIELD'], + [:merge, { 'MAPPING_4_MEASUREMENT' => 'foo' }, 'Unexpected variable: MAPPING_4_MEASUREMENT'], + [:merge, { 'MAPPING_0_MEASUREMENT_POSITIVE' => 'foo' }, 'Unexpected variable: MAPPING_0_MEASUREMENT_POSITIVE'], + [:merge, { 'MAPPING_0_MEASUREMENT_NEGATIVE' => 'foo' }, 'Unexpected variable: MAPPING_0_MEASUREMENT_NEGATIVE'], + # Invalid type + [:merge, { 'MAPPING_0_TYPE' => 'this-is-no-type' }, 'Variable MAPPING_0_TYPE is invalid: this-is-no-type. ' \ + 'Must be one of: integer, float, string, boolean',], + ].each do |test_case| + message = test_case[2] - context 'when mapping type is invalid' do - let(:env) { valid_env.merge('MAPPING_0_TYPE' => 'this-is-no-type') } + it "raises an ConfigError ('#{message}')" do + env = valid_env.public_send(test_case[0], test_case[1]) - it 'raises an exception' do - expect { described_class.new(env) }.to raise_error(Exception) + expect { described_class.new(env) }.to raise_error( + ConfigError, + ).with_message(message) end end end From 6bd2fc2e85de56209f7a373f573badb28e642bd5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 4 Nov 2024 13:51:17 +0000 Subject: [PATCH 29/29] :arrow_up: Bump json from 2.7.5 to 2.7.6 (#262) Bumps [json](https://github.com/ruby/json) from 2.7.5 to 2.7.6. - [Release notes](https://github.com/ruby/json/releases) - [Changelog](https://github.com/ruby/json/blob/master/CHANGES.md) - [Commits](https://github.com/ruby/json/compare/v2.7.5...v2.7.6) --- updated-dependencies: - dependency-name: json dependency-type: indirect update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index 1500138..bc009a4 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -37,7 +37,7 @@ GEM rspec (>= 2.99.0, < 4.0) hashdiff (1.1.1) influxdb-client (3.1.0) - json (2.7.5) + json (2.7.6) jsonpath (1.1.5) multi_json language_server-protocol (3.17.0.3)