panda_pal 5.19.2 → 5.20.0

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: 96a96c637e50a15e4df9574a2ca806b7bb61081a4484971fce1d21249349864b
4
- data.tar.gz: 1fd58e43b549aee982cf75e8d4310f7ca60cf1802ba8941cb42e93e17e66c394
3
+ metadata.gz: 6d15dbaa7cf10eeaeb824f049fceeddf8d2e4301446f4a8085fa5a481372ddf4
4
+ data.tar.gz: 99c2bdeaa1817cfd0dbd459179f0b2e8541e50eb4eaeb8b529b70207f52bdb6f
5
5
  SHA512:
6
- metadata.gz: 1e7324dfc180a9dbd5edc202e22a6cec895d97894fbaaa56dfa97b41eb055507ca2b641ad2daad6da6b55c46ca48338a5282d00586d66d25232a88c0c9a2c740
7
- data.tar.gz: aeab62e5f22cbe0ace446e1b29ffc942c2dba5a50d29c15c2f87f2f363b005ad65aaad36a356193838d78c728e3066e6a8b90b1b4df77b2b7c58252ebc2e3549
6
+ metadata.gz: 6cd16f9dd66703d6ed6323ffac0006ead1b1b4933d9cd692b7cc521275882cea4967d2e5d6d015f67b5a9ce6e307f7ae30d08f254614a1290d55bae4eb2653d3
7
+ data.tar.gz: fa77efc2e756c3d039652c7891e74564b88b7e3f40b1ea84384ff18829374ceabc62c7c3428318181ca45b68a1f62f5bb21abe7eeb70bf00652e85b9e9ddb7bf
@@ -133,6 +133,9 @@ module PandaPal
133
133
  end
134
134
 
135
135
  def public_jwks
136
+ # non-LTI-Advantage tools can lack this value; return 404 instead of 500
137
+ return head :not_found if PandaPal.lti_private_key.blank?
138
+
136
139
  render json: JWT::JWK::Set.new(PandaPal.jwk).export
137
140
  end
138
141
 
@@ -1,3 +1,3 @@
1
1
  module PandaPal
2
- VERSION = '5.19.2'
2
+ VERSION = '5.20.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: panda_pal
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.19.2
4
+ version: 5.20.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Instructure CustomDev