Skip to content

Feat/kdc 1829 ruby version migration - #1

Open
agultekin wants to merge 11 commits into
masterfrom
feat/KDC-1829_ruby_version_migration
Open

Feat/kdc 1829 ruby version migration#1
agultekin wants to merge 11 commits into
masterfrom
feat/KDC-1829_ruby_version_migration

Conversation

@agultekin

Copy link
Copy Markdown
Collaborator

Ruby 3.4.9

@agultekin
agultekin requested a review from RoddoricMay 22, 2026 07:57
@agultekinagultekin self-assigned this May 22, 2026

@RoddoricRoddoric left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM but double check the should in tests

Comment threadlib/edn/core_ext.rb
module Symbol
def to_edn
":#{self.to_s}"
":#{self}"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
":#{self}"
":#{to_s}"

Wouldn't this work ? I think I prefer having the self implicit than the to_s

Comment threadlib/edn/parser.rb
Comment threadlib/edn/parser.rb
Comment on lines +65 to +67
return TAGS[tag] = func unless func.is_a?(Class)

TAGS[tag] = ->(*args) { func.new(*args) }

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
returnTAGS[tag]=funcunlessfunc.is_a?(Class)
TAGS[tag]=->(*args){func.new(*args)}
TAGS[tag]=handler.is_a?(Class) ? ->(*args){handler.new(*args)} : handler

Comment threadspec/edn/char_stream_spec.rb Outdated
@agultekin
agultekin requested a review from RoddoricMay 29, 2026 15:18
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@agultekin@Roddoric