oneroster 2.2.0 → 2.3.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
  SHA1:
3
- metadata.gz: a5d6015d83caa8a16179106a7989b290ade4e55c
4
- data.tar.gz: b5c49be79af2479551f2ab83d960be422e6102c2
3
+ metadata.gz: 1295abb50254210617e64c5e1da8e0af8210cdc6
4
+ data.tar.gz: 4f9b52e8420ac4d9013feea4dd6322c5de1a71e2
5
5
  SHA512:
6
- metadata.gz: c38baa996a5efe36b531a5f785d8c6cfd353a5259d3c5b6b07474bf648d8d91132b0ac18a61a20fa4a0907da15bdc4a5381b237ac97c600ef1851f2be4a57a62
7
- data.tar.gz: bbe85324fc9799e923c8bda4897ef05dcd002c379ab30ef8c8f067cf67c03abb29cddf46d31b2001bf6442c6d007b1a7d21c350a639eb2a4857b22ba37b25dd7
6
+ metadata.gz: 1ea266064d17e410069e9fa1980f7020e207ddaec7a815024b66553f16e5e9560f8efb9e120286d4bef9c23de3acde39a20532f0500ffd588ef7f2fee17d0468
7
+ data.tar.gz: 3e4f32bf681d828b15d4d3412b460baf8e135edd53fd3f4fbbb6d3997153420cd80a620ee70a3e93fc7cef7c1b7fd2a702334a8cadfeda5e4bb5263aa9cb8e21
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- oneroster (2.2.0)
4
+ oneroster (2.3.0)
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.2.0'
4
+ VERSION = '2.3.0'
5
5
  end
@@ -25,7 +25,7 @@ module OneRoster
25
25
  teacher?
26
26
  end
27
27
 
28
- def primary_teacher?
28
+ def primary
29
29
  teacher? && @primary.to_s == 'true'
30
30
  end
31
31
 
@@ -41,6 +41,7 @@ module OneRoster
41
41
  {
42
42
  classroom_uid: @classroom_uid,
43
43
  user_uid: @user_uid,
44
+ primary: primary,
44
45
  provider: @provider
45
46
  }
46
47
  end
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.2.0
4
+ version: 2.3.0
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-07-29 00:00:00.000000000 Z
11
+ date: 2020-08-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday