diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index cdb2283..91705d0 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -36,7 +36,7 @@ jobs: strategy: fail-fast: false matrix: - ruby_version: ['2.6', '2.7', '3.0', '3.1'] + ruby_version: ['3.0', '3.1', '3.2', '3.3'] services: postgres: image: postgres @@ -50,7 +50,7 @@ jobs: ports: - 5432:5432 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install postgresql-client run: | sudo apt-get update @@ -68,4 +68,4 @@ jobs: DATABASE_URL: postgres://postgres:postgres@localhost/postgres QC_BENCHMARK: true QC_BENCHMARK_MAX_TIME_DEQUEUE: 60 - QC_BENCHMARK_MAX_TIME_ENQUEUE: 10 \ No newline at end of file + QC_BENCHMARK_MAX_TIME_ENQUEUE: 10 diff --git a/README.md b/README.md index bbbe1ed..85c9571 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ A major benefit is the ability to enqueue inside transactions, ensuring things a ### Requirements For this version, the requirements are as follows: -* Ruby 2.6, 2.7, 3.0, 3.1 - i.e. currently supported Ruby versions +* Ruby 3.0, 3.1, 3.2, 3.3 - i.e. currently supported non-EOL Ruby versions * Postgres ~> 9.6 * Rubygem: pg ~> 1.1 @@ -212,7 +212,7 @@ bundle exec rake db:migrate ``` #### Database connection -Starting with with queue_classic 3.1, Rails is automatically detected and its connection is used. If you don't want to use the automatic database connection, set this environment variable to false: `export QC_RAILS_DATABASE=false`. +Starting with with queue_classic 3.1, Rails is automatically detected and its connection is used. If you don't want to use the automatic database connection, set this environment variable to false: `export QC_RAILS_DATABASE=false`. > **Note:** If you do not share the connection, you cannot enqueue in the same transaction as whatever you're doing in Rails.