File tree 3 files changed +15
-0
lines changed
3 files changed +15
-0
lines changed Original file line number Diff line number Diff line change 16
16
Warning . ignore ( /rspec-core/ )
17
17
Warning . ignore ( /__FILE__/ )
18
18
Warning . ignore ( /__LINE__/ )
19
+
20
+ if Gem ::Version . new ( RUBY_VERSION ) >= Gem ::Version . new ( '3.4' )
21
+ Warning [ :strict_unused_block ] = true
22
+ end
23
+
19
24
Warning . process { |w | raise w } if ENV [ 'FAIL_ON_WARNINGS' ] . eql? ( 'true' )
20
25
21
26
%w[ pry-byebug debug pry ] . each do |gem |
Original file line number Diff line number Diff line change 14
14
15
15
Warning . ignore ( /__FILE__/ )
16
16
Warning . ignore ( /__LINE__/ )
17
+
18
+ if Gem ::Version . new ( RUBY_VERSION ) >= Gem ::Version . new ( '3.4' )
19
+ Warning [ :strict_unused_block ] = true
20
+ end
21
+
17
22
Warning . process { |w | raise w } if ENV [ 'FAIL_ON_WARNINGS' ] . eql? ( 'true' )
18
23
19
24
Dry ::Core ::Deprecations . set_logger! ( SPEC_ROOT . join ( '../log/deprecations.log' ) )
Original file line number Diff line number Diff line change 17
17
Warning . ignore ( /rspec-core/ )
18
18
Warning . ignore ( /__FILE__/ )
19
19
Warning . ignore ( /__LINE__/ )
20
+
21
+ if Gem ::Version . new ( RUBY_VERSION ) >= Gem ::Version . new ( '3.4' )
22
+ Warning [ :strict_unused_block ] = true
23
+ end
24
+
20
25
Warning . process { |w | raise w } if ENV [ 'FAIL_ON_WARNINGS' ] . eql? ( 'true' )
21
26
22
27
require 'rom-sql'
You can’t perform that action at this time.
0 commit comments