[arvados] updated: 2.7.0-6260-gb4205dda0b
git repository hosting
git at public.arvados.org
Thu Apr 4 13:39:47 UTC 2024
Summary of changes:
services/api/test/integration/gemfile_lock_test.rb | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 services/api/test/integration/gemfile_lock_test.rb
via b4205dda0bf1a7e00b35e8a92bc433f6b2fd2b71 (commit)
from b4f40934a6b7cf80895be7936af64a755cfda81b (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit b4205dda0bf1a7e00b35e8a92bc433f6b2fd2b71
Author: Brett Smith <brett.smith at curii.com>
Date: Thu Apr 4 09:39:35 2024 -0400
21583: Add test for base64 gem lock
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith at curii.com>
diff --git a/services/api/test/integration/gemfile_lock_test.rb b/services/api/test/integration/gemfile_lock_test.rb
new file mode 100644
index 0000000000..2128c105cd
--- /dev/null
+++ b/services/api/test/integration/gemfile_lock_test.rb
@@ -0,0 +1,20 @@
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
+
+require 'test_helper'
+
+class GemfileLockTest < ActionDispatch::IntegrationTest
+ # Like the assertion message says, refer to Gemfile for this test's
+ # rationale. This test can go away once we start supporting Ruby 3.4+.
+ test "base64 gem is not locked to a specific version" do
+ gemfile_lock_path = Rails.root.join("Gemfile.lock")
+ File.open(gemfile_lock_path) do |f|
+ assert_equal(
+ f.each_line.any?(/^\s*base64\s+\(/),
+ false,
+ "Gemfile.lock includes a specific version of base64 - revert and refer to the comments in Gemfile",
+ )
+ end
+ end
+end
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list