diff --git a/Gemfile.lock b/Gemfile.lock index 8621bb75..5551cc41 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -168,7 +168,7 @@ GEM rails-dom-testing (>= 1, < 3) railties (>= 4.2.0) thor (>= 0.14, < 2.0) - json (2.18.0) + json (2.18.1) json_api_client (1.21.0) activemodel (>= 3.2.0) activesupport (>= 3.2.0) @@ -292,7 +292,7 @@ GEM roo (2.8.3) nokogiri (~> 1) rubyzip (>= 1.3.0, < 3.0.0) - rubocop (1.84.0) + rubocop (1.84.1) json (~> 2.3) language_server-protocol (~> 3.17.0.2) lint_roller (~> 1.1.0) @@ -376,6 +376,7 @@ PLATFORMS arm64-darwin-22 arm64-darwin-23 arm64-darwin-24 + arm64-darwin-25 x86_64-darwin-21 x86_64-linux diff --git a/app/models/qc_asset_creator/multiple_tag2_conversion.rb b/app/models/qc_asset_creator/multiple_tag2_conversion.rb index a68790a2..2ccd682b 100644 --- a/app/models/qc_asset_creator/multiple_tag2_conversion.rb +++ b/app/models/qc_asset_creator/multiple_tag2_conversion.rb @@ -105,8 +105,8 @@ def tag2_qcables @tag2_qcables ||= api.search.find(Settings.searches['Find qcable by barcode']) .all(Gatekeeper::Qcable, barcode: tag2_tubes_barcodes.values) .inject({}) do |hash, qcable| - hash[qcable.barcode.ean13] = qcable - hash + hash[qcable.barcode.ean13] = qcable + hash end end