Skip to content

Releases: jusleg/slackify

v0.4.2

11 Mar 15:43
270fd84
Compare
Choose a tag to compare

v0.4.1

11 Mar 15:42
5155260
Compare
Choose a tag to compare

v0.4.0

05 Sep 07:20
ca23d80
Compare
Choose a tag to compare

V0.4.0

  • BREAKING CHANGE: Use approved_bot_ids instead of whitelisted_bot_ids (6243c11) by @DougEdey
  • Add support for named parameters in commands (PR #12) by @DougEdey
  • Add support for custom parameters in commands (PR #17) by @DougEdey
  • Tidy up some tests
  • Update to Slack-Ruby-Client 0.15.1 for pagination support

0.3.2

13 Aug 16:31
47200e1
Compare
Choose a tag to compare

0.3.0

19 Apr 09:18
05660f1
Compare
Choose a tag to compare
  • Add code documentation and improve exception message
  • Add whitelisting of bot ids in the configuration through whitelisted_bot_ids=
  • Refactored Handler configuration into Slackify::Router and Slackify::Handlers::Factory
  • Improved testing
  • Remove the need to perform Slackify.load_handler
  • Breaking change: Given that we now load the handlers on Slack.configure, the configuration step done in config/application.rb will have to be done in an initializer to have all the handler class loaded.

0.2.0

12 Dec 02:09
cae1021
Compare
Choose a tag to compare

Update custom_event_subtype_handlers to custom_message_subtype_handlers and add support for custom_event_type_handlers. This is a breaking change since we rename the field that was previously used. To fix, update any calls from custom_event_subtype_handlers to custom_message_subtype_handlers and you should be good to go.

0.1.5

12 Sep 01:59
5193051
Compare
Choose a tag to compare

Update how the bot_id is set in the handler configuration. You can disable the slack auth test (which is used to obtain the bot_id) by setting SLACK_AUTH_SKIP=1 in your environment variables. If you are running in a Rails environment other than production, development or staging and would like to use the bot for real requests, you can trigger a manual auth test by calling Slackify.configuration.handlers.bot_auth_test. Gemfile.lock was removed.

0.1.4

25 Mar 07:56
45586af
Compare
Choose a tag to compare
Fix unhandled_handler configuration

Custom unhandled_handler configuration fix. It wouldn't let you set a custom one as the validation was checking for `is_a?` instead of `<`

0.1.3

25 Mar 07:56
8902d96
Compare
Choose a tag to compare
v0.1.3

Added changelog + pushed new version that include the `remove_unhandled_handler` configuration method

0.1.2

23 Mar 21:21
c3de318
Compare
Choose a tag to compare
  • Renaming the gem from toddlerbot to slackify.
  • Cleanup of lib/slackify folder.
  • Added a new configuration: unhandled_handler. You can specify a subclass of Slackify::Handlers::Base in the config. This class will be called with #unhandled when a message has no regex match.