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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d9b52f86dbd4ff1cc0d3ef59fb7c92921e73c8491907204123408c7712361f6a
4
- data.tar.gz: 7179ca47d7f1dbf1bfbbcbe0e16bf2f7f1d4993933c6e96bf79f20b5ac8a894c
3
+ metadata.gz: 64ce7966173035e0831abfb2254abecba89bc821a58fba28441390409dcfae78
4
+ data.tar.gz: 20d86d9420346ec337e7fd626f9fdd88d8035c3c9dd9d88f8a0378e7fe2e7900
5
5
  SHA512:
6
- metadata.gz: cc6f01081f7afc0a15d95225b2415d4b65e634d6238502b08fe213b3c89e4246418cd82cb8e50c7dc0dfdfa82a70ac14b11b52b13745b8d99d4aa096e3af0b52
7
- data.tar.gz: 8a756f01c5487a449835110ba2a3b28cffdd5d21ebb9df36d787191e97f0acd1b8f2b1f601bf22736ff0d7b661cd35ca1c575fdbd102778034fdc08b86eaec98
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
- "@channel"
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
 
@@ -1,3 +1,3 @@
1
1
  module ImmosquareSlack
2
- VERSION = "0.1.1".freeze
2
+ VERSION = "0.1.2".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: immosquare-slack
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - IMMO SQUARE