immosquare-slack 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/immosquare-slack/channel.rb +6 -1
- data/lib/immosquare-slack/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 64ce7966173035e0831abfb2254abecba89bc821a58fba28441390409dcfae78
|
4
|
+
data.tar.gz: 20d86d9420346ec337e7fd626f9fdd88d8035c3c9dd9d88f8a0378e7fe2e7900
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b39052b2c44e3a0cdb3ee5ad1b1d07f2971440886257f2e15f5d3c412c1c7884bd6d54f50a4d4f93f015681911248a01b68d62587a3304c679ada15367da1555
|
7
|
+
data.tar.gz: 6f2f4256398427a964302992b6222e2e542d414ccce9a5dde98ebc8b2e2dee7123f7340cf5e334075edeb29eb98b9aa6933440cb822268f3dab43d8aeccf256d
|
@@ -61,9 +61,14 @@ module ImmosquareSlack
|
|
61
61
|
members = get_channel_members(channel_id)
|
62
62
|
members.map {|m| "<@#{m}>" }.join(", ")
|
63
63
|
elsif notify.to_sym == :channel
|
64
|
-
"
|
64
|
+
"<!channel>"
|
65
|
+
elsif notify.to_sym == :here
|
66
|
+
"<!here>"
|
67
|
+
elsif notify.to_sym == :everyone
|
68
|
+
"<!everyone>"
|
65
69
|
end
|
66
70
|
|
71
|
+
|
67
72
|
"#{text} #{final}\n" if final.present?
|
68
73
|
end
|
69
74
|
|