omniauth-slack-openid 1.1.0 → 1.2.0

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: 02130b57c0ff92e467c30b1e9df105f23d1190bdac4d68be5d2e8bd817773955
4
- data.tar.gz: 6d2d93bd438b18a247c6451758914b845547a5210211bcf0616d06fb103532c7
3
+ metadata.gz: a0b8da342cc5012b1efbfb15c73e72dfd8718074217b4ae5969d5b4a6c3fbadc
4
+ data.tar.gz: a5fbb3cf54c8126ad6a902c4f5f866ca081d9d0aadb701f2aedaa0eb6925dcec
5
5
  SHA512:
6
- metadata.gz: 18a74a7aaa09610bc9ed51fa411a34e220e2f1937ce2fe5c442cc2e4cef5b872ae36bbc08199671df75216319e88b350bc4b83387130a8678b5117055c03dba9
7
- data.tar.gz: 173046f143f75bf724628c237c6c52fe6a30bb2f61f977d7ec1139544b87017a526f65f33e5d509d328ff1ad45c03cbdf33a665656157e303ed730c4766755e9
6
+ metadata.gz: 3f1b25a66258bec67245cfa69c7b1b4ceaa12e5114740a039d66b1bb770e1a2184af4b08cacc03f33516072b9ccf08543a93d51eb4f2468dda4b4fa723bf338a
7
+ data.tar.gz: 0d1c1afc9074f073710a6f01489c5ec0367e9f8b624a1e9716e6dabbd6f3c4063babad419d3f92ca31ea4e127df85515842777db13ee2e8c957f3cb924653ea1
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 1.2.0
2
+
3
+ * Switch from Data to Struct
4
+
1
5
  # 1.1.0
2
6
 
3
7
  * Set minimum ruby version requirement to 2.5.0
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # omniauth-slack-openid.rb
2
2
 
3
- [![Gem Version](https://badge.fury.io/rb/omniauth-slack-openid.svg)](https://badge.fury.io/rb/omniauth-slack-openid) [![Test Status](https://github.com/amkisko/omniauth-slack-openid.rb/actions/workflows/test.yml/badge.svg)](https://github.com/amkisko/omniauth-slack-openid.rb/actions/workflows/test.yml)
3
+ [![Gem Version](https://badge.fury.io/rb/omniauth-slack-openid.svg)](https://badge.fury.io/rb/omniauth-slack-openid) [![Test Status](https://github.com/amkisko/omniauth-slack-openid.rb/actions/workflows/test.yml/badge.svg)](https://github.com/amkisko/omniauth-slack-openid.rb/actions/workflows/test.yml) [![codecov](https://codecov.io/gh/amkisko/omniauth-slack-openid.rb/graph/badge.svg?token=HIOT78D47F)](https://codecov.io/gh/amkisko/omniauth-slack-openid.rb)
4
4
 
5
5
  An OmniAuth strategy for implementing Sign-in with Slack using OpenID Connect.
6
6
 
@@ -2,6 +2,6 @@ require 'omniauth/strategies/slack_openid'
2
2
 
3
3
  module OmniAuth
4
4
  module SlackOpenid
5
- VERSION = '1.1.0'
5
+ VERSION = '1.2.0'
6
6
  end
7
7
  end
@@ -5,20 +5,19 @@ module OmniAuth
5
5
  class SlackOpenid < OmniAuth::Strategies::OAuth2
6
6
  AUTH_OPTIONS = %i[scope user_scope team team_domain].freeze
7
7
 
8
- INFO_DATA =
9
- Data.define(
10
- :user_id,
11
- :team_id,
12
- :email,
13
- :email_verified,
14
- :name,
15
- :picture,
16
- :given_name,
17
- :family_name,
18
- :locale,
19
- :team_name,
20
- :team_domain
21
- )
8
+ INFO_DATA = Struct.new(
9
+ :user_id,
10
+ :team_id,
11
+ :email,
12
+ :email_verified,
13
+ :name,
14
+ :picture,
15
+ :given_name,
16
+ :family_name,
17
+ :locale,
18
+ :team_name,
19
+ :team_domain
20
+ )
22
21
 
23
22
  option :name, "slack_openid"
24
23
  option :client_options,
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-slack-openid
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrei Makarov