Skip to content

Commit

Permalink
use Logger version
Browse files Browse the repository at this point in the history
  • Loading branch information
waltjones committed Aug 26, 2024
1 parent 973d23b commit 2d71966
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/rollbar/logger_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
logger = notifier.configuration.logger
logdev = logger.instance_eval { @logdev }

if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('3.0')
if Gem::Version.new(Logger::VERSION) >= Gem::Version.new('1.4.3')
# The Logger class no longer creates a LogDevice when the device is `File::NULL`
# See: ruby/ruby@f3e12caa088cc893a54bc2810ff511e4c89b322b
expect(logdev).to be_nil
Expand Down

0 comments on commit 2d71966

Please sign in to comment.