Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow frozen string in hooks message #202

Merged

Conversation

jnsya
Copy link

@jnsya jnsya commented Oct 25, 2018

In our code we currently use frozen_string_literal: true. This causes an error because the slack-ruby-bot is trying to mutate a string.

We only fixed and created a test for the example we found, but there might be more.

Would you be open to using frozen_string_literal by default? I would be open to do that if you want.

@dangerpr-bot
Copy link

1 Error
🚫 One of the lines below found in CHANGELOG.md doesn’t match the expected format. Please make it look like the other lines, pay attention to periods and spaces.
* Allow frozen string in Hooks::Message - [@jonosenior](https://github.com/jonosenior)

Generated by 🚫 danger

@jnsya jnsya force-pushed the allow-frozen-string-in-hooks-message branch from 567a008 to 7ae62cd Compare October 25, 2018 15:59
@dblock dblock merged commit 790e02b into slack-ruby:master Oct 25, 2018
@dblock
Copy link
Collaborator

dblock commented Oct 25, 2018

Thanks for this.

@jnsya jnsya deleted the allow-frozen-string-in-hooks-message branch October 26, 2018 08:36
@dblock dblock mentioned this pull request Dec 1, 2018
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.

3 participants