Skip to content

Deprecate in favor of rack-attack#51

Merged
FreekingDean merged 5 commits into
dryruby:masterfrom
FreekingDean:chore/depreacte
Mar 1, 2023
Merged

Deprecate in favor of rack-attack#51
FreekingDean merged 5 commits into
dryruby:masterfrom
FreekingDean:chore/depreacte

Conversation

@FreekingDean

@FreekingDean FreekingDean commented Oct 2, 2019

Copy link
Copy Markdown
Collaborator

This is a really large conceptual PR so I'm going to let this sit for a while to gather feedback!

RackAttack has much more active maintenance & is more mature. I believe we should nudge those looking to do rate limiting in rack apps that way to be the most helpful we can be!
Fixes #43
Fixes #55

@FreekingDean

Copy link
Copy Markdown
Collaborator Author

@gkellogg I noticed a few dependency updates from you & dependabot. I was wondering if you wanted to chime in here?

@artob as well, but I know you have been away from open source stuffs lately :)

@gkellogg

Copy link
Copy Markdown

@FreekingDean I don't really have an opinion; dependency updates would be due to the RDF.rb 3.1 release and dropping support for older Ruby versions, and of course versions of Rack < 2.0.

I think the way to probably handle it is to do necessary updates to make this gem current, and add a [DEPRECATION] warning that points people to RackAttack and that this gem is now deprecated and will not receive any substantial updates. [DEPRECATION] probably needs to go in the gemspec post_install_message and all of the initialize methods for each module.

As the author and only person who can update RubyGems, @artob would need to either add an owner to the library (preferable) or do the push to RubyGems for whatever comes out of this.

I see it's used by 236 different repos, although the gem spec looks pretty old.

See https://github.com/ruby-rdf/rack-linkeddata/blob/develop/rack-linkeddata.gemspec for something that would be compatible with where we are with Ruby RDF.

@FreekingDean

FreekingDean commented Dec 18, 2019 via email

Copy link
Copy Markdown
Collaborator Author

@sandstrom sandstrom left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think this is a very sound adjustment. 👍🏻 on the merge

Just one data point, but I found this quickly, but didn't notice rack-attack until quite a while later.

Comment thread README.md Outdated
Comment thread lib/rack/throttle/limiter.rb Outdated
Comment thread rack-throttle.gemspec Outdated
@FreekingDean

FreekingDean commented Sep 25, 2020 via email

Copy link
Copy Markdown
Collaborator Author
@joshbuker

Copy link
Copy Markdown

@dryruby @FreekingDean any movement on this? This would help save some time for developers looking into rate limiting for rack-based applications.

Co-authored-by: sandstrom <mail+github@a16m.se>
@FreekingDean FreekingDean merged commit 9aa81a6 into dryruby:master Mar 1, 2023
@FreekingDean FreekingDean deleted the chore/depreacte branch March 1, 2023 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants