peoplegroup-connectors 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/peoplegroup/connectors/slack.rb +5 -1
- data/lib/peoplegroup/connectors/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8e7d20280252218ea7b8611677e2cb47a9f1fee7c7af7fd06fd0d2cba9b62d33
|
4
|
+
data.tar.gz: 7f6ea3484cc733e014ca35e8eef0ee7090fd78f3a625129561bb1256642167b7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 63c2be0e26a7d273095f50e735ad79594964c37ca8a3531e298b8e001b2d5310a4cb05f68c77ad503f08ff60fea52b4bd7622b679371a96aa4e039502e59f3dd
|
7
|
+
data.tar.gz: c8b3ba98d40d7cb28a6f679bdfe9cc32d491a7a628b4258b39f2d78459f69c3a2cfd698b7cee8339a983c617e4ba5f52ae5e485620d0d2e93f5afeeec5184fba
|
@@ -6,8 +6,12 @@ module PeopleGroup
|
|
6
6
|
module Connectors
|
7
7
|
class Slack
|
8
8
|
def initialize
|
9
|
-
::Slack.configure do |config|
|
9
|
+
::Slack::Web::Client.configure do |config|
|
10
10
|
config.token = ENV['SLACK_API_TOKEN']
|
11
|
+
|
12
|
+
# configure certificate file
|
13
|
+
# fixed in slack-ruby-client 2.x
|
14
|
+
config.ca_file = ENV.fetch('SSL_CERT_FILE', '/usr/lib/ssl/certs/ca-certificates.crt')
|
11
15
|
end
|
12
16
|
@client = ::Slack::Web::Client.new
|
13
17
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: peoplegroup-connectors
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- lien van den steen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-04-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gitlab
|
@@ -290,7 +290,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
290
290
|
- !ruby/object:Gem::Version
|
291
291
|
version: '0'
|
292
292
|
requirements: []
|
293
|
-
rubygems_version: 3.
|
293
|
+
rubygems_version: 3.4.19
|
294
294
|
signing_key:
|
295
295
|
specification_version: 4
|
296
296
|
summary: Library for our shared connectors.
|