-
Notifications
You must be signed in to change notification settings - Fork 17
Add a update and delete methods to api and chat service #2
Conversation
7d80117
to
13cfa0e
Compare
lib/lita/adapters/slack/api.rb
Outdated
end | ||
|
||
def update_attachments(channel, ts, attachments) | ||
call_api("chat.update", channel: channel, ts: ts, attachments: MultiJson.dump(attachments.map(&:to_hash))) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Terribly long eh @RyanBrushett
13cfa0e
to
ec67999
Compare
This PR brings the public fork of lita-slack up to spec with what the private fork had, tossing away some Shopify-specific changes (e.g. README shit) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
e11d6f8
to
088ff7b
Compare
@@ -55,6 +55,14 @@ def send_attachments(room_or_user, attachments) | |||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You changed the permission of this file from 644 to 755
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😬 that was an accident! I'll fix that!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed! Thanks @rafaelfranca good eye.
f9f8a02
to
5d83664
Compare
@Shopify/operational-excellence Anyone have an opinion on this? I'd like to get it out, cut a release of it, and test it with our tools 🕵️♀️ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm indifferent on the actual change since it was done by a previous team and I have no context on what it's trying to accomplish. One comment on the spec change but otherwise +1
lita-slack.gemspec
Outdated
@@ -1,5 +1,5 @@ | |||
Gem::Specification.new do |spec| | |||
spec.name = "lita-slack" | |||
spec.name = "shopify-lita-slack" | |||
spec.version = "1.8.0" | |||
spec.authors = ["Ken J.", "Jimmy Cuadra"] | |||
spec.email = ["kenjij@gmail.com", "jimmy@jimmycuadra.com"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the right thing to do is drop/change the spec author/email since we are publishing this spec under a different name. Code authorship will be clear via the git history
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I feel the same way. Okiedokie, I'll fix this up and we'll give it the ol' ⛵️
fa13d20
to
7cfdce5
Compare
(we also need to get CI working but ok for that to be a separate fix) |
7cfdce5
to
9f0f7a6
Compare
@ridwanmsharif @jarthorn @Shopify/operational-excellence