immosquare-slack 0.1.4 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 106e9053feb1cdfe92a719e3be1346a9c98c28ae19a8d79819e0cc620537649d
4
- data.tar.gz: 9aba643342384868d859d7112dc4ff71d3179e0d9d3a5e7bc029c212229f137a
3
+ metadata.gz: b4eec84f4f9ca3ea1bb5fdbe1f5534fcc1b78ac8d0ba359079615fbbca500ae0
4
+ data.tar.gz: 20e5313fa30c0ec42c2cbed9d40b0a96d674986d324096a4e8b92f8aed7cb0f3
5
5
  SHA512:
6
- metadata.gz: 28261195cc6fb873c5998edede356390ed49f8415b7eabacf66c4df812d75a51e601930d762bde87e0402eb7eeb6d68a521a1ba37e193d01b8957e2d39ae1628
7
- data.tar.gz: 9a4a2a88aaa7d367cc5688fd92b6895ef7f25c14002be4faa66e07d17956ac15e88f26b39ed356af600903cedd9f95e4b46e5b2aa846a9aaba9b28f05143799e
6
+ metadata.gz: 703bd12a7ec32728c1dee2e67361925931d15826c0e560546b8006e8f3cd54c1fbd776f3350c3c2c59acadccd2bf880f3279c78ebad0a77df860813b1a1ae5d9
7
+ data.tar.gz: 380f30822739cc1147d845be7795ea6596d6e53deec54c6dc7f88c64a5ff000296b7fd4c6a83c8c1eeaa650fe62cf166a7d961ceb63217913e8153f56f8f7858
@@ -15,7 +15,7 @@ module ImmosquareSlack
15
15
  ##============================================================##
16
16
  def post_message(channel_name, text, notify: nil, notify_text: nil, bot_name: nil)
17
17
  channel_id = get_channel_id_by_name(channel_name)
18
- raise("Channel not found") if channel_id.nil?
18
+ raise("Channel #{channel_name} not found on slack") if channel_id.nil?
19
19
 
20
20
  url = "https://slack.com/api/chat.postMessage"
21
21
  notification_text = notify ? build_notification_text(channel_id, notify, *notify_text) : nil
@@ -1,3 +1,3 @@
1
1
  module ImmosquareSlack
2
- VERSION = "0.1.4".freeze
2
+ VERSION = "0.1.5".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: immosquare-slack
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
- - IMMO SQUARE
7
+ - immosquare
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-12 00:00:00.000000000 Z
11
+ date: 2024-12-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
@@ -41,7 +41,7 @@ files:
41
41
  - lib/immosquare-slack/shared_methods.rb
42
42
  - lib/immosquare-slack/user.rb
43
43
  - lib/immosquare-slack/version.rb
44
- homepage: https://github.com/IMMOSQUARE/immosquare-slack
44
+ homepage: https://github.com/immosquare/immosquare-slack
45
45
  licenses:
46
46
  - MIT
47
47
  metadata: {}
@@ -60,7 +60,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  requirements: []
63
- rubygems_version: 3.4.13
63
+ rubygems_version: 3.5.22
64
64
  signing_key:
65
65
  specification_version: 4
66
66
  summary: A Ruby gem for integrating with Slack API to perform various actions like