Skip to content

Commit

Permalink
Enable warnings on Ruby 2.7.2 and later
Browse files Browse the repository at this point in the history
  • Loading branch information
orien committed Jan 8, 2021
1 parent 46c5b78 commit f3fbda3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions spec/support/warnings.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# frozen_string_literal: true

if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('2.7.2')
Warning[:deprecated] = true
end

0 comments on commit f3fbda3

Please sign in to comment.