Skip to content

Various fixes - #37

Open
BuonOmo wants to merge 6 commits into
alisnic:masterfrom
BuonOmo:patch-1
Open

BuonOmo wants to merge 6 commits into
alisnic:masterfrom
BuonOmo:patch-1

Conversation

@BuonOmo

@BuonOmo BuonOmo commented Jan 22, 2025

Copy link
Copy Markdown
Collaborator

Fixes #36

I've made a commit per fix, please tell me if you want separate PRs.

@BuonOmo
BuonOmo force-pushed the patch-1 branch 3 times, most recently from 204b1f0 to 05c1be4 Compare January 22, 2025 10:11
@BuonOmo BuonOmo changed the title fix: rename Rack to Rackup Various fixes Jan 22, 2025
Comment thread bin/stackprof-webnav Outdated
server.cmd_options = options

Rack::Handler.pick(['thin', 'webrick']).run server.new, :Host => options[:addr], :Port => options[:port]
Rackup::Handler.pick(['thin', 'webrick']).run server.new, :Host => options[:addr], :Port => options[:port]

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

does this mean this won't work on old ruby versions?

Comment thread lib/stackprof-webnav/presenter.rb Outdated
:callees => callees(frame, info),
:location => file,
:source => BetterErrors::CodeFormatter::HTML.new(file, line).output
:source => file && line ? BetterErrors::CodeFormatter::HTML.new(file, line).output : nil

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

interesting in what scenario these are missing? maybe reproduce in unit test?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

I could for sure, they're missing in C methods.

@alisnic

alisnic commented Jan 30, 2025

Copy link
Copy Markdown
Owner

I'm no longer working in Ruby ecosystem, so not sure i can properly review that. I left some comments, feel free to tackle them as you see fit. I also invited you to this repository as a collaborator. Once you accept the invite you will be able to merge/push by yourself.

Also, let me know what's your RubyGems email, and I'll figure out a way to give access to you to push the gem there

@BuonOmo

BuonOmo commented Jan 30, 2025

Copy link
Copy Markdown
Collaborator Author

@alisnic fair enough, it's buonomo.ulysse@gmail.com but I'm currently trying to recover the account, so I can't push yet. I hope I'll figure it out soon.

The comments are quite relevant, I'll address all of them :)

- Update Ruby versions to 3.2, 3.3, and head
- Use `actions/checkout@v4` instead of `actions/checkout@v2`
- Cancel concurrent jobs
@BuonOmo
BuonOmo force-pushed the patch-1 branch 4 times, most recently from ad24f5c to 53a0454 Compare February 10, 2025 07:53
Comment thread stackprof-webnav.gemspec
spec.add_dependency "haml", "~> 6.3.0"
spec.add_dependency "stackprof", ">= 0.2.13"
spec.add_dependency "better_errors", "~> 1.1.0"
spec.add_dependency "better_errors", "~> 2.10.1"

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

This actually fixes the cfunc bug. And closes #34

Sign up for free to 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.

Fails to run because of changes in Rack

2 participants