strongmind-platform-sdk 3.7.0 → 3.7.1

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: bc46ddfccbb20bdc43565c3a8f01ba6ed556ba61d46e9b755e009337e23e8757
4
- data.tar.gz: 31bd81a67bee5b00b5f03e8291247af9701ae81e77eef1413e99f848a4b33f01
3
+ metadata.gz: 31db31f4d8ace1dbe04d12513c4e1c927504fc9348a942980b64f6d4043e3d22
4
+ data.tar.gz: '09821f67491111fbc62854115f0c9b27f41a1c7d47157a7960881dc5d16f4db3'
5
5
  SHA512:
6
- metadata.gz: 37c9aa69cf40748ba2fae0c270a1cbab5c4b14a37d63f7874b58f807b31ae8253d39991b9ff872bf0c10016a5d364437eb39d3a11895a772988e0f4817db1c7d
7
- data.tar.gz: 340e835dba38cde94dba51aff3441cad9390f71487559c4848f5cc8a7a9db97b623ad928b1cd2cffd849556c872e5c21a869fa9f23f9dc80eb01f3674ff7e991
6
+ metadata.gz: 798ce1c9821925695b39a280edef2bc021cee9d2805b94c71a674966232d3244c825519e0343312d72b47890a895494bba4e3c960a6b2c20fff01456101d3514
7
+ data.tar.gz: f6dba455341de18ad13c33734883b8abd5731f9897a62991317ff390e3862ed03556a336f8c079dd43f64bc5308c7a33032f56f04435bb405d6700aeeb7fae0d
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- strongmind-platform-sdk (3.7.0)
4
+ strongmind-platform-sdk (3.7.1)
5
5
  aws-sdk-secretsmanager (~> 1.66)
6
6
  devise
7
7
  faraday (~> 2.5, >= 2.5.2)
@@ -120,10 +120,6 @@ GEM
120
120
  nokogiri (1.16.0)
121
121
  mini_portile2 (~> 2.8.2)
122
122
  racc (~> 1.4)
123
- nokogiri (1.16.0-x86_64-darwin)
124
- racc (~> 1.4)
125
- nokogiri (1.16.0-x86_64-linux)
126
- racc (~> 1.4)
127
123
  omniauth (2.1.2)
128
124
  hashie (>= 3.4.6)
129
125
  rack (>= 2.2.3)
data/README.md CHANGED
@@ -11,7 +11,7 @@ First [configure your GitHub credentials](#configure-github-credentials)
11
11
  Install the gem and add to the application's Gemfile by executing:
12
12
 
13
13
  ```
14
- gem "strongmind-platform-sdk", "~> 3.7.0"
14
+ gem "strongmind-platform-sdk", "~> 3.7.1"
15
15
  ```
16
16
 
17
17
  If bundler is not being used to manage dependencies, install the gem by executing:
@@ -19,8 +19,13 @@ module PlatformSdk
19
19
  end
20
20
 
21
21
  def get_student_programs(uid)
22
- response = @conn.get("/ed-fi/v5.1.0/api/data/v3/ed-fi/studentProgramAssociations?studentUniqueId=#{uid}")
23
- response.body
22
+ begin
23
+ response = @conn.get("/ed-fi/v5.1.0/api/data/v3/ed-fi/studentProgramAssociations?studentUniqueId=#{uid}")
24
+ response.body
25
+ rescue Faraday::ResourceNotFound => e
26
+ puts "Faraday::ResourceNotFound: #{e}"
27
+ []
28
+ end
24
29
  end
25
30
 
26
31
  private
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PlatformSdk
4
- VERSION = "3.7.0"
4
+ VERSION = "3.7.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: strongmind-platform-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.7.0
4
+ version: 3.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Platform Team
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-01-04 00:00:00.000000000 Z
11
+ date: 2024-01-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday