From dbd8fcc64eb5832e07276d584798823691fc191d Mon Sep 17 00:00:00 2001 From: Morgan Brown Date: Mon, 8 Jul 2024 18:30:38 +0200 Subject: [PATCH] Experiment with requiring concurrent/promise --- .github/workflows/ruby.yml | 6 +++--- spec/spec_helper.rb | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 619925a..b9ec4d0 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -99,8 +99,8 @@ jobs: env: TEST_RAILS_VERSION: ${{ matrix.rails-version }} DEBUG: true - - name: Fix concurrent ruby - if: matrix.rails-version == '4.2' - run: sudo gem install concurrent-ruby -n /usr/local/bin/ + # - name: Fix concurrent ruby + # if: matrix.rails-version == '4.2' + # run: sudo gem install concurrent-ruby -n /usr/local/bin/ - name: Run tests run: bundle exec rake diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index cde1699..52224bf 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -3,6 +3,7 @@ require 'active_resource' require 'active_support' require 'active_support/time' +require 'concurrent/promise' $:.unshift(File.dirname(__FILE__) + '/../lib') require 'cached_resource'