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

Support latest version of SlackRubyBot by applying instrumentation to message hook #5

Merged
merged 1 commit into from
Sep 27, 2017

Conversation

kstole
Copy link
Collaborator

@kstole kstole commented Sep 26, 2017

For now, I think we should just apply the instrumentation to the built in message hook and then when the hooks mechanism in SlackRubyBot is updated to use the on method, we can look at changing this. @dblock thoughts?

Copy link
Collaborator

@dblock dblock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, needs a rebase + see some of my comments.

Gemfile Outdated
@@ -2,6 +2,7 @@ source 'http://rubygems.org'

gemspec

gem 'celluloid-io', require: %w(celluloid/current celluloid/io)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These should probably be inside a test or development group(s).

@@ -14,5 +14,5 @@ Gem::Specification.new do |s|
s.licenses = ['MIT']
s.summary = 'NewRelic instrumentation for slack-ruby-bot.'
s.add_dependency 'newrelic_rpm'
s.add_dependency 'slack-ruby-bot', '<= 0.7.0'
s.add_dependency 'slack-ruby-bot', '> 0.7.0'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be >= the exact version with which it works, so if 0.8.0 was the first one where this change shipped, it should be >= 0.8.0.

@kstole
Copy link
Collaborator Author

kstole commented Sep 26, 2017

Shall we merge this and then create a new release?

@dblock dblock merged commit c554668 into slack-ruby:master Sep 27, 2017
@dblock
Copy link
Collaborator

dblock commented Sep 27, 2017

Yup, merged, and thanks!

@kstole kstole deleted the support_latest_bot branch September 27, 2017 03:04
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