Skip to content

Commit 7a979e0

Browse files
committed
Release 0.24.0
1 parent b85a6ab commit 7a979e0

4 files changed

Lines changed: 20 additions & 14 deletions

File tree

.github/workflows/main.yml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,26 +6,18 @@ jobs:
66
build:
77
runs-on: ubuntu-latest
88
strategy:
9+
fail-fast: false
910
matrix:
10-
ruby: [ '2.5', '2.6', '2.7', '3.0' , '3.1']
11+
ruby: [ '2.6', '2.7', '3.0' , '3.1']
1112
minimal: [ false, true ]
1213
name: Ruby ${{ matrix.ruby }} tests, minimal=${{ matrix.minimal }}
1314
steps:
1415
- uses: actions/checkout@v2
15-
- name: Setup Ruby
16+
- name: Set up Ruby
1617
uses: ruby/setup-ruby@v1
1718
with:
1819
ruby-version: ${{ matrix.ruby }}
19-
- uses: actions/cache@v2
20-
with:
21-
path: vendor/bundle
22-
key: ${{ runner.os }}-${{ matrix.ruby }}-gems-${{ hashFiles('Gemfile', 'frozen_record.gemspec') }}
23-
restore-keys: |
24-
${{ runner.os }}-${{ matrix.ruby }}-gems-
25-
- name: Bundle install
26-
run: |
27-
gem install bundler
28-
bundle install --jobs 4 --retry 3 --path=vendor/bundle
20+
bundler-cache: true
2921
- name: Run tests
3022
env:
3123
MINIMAL: ${{ matrix.minimal }}

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Unreleased
2+
3+
# v0.24.0
4+
5+
- Require Ruby 2.6 (for `Array#intersection`)
6+
- Improve index selection and combinaison. Should significantly help with performance in some cases.
7+
- Implement `max_records_scan` to reject slow queries.
8+
- Only load `Railtie` integration if `Rails::Railtie` is defined
9+
- Allow granular fixture unloading
10+
- Fix a bug affecting older bootsnap versions
11+
12+
# v0.23.0
13+
14+
NO DATA

frozen_record.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
1717
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
1818
spec.require_paths = ['lib']
1919

20-
spec.required_ruby_version = '>= 2.5'
20+
spec.required_ruby_version = '>= 2.6'
2121

2222
spec.add_runtime_dependency 'activemodel'
2323
spec.add_runtime_dependency 'dedup'

lib/frozen_record/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module FrozenRecord
4-
VERSION = '0.23.0'
4+
VERSION = '0.24.0'
55
end

0 commit comments

Comments
 (0)