There was an error while loading. Please reload this page.
1 parent d06ec10 commit 3aace02Copy full SHA for 3aace02
1 file changed
auth-sanitizer.gemspec
@@ -7,7 +7,7 @@
7
# kettle-jem:unfreeze
8
9
gem_version =
10
- if RUBY_VERSION >= "3.1" # rubocop:disable Gemspec/RubyVersionGlobalsUsage
+ if Gem.ruby_version >= Gem::Version.new("3.1")
11
# Loading Version into an anonymous module allows version.rb to get code coverage from SimpleCov!
12
# See: https://github.com/simplecov-ruby/simplecov/issues/557#issuecomment-2630782358
13
# See: https://github.com/panorama-ed/memo_wise/pull/397
0 commit comments