oauth_im 0.15.3 → 0.15.4

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: e79d19774ba14b3c7615dee92614ce170a0b236c34f29f5f8f485aaf4b658aff
4
- data.tar.gz: 0e98de6bcb45c0777448f431690e3cdc59d9067f09c40102d203b2edb567078b
3
+ metadata.gz: 340c3017228bd8deac795d9b39c291a9f0d20662c213c0e04c503fd22bcb5bc4
4
+ data.tar.gz: 867e207345538f7861d140874f5d95481867b15292b8cbeb6854d74aa36d0bb8
5
5
  SHA512:
6
- metadata.gz: a5a554e8ebb20a1a224db3df807ebfd92029a4582b31ab753ef5a6baeb1adeb464db7cd12e5fd932efa824bb66fde24b8f4e66617b8818df7d68ebf4241fc8c4
7
- data.tar.gz: '09978f9e248e589b828b7a1c7e93815e5397777b03f28b7a8ed88aad20fa19c32e502984088441046c6a1783b8ae5831a8d449f6ccdcf9b62f44a92303e8c279'
6
+ metadata.gz: e19cb411c221a5c6300ab9e0fdbc1d2c45fc2d052d94d700d666e82de8bc5d3d034062e17c9115a2a391c97dfed9a929a74e5faf60dd75cded1ac5b199236eaa
7
+ data.tar.gz: 29119e6529f226beb84eecfda8bfc0f30c001c67e9f33067a9a1d209d27d4b4dda34b125f2b7a252f8a10d08eac9e835a9b65205995b3910ec204a3402025bcf
@@ -11,7 +11,6 @@ require 'fusionauth/fusionauth_client'
11
11
 
12
12
  module OauthIm
13
13
  module HasRegistrationData
14
- delegate :email, to: :attrs
15
14
  delegate :role, :grade_level, :school, :district, :state,
16
15
  to: :registration_data
17
16
  delegate :name, :id,
@@ -25,6 +24,10 @@ module OauthIm
25
24
  delegate :name, :id,
26
25
  to: :state, prefix: true
27
26
 
27
+ def email
28
+ attrs[:email]
29
+ end
30
+
28
31
  def registrations
29
32
  attrs[:registrations] || []
30
33
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module OauthIm
4
- VERSION = '0.15.3'
4
+ VERSION = '0.15.4'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oauth_im
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.3
4
+ version: 0.15.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Connally
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-17 00:00:00.000000000 Z
11
+ date: 2024-06-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fusionauth_client