Skip to content

Commit

Permalink
Add support for Ruby 3.3
Browse files Browse the repository at this point in the history
Calling super() in subclasses of Logger is necessary to initialize all superclass ivars
  • Loading branch information
segiddins committed May 9, 2024
1 parent ff863c9 commit 2085bfd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.2.2
3.3.1
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ DEPENDENCIES
sqlite3 (~> 1.7)

RUBY VERSION
ruby 3.2.2p53
ruby 3.2.3p157

BUNDLED WITH
2.4.22
1 change: 1 addition & 0 deletions lib/rails-footnotes/notes/log_note/note_logger.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ class NoteLogger < Logger

def initialize(logs)
@logs = logs
super(nil)
end

def add(severity, message = nil, progname = nil, &block)
Expand Down

0 comments on commit 2085bfd

Please sign in to comment.