File tree 5 files changed +7
-74
lines changed
active_record/associations/preloader
5 files changed +7
-74
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ build-iPhoneSimulator/
43
43
44
44
# for a library or gem, you might want to ignore these files since the code is
45
45
# intended to run in multiple environments; otherwise, check them in:
46
- # Gemfile.lock
46
+ Gemfile.lock
47
47
# .ruby-version
48
48
# .ruby-gemset
49
49
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 8
8
require 'jit_preloader/active_record/relation'
9
9
require 'jit_preloader/active_record/associations/collection_association'
10
10
require 'jit_preloader/active_record/associations/singular_association'
11
- if Gem ::Version . new ( ActiveRecord ::VERSION ::STRING ) < Gem ::Version . new ( "5.2.2" )
12
- require 'jit_preloader/active_record/associations/preloader/collection_association'
13
- require 'jit_preloader/active_record/associations/preloader/singular_association'
14
- elsif Gem ::Version . new ( ActiveRecord ::VERSION ::STRING ) >= Gem ::Version . new ( "6.0.0" )
11
+ if Gem ::Version . new ( ActiveRecord ::VERSION ::STRING ) >= Gem ::Version . new ( "6.0.0" )
15
12
require 'jit_preloader/active_record/associations/preloader/ar6_association'
13
+ elsif Gem ::Version . new ( ActiveRecord ::VERSION ::STRING ) >= Gem ::Version . new ( "5.2.2" )
14
+ require 'jit_preloader/active_record/associations/preloader/ar5_association'
16
15
else
17
- require 'jit_preloader/active_record/associations/preloader/association'
16
+ require 'jit_preloader/active_record/associations/preloader/collection_association'
17
+ require 'jit_preloader/active_record/associations/preloader/singular_association'
18
18
end
19
19
require 'jit_preloader/preloader'
20
20
21
21
module JitPreloader
22
-
23
22
def self . globally_enabled = ( value )
24
23
@enabled = value
25
24
end
File renamed without changes.
Original file line number Diff line number Diff line change 1
1
module JitPreloader
2
- VERSION = "0.2.5 "
2
+ VERSION = "0.3.0 "
3
3
end
You can’t perform that action at this time.
0 commit comments