peoplegroup-connectors 1.0.2 → 1.0.3

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: 4ea5fd720c15234b7d40798eed97b7829058b6e5db6dd8b67589d8f34ebfc9fa
4
- data.tar.gz: 02d98675585749b311e2b699e264dbe1b6d3e207cbe17c064b3e84e86cf8cc07
3
+ metadata.gz: 7cbce487521843c0d8667e08955b8f0e8529d4afc595951555759bbd9b8b0d21
4
+ data.tar.gz: 9dca7dd6c47b4714391fb56709a358a569f7791678771e6fb2c7d9bf4544bb05
5
5
  SHA512:
6
- metadata.gz: e5be3686407780d374afe57be46dfe8101b6c4113874939227528dcf11a95213e5c3f7f0327cc464998fd29dcb6b17a51f8d51607568b8f6baec2b78f31b59be
7
- data.tar.gz: ede8d6676c7e3c98861892de8d5720474b257f50c7781f5c77e15eb716ecfbc2ea49befc1a134720a8ecffa27de9a5285d9dc8caaf6294f0f016afe59ae42348
6
+ metadata.gz: 9488ff375e4d6f3fce51b79bd7113a812035337c21c27deb7bbc9828a20d21e3e0c4eb2a40fa1b3c5c8c204473697088c39dc6b4d9b64b0f90118fc42e5e1ed7
7
+ data.tar.gz: da726d6539b78cd9e2dcc0cccc0c2710c39f979afeb838a1b0a9d707e11855b3c582abb133bcaa9dcc68960598f38897e4757099a81631a4594918d91e2b0a25
@@ -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
@@ -2,6 +2,6 @@
2
2
 
3
3
  module PeopleGroup
4
4
  module Connectors
5
- VERSION = '1.0.2'
5
+ VERSION = '1.0.3'
6
6
  end
7
7
  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: 1.0.2
4
+ version: 1.0.3
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: 2023-12-07 00:00:00.000000000 Z
11
+ date: 2024-04-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bamboozled-gitlab