clever 3.2.3 → 3.2.4

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
  SHA1:
3
- metadata.gz: 6694d0cb1936ab84956d227272a9539ecc6a5791
4
- data.tar.gz: a23ad0110f1459719445ac685af838c42b438ebc
3
+ metadata.gz: f84b168808a2e9b8995863bf0973666fe70c390b
4
+ data.tar.gz: dd0d8a0a716f4d3a7c74ab7ac5ff6c480c5e03cd
5
5
  SHA512:
6
- metadata.gz: ab3e3447b9c05aaf6758e14ae0ce6e533a559fdac407c29cc548fc5acfca6ad05c719810a857b265514e5a4052a4a96abc7d0ac2b6f51b9159c615a1c50a816a
7
- data.tar.gz: 74e9b01f178087d04f568bc79b667441439ae809e19697c7f78ba9518cc606f66b003f7f4574785cb458f24deac94b0765f81193229e6087143b3d2c559c2b7f
6
+ metadata.gz: d7180693e83b281e5c67b3e54e794785730ce61a39f2d922e3dc2641c2217ff9e6232e7284dd0c96d4342913d417403156b60f28a9466091eb8b97db6ed4281c
7
+ data.tar.gz: '06051692792b1dae29f99962a93ac236d7e3e6e3b67dd72fb5253b34dd8c0341c663d0a6f637d3f78239db3f82905b764a217973e539d6a13be240d704963367'
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- clever (3.2.3)
4
+ clever (3.2.4)
5
5
  faraday
6
6
  faraday_middleware
7
7
 
@@ -8,7 +8,6 @@ module Clever
8
8
  @email = attributes['email']
9
9
  @first_name = attributes['name']['first']
10
10
  @last_name = attributes['name']['last']
11
- @legacy_id = attributes.dig('roles', 'district_admin', 'legacy_id')
12
11
  @provider = 'clever'
13
12
  @sis_id = attributes.dig('roles', 'district_admin', 'sis_id')
14
13
  @uid = attributes['id']
@@ -8,7 +8,6 @@ module Clever
8
8
  @email = attributes['email']
9
9
  @first_name = attributes['name']['first']
10
10
  @last_name = attributes['name']['last']
11
- @legacy_id = attributes.dig('roles', 'staff', 'legacy_id')
12
11
  @provider = 'clever'
13
12
  @sis_id = attributes.dig('roles', 'staff', 'sis_id')
14
13
  @uid = attributes['id']
@@ -6,15 +6,13 @@ module Clever
6
6
  attr_reader :uid,
7
7
  :first_name,
8
8
  :last_name,
9
- :provider,
10
- :legacy_id
9
+ :provider
11
10
 
12
11
  def initialize(attributes = {}, client: nil)
13
12
  @district_username = attributes.dig('credentials', 'district_username')
14
13
  @email = attributes['email']
15
14
  @first_name = attributes['name']['first']
16
15
  @last_name = attributes['name']['last']
17
- @legacy_id = attributes.dig('roles', 'student', 'legacy_id')
18
16
  @provider = 'clever'
19
17
  @sis_id = attributes.dig('roles', 'student', 'sis_id')
20
18
  @uid = attributes['id']
@@ -8,7 +8,6 @@ module Clever
8
8
  :first_name,
9
9
  :last_name,
10
10
  :provider,
11
- :legacy_id,
12
11
  :role
13
12
 
14
13
  def initialize(attributes = {}, *, client: nil)
@@ -16,7 +15,6 @@ module Clever
16
15
  @email = attributes['email']
17
16
  @first_name = attributes['name']['first']
18
17
  @last_name = attributes['name']['last']
19
- @legacy_id = attributes.dig('roles', 'teacher', 'legacy_id')
20
18
  @provider = 'clever'
21
19
  @sis_id = attributes.dig('roles', 'teacher', 'sis_id')
22
20
  @uid = attributes['id']
@@ -37,8 +35,7 @@ module Clever
37
35
  first_name: @first_name,
38
36
  last_name: @last_name,
39
37
  username: @username,
40
- provider: @provider,
41
- legacy_id: @legacy_id
38
+ provider: @provider
42
39
  }
43
40
  end
44
41
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Clever
4
- VERSION = '3.2.3'
4
+ VERSION = '3.2.4'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: clever
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.3
4
+ version: 3.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Julius
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-08-11 00:00:00.000000000 Z
11
+ date: 2021-08-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday