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