Skip to content

1.3.0

Compare
Choose a tag to compare
@elifoster elifoster released this 24 May 23:26
· 65 commits to master since this release
356255d

Security update!

  • Add support for the Assert API (PR #51).
    • New :assertion option in initialize opts. It takes either :user or :bot.
    • New override_assertion parameter in post to prevent assertion errors being thrown.
      • Note: Assertions will only happen if post's autoparse parameter is true.
    • New NotLoggedInError and NotBotError for the according assertions.
    • Butt#user_bot? no longer has a parameter. It now queries with an assertion rather than checking the user's groups.
    • New method Butt#logged_in? to check if the current instance is logged in.