File tree Expand file tree Collapse file tree 8 files changed +6
-153
lines changed
active_record/associations/preloader Expand file tree Collapse file tree 8 files changed +6
-153
lines changed Original file line number Diff line number Diff line change 1414 matrix :
1515 gemfile :
1616 - Gemfile
17- - Gemfile.5.2
18- - Gemfile.6.0
1917 - Gemfile.6.1
2018 env :
2119 BUNDLE_GEMFILE : ${{ matrix.gemfile }}
2422 - name : Set up Ruby ${{ matrix.ruby-version }}
2523 uses : ruby/setup-ruby@v1
2624 with :
27- ruby-version : 2.7
25+ ruby-version : 3.1
2826 - name : Install dependencies
2927 run : bundle install
3028 - name : Run tests
Original file line number Diff line number Diff line change @@ -13,10 +13,10 @@ jobs:
1313
1414 steps :
1515 - uses : actions/checkout@v4
16- - name : Set up Ruby 2.7
16+ - name : Set up Ruby 3.1
1717 uses : ruby/setup-ruby@v1
1818 with :
19- ruby-version : 2.7
19+ ruby-version : 3.1
2020
2121 - name : Publish to RubyGems
2222 env :
Original file line number Diff line number Diff line change 11source 'https://rubygems.org'
22
33gem "activerecord" , ">=7"
4+ gem "sqlite3" , "~> 1.4"
45# Specify your gem's dependencies in jit_preloader.gemspec
56gemspec
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1111if Gem ::Version . new ( ActiveRecord ::VERSION ::STRING ) >= Gem ::Version . new ( "7.0.0" )
1212 require 'jit_preloader/active_record/associations/preloader/ar7_association'
1313 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" )
1515 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'
1816else
1917 require 'jit_preloader/active_record/associations/preloader/collection_association'
2018 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 11module JitPreloader
2- VERSION = "2.1 .0"
2+ VERSION = "3.0 .0"
33end
You can’t perform that action at this time.
0 commit comments