File tree 8 files changed +6
-153
lines changed
active_record/associations/preloader
8 files changed +6
-153
lines changed Original file line number Diff line number Diff line change 14
14
matrix :
15
15
gemfile :
16
16
- Gemfile
17
- - Gemfile.5.2
18
- - Gemfile.6.0
19
17
- Gemfile.6.1
20
18
env :
21
19
BUNDLE_GEMFILE : ${{ matrix.gemfile }}
24
22
- name : Set up Ruby ${{ matrix.ruby-version }}
25
23
uses : ruby/setup-ruby@v1
26
24
with :
27
- ruby-version : 2.7
25
+ ruby-version : 3.1
28
26
- name : Install dependencies
29
27
run : bundle install
30
28
- name : Run tests
Original file line number Diff line number Diff line change @@ -13,10 +13,10 @@ jobs:
13
13
14
14
steps :
15
15
- uses : actions/checkout@v4
16
- - name : Set up Ruby 2.7
16
+ - name : Set up Ruby 3.1
17
17
uses : ruby/setup-ruby@v1
18
18
with :
19
- ruby-version : 2.7
19
+ ruby-version : 3.1
20
20
21
21
- name : Publish to RubyGems
22
22
env :
Original file line number Diff line number Diff line change 1
1
source 'https://rubygems.org'
2
2
3
3
gem "activerecord" , ">=7"
4
+ gem "sqlite3" , "~> 1.4"
4
5
# Specify your gem's dependencies in jit_preloader.gemspec
5
6
gemspec
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11
11
if Gem ::Version . new ( ActiveRecord ::VERSION ::STRING ) >= Gem ::Version . new ( "7.0.0" )
12
12
require 'jit_preloader/active_record/associations/preloader/ar7_association'
13
13
require 'jit_preloader/active_record/associations/preloader/ar7_branch'
14
- elsif Gem ::Version . new ( ActiveRecord ::VERSION ::STRING ) >= Gem ::Version . new ( "6.0 .0" )
14
+ elsif Gem ::Version . new ( ActiveRecord ::VERSION ::STRING ) >= Gem ::Version . new ( "6.1 .0" )
15
15
require 'jit_preloader/active_record/associations/preloader/ar6_association'
16
- elsif Gem ::Version . new ( ActiveRecord ::VERSION ::STRING ) >= Gem ::Version . new ( "5.2.2" )
17
- require 'jit_preloader/active_record/associations/preloader/ar5_association'
18
16
else
19
17
require 'jit_preloader/active_record/associations/preloader/collection_association'
20
18
require 'jit_preloader/active_record/associations/preloader/singular_association'
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
module JitPreloader
2
- VERSION = "2.1 .0"
2
+ VERSION = "3.0 .0"
3
3
end
You can’t perform that action at this time.
0 commit comments