Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

Add a update and delete methods to api and chat service #2

Merged
merged 2 commits into from
Jan 23, 2018

Conversation

RyanBrushett
Copy link

@ridwanmsharif @jarthorn @Shopify/operational-excellence

@RyanBrushett RyanBrushett force-pushed the add-update-and-delete-to-api branch from 7d80117 to 13cfa0e Compare January 18, 2018 19:21
end

def update_attachments(channel, ts, attachments)
call_api("chat.update", channel: channel, ts: ts, attachments: MultiJson.dump(attachments.map(&:to_hash)))

Choose a reason for hiding this comment

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

Terribly long eh @RyanBrushett

@RyanBrushett RyanBrushett force-pushed the add-update-and-delete-to-api branch from 13cfa0e to ec67999 Compare January 18, 2018 19:23
@RyanBrushett
Copy link
Author

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)

Copy link

@ridwanmsharif ridwanmsharif left a comment

Choose a reason for hiding this comment

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

LGTM

@RyanBrushett RyanBrushett force-pushed the add-update-and-delete-to-api branch 3 times, most recently from e11d6f8 to 088ff7b Compare January 18, 2018 19:36
@@ -55,6 +55,14 @@ def send_attachments(room_or_user, attachments)
)
Copy link
Member

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

Copy link
Author

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!

Copy link
Author

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.

@RyanBrushett RyanBrushett force-pushed the add-update-and-delete-to-api branch 2 times, most recently from f9f8a02 to 5d83664 Compare January 18, 2018 21:40
@RyanBrushett
Copy link
Author

@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 🕵️‍♀️

Copy link

@jarthorn jarthorn left a 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

@@ -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"]

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

Copy link
Author

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' ⛵️

@RyanBrushett RyanBrushett force-pushed the add-update-and-delete-to-api branch from fa13d20 to 7cfdce5 Compare January 22, 2018 22:04
@jarthorn
Copy link

(we also need to get CI working but ok for that to be a separate fix)

@RyanBrushett RyanBrushett force-pushed the add-update-and-delete-to-api branch from 7cfdce5 to 9f0f7a6 Compare January 23, 2018 14:46
@RyanBrushett RyanBrushett merged commit 2986875 into master Jan 23, 2018
@RyanBrushett RyanBrushett deleted the add-update-and-delete-to-api branch January 23, 2018 14:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants