From ee195301c1662cc80bb733e4d65340b31eb38612 Mon Sep 17 00:00:00 2001 From: Marco Roth Date: Sun, 15 Dec 2024 09:20:48 +0100 Subject: [PATCH] Lock `securerandom` to `~> 0.3` > bundle install /opt/hostedtoolcache/Ruby/3.0.7/x64/bin/bundle config --local path /home/runner/work/stimulus_reflex/stimulus_reflex/vendor/bundle /opt/hostedtoolcache/Ruby/3.0.7/x64/bin/bundle config --local deployment true Cache key: setup-ruby-bundler-cache-v6-ubuntu-24.04-x64-ruby-3.0.7-wd-/home/runner/work/stimulus_reflex/stimulus_reflex-with--without--only--Gemfile.lock-59fd8362f3d2bd289a42d548287569ff08a66d2b03baa3c4fc9670348369ac95 Cache Size: ~29 MB (30677739 B) /usr/bin/tar -xf /home/runner/work/_temp/601a717f-eaa5-4ecb-baea-b133ac6879de/cache.tzst -P -C /home/runner/work/stimulus_reflex/stimulus_reflex --use-compress-program unzstd Cache restored successfully Found cache for key: setup-ruby-bundler-cache-v6-ubuntu-24.04-x64-ruby-3.0.7-wd-/home/runner/work/stimulus_reflex/stimulus_reflex-with--without--only--Gemfile.lock-fd4f13abaa0d6caa3335a245af286fe3ce39d499b98a9b4a8dfd7637b8271304 /opt/hostedtoolcache/Ruby/3.0.7/x64/bin/bundle install --jobs 4 Received 30677739 of 30677739 (100.0%), 29.2 MBs/sec Fetching gem metadata from https://rubygems.org/......... securerandom-0.4.0 requires ruby version >= 3.1.0, which is incompatible with the current version, 3.0.7 Error: The process '/opt/hostedtoolcache/Ruby/3.0.7/x64/bin/bundle' failed with exit code 5 --- Gemfile | 2 ++ Gemfile.lock | 1 + 2 files changed, 3 insertions(+) diff --git a/Gemfile b/Gemfile index 5b7ecd62..9461ad1e 100644 --- a/Gemfile +++ b/Gemfile @@ -5,3 +5,5 @@ source "https://rubygems.org" git_source(:github) { |repo_name| "https://github.com/#{repo_name}" } gemspec + +gem "securerandom", "~> 0.3" diff --git a/Gemfile.lock b/Gemfile.lock index 6e3da3bf..eb9ab323 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -254,6 +254,7 @@ DEPENDENCIES mocha (~> 1.13) rails (>= 5.2) rake (~> 13.0) + securerandom (~> 0.3) standard (~> 1.24) stimulus_reflex!