oneroster 2.3.0 → 2.3.1

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: 1295abb50254210617e64c5e1da8e0af8210cdc6
4
- data.tar.gz: 4f9b52e8420ac4d9013feea4dd6322c5de1a71e2
3
+ metadata.gz: ac81a3a6a046beb01b2ae6d34e6ff2f373921d41
4
+ data.tar.gz: 35e4d0240dc30cfe9aa5bf38af83de2ab19dcb31
5
5
  SHA512:
6
- metadata.gz: 1ea266064d17e410069e9fa1980f7020e207ddaec7a815024b66553f16e5e9560f8efb9e120286d4bef9c23de3acde39a20532f0500ffd588ef7f2fee17d0468
7
- data.tar.gz: 3e4f32bf681d828b15d4d3412b460baf8e135edd53fd3f4fbbb6d3997153420cd80a620ee70a3e93fc7cef7c1b7fd2a702334a8cadfeda5e4bb5263aa9cb8e21
6
+ metadata.gz: dcd9b28d5b6d2607fff300142b0978a97b01d0227fa0ed1f89f828bdcad656b1955b9951864afd3a7ef75277cf4312d6b121ce12e61a882376adce66d9f46f7e
7
+ data.tar.gz: b8bc51ac42ea3b4aa4609f6b8d999368b2b181c35006d951133c1169151a02a85a41ba1c24fc035a00263185a26d776801203a3aa27094a05d08710d23919375
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- oneroster (2.3.0)
4
+ oneroster (2.3.1)
5
5
  dry-inflector
6
6
  faraday
7
7
  faraday_middleware
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module OneRoster
4
- VERSION = '2.3.0'
4
+ VERSION = '2.3.1'
5
5
  end
@@ -20,7 +20,7 @@ module OneRoster
20
20
  @period = first_period(attributes) || period_from_code(attributes)
21
21
  @grades = presence(attributes['grades']) || []
22
22
  @subjects = presence(attributes['subjects']) || []
23
- @term_id = attributes['terms'][0]['sourcedId']
23
+ @term_id = attributes.dig('terms', 0, 'sourcedId')
24
24
  @provider = 'oneroster'
25
25
  end
26
26
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oneroster
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0
4
+ version: 2.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Julius
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-08-18 00:00:00.000000000 Z
11
+ date: 2020-08-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday