slkecho 2.1.2 → 2.1.3

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: 295daf68fcaa6ff59b760b56838278783ad0aa2faf9d0762d2f71224171f7651
4
- data.tar.gz: 175739afc0d696ab3cee16032ab9f9559bb6dcaa2d4223f4be60875943d1870a
3
+ metadata.gz: 54e8bdee7476e89d49e55997437e7af297af69ce77f54215d1105ff36e46940e
4
+ data.tar.gz: b54a41496162d4f326a6f97ac988765f0d024f2b6db6595860d45c102dd25a0a
5
5
  SHA512:
6
- metadata.gz: cc03a7970e96f640c5ab1264100968d240189f018214443f79237ec9b4f67faea585c0416e29f14f5a743a75c54d41549ee209adbf746dba5c5c94f1188a535b
7
- data.tar.gz: ba52052e096ee65b03d7d869205f51492b825ffaa2bd1aa298d77b79b2067f766923ce02eb4ba29834bd809ba3614e096c330595f0f6bda27ee9738155b0e838
6
+ metadata.gz: c4e6bc887a7b3d3d985a4983a4f938ba11125cdef5a8584dd5d1aedccb37f8e2fa00a72e7d0a7b900fbdd02cde80787d0b90fccd04f5ddff65924ed0205bd93c
7
+ data.tar.gz: 0c6e6dd5c5e3b2f7a9092da6ef6930954a71f6c9ea2e2f9f69ef5a7b8a746432a6d3bb36fc0a3eb5adc673ea2c3015c9f5dda27cc231710bee8f9431bf85bbdc
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [v2.1.3] - 2024-03-15
4
+
5
+ - fix: Broken mention by email
6
+
3
7
  ## [v2.1.2] - 2024-03-05
4
8
 
5
9
  - refactor: Use pattern matching
data/lib/slkecho/cli.rb CHANGED
@@ -20,7 +20,7 @@ module Slkecho
20
20
 
21
21
  def email_to_user_id(email)
22
22
  user = @slack_client.lookup_user_by_email(email: email)
23
- user["id"]
23
+ user[:id]
24
24
  end
25
25
 
26
26
  def post_message_params_from(options, user_id)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Slkecho
4
- VERSION = "2.1.2"
4
+ VERSION = "2.1.3"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slkecho
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.2
4
+ version: 2.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - okonomi
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-03-05 00:00:00.000000000 Z
11
+ date: 2024-03-15 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Post message to Slack like echo command.
14
14
  email: