Skip to content

Use rtm.start when store is set to any subclass of Slack::RealTime::Stores::Store#172

Merged
dblock merged 1 commit intoslack-ruby:masterfrom
kstole:detect_store
Sep 20, 2017
Merged

Use rtm.start when store is set to any subclass of Slack::RealTime::Stores::Store#172
dblock merged 1 commit intoslack-ruby:masterfrom
kstole:detect_store

Conversation

@kstole
Copy link
Copy Markdown
Collaborator

@kstole kstole commented Sep 19, 2017

Currently, the default store_class is Slack::RealTime::Store, but rtm_start_method checks for Slack::RealTime::Stores::Store when selecting :rtm_start. This change allows subclasses to also use :rtm_start.

@dblock
Copy link
Copy Markdown
Collaborator

dblock commented Sep 20, 2017

This needs a test and a CHANGELOG entry please. Might make it into 0.10.0 if you hurry :) Re: #170

@kstole
Copy link
Copy Markdown
Collaborator Author

kstole commented Sep 20, 2017

Updated tests. The client_spec was a bit out of order and I didn't overhaul it fully but hopefully an improvement overall 👍

@dblock dblock merged commit eb9e29c into slack-ruby:master Sep 20, 2017
@dblock
Copy link
Copy Markdown
Collaborator

dblock commented Sep 20, 2017

Very good, much thanks.

@kstole kstole deleted the detect_store branch October 1, 2022 22:40
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.

2 participants