Skip to content

v0.1.0

Compare
Choose a tag to compare
@aka-momo aka-momo released this 19 Sep 14:54
· 49 commits to master since this release

[v0.1.0] - 2022-09-19

Added

  • #11 RateLimit::Result class
  • #12 RateLimit::Worker class
  • #13 RateLimit::Config#on_success and RateLimit::Config#on_failure

Changed

  • RateLimit.throttle to not accept block
  • RateLimit.throttle to return RateLimit::Result object
  • RateLimit::Throttler from class to module while moving responsibilities to RateLimit::Worker class
  • renamed RateLimit.throttle! to RateLimit.throttle_with_block!
  • renamed RateLimit.throttle_only_failures to RateLimit.throttle_only_failures_with_block!

Fixed

  • #7 Symbol topic names does not load the correct limits
  • #6 Main Module (RateLimit) fails to autoload

New Contributors

@dhruvCW made their first contribution 🎉