Skip to content

Commit

Permalink
Check for ruby version
Browse files Browse the repository at this point in the history
  • Loading branch information
flash-gordon committed Jan 21, 2025
1 parent 4b03aa5 commit ce2103f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion spec/support/warnings.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,7 @@
Warning.ignore(%r{rspec/mocks})
Warning.ignore(/codacy/)
Warning[:experimental] = false
Warning[:strict_unused_block] = true

if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("3.4")
Warning[:strict_unused_block] = true
end

0 comments on commit ce2103f

Please sign in to comment.