panda_pal 5.6.1 → 5.6.2
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a24c53564f5782a10345c204de6908a094821e30dc7e0803ef7233d1ec5c9f1a
|
|
4
|
+
data.tar.gz: ac8f6d55d565ba718fbb3359d7ae129f346b891db9f35be0560a077587ae8812
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0b9d02c9710ea8599c3a1e207c39a5f0540ec2669c50555a5da3f84a35a13e8856eeb30157bc837e94fc8e5d858de96c4b575c2a638c99b1dffa83a7376260af
|
|
7
|
+
data.tar.gz: 38aca64711cb7659b44c8b196b5813ef9c0d1f189bbc0f36a10cc0a17cee559743d83cd01151c952dbb984d12141febefcb179647167acb57f268a2b608f6c64
|
|
@@ -2,7 +2,11 @@ require_dependency "panda_pal/application_controller"
|
|
|
2
2
|
|
|
3
3
|
module PandaPal
|
|
4
4
|
class LtiV1P0Controller < ApplicationController
|
|
5
|
-
|
|
5
|
+
if Rails.version < '5.0'
|
|
6
|
+
skip_before_action :verify_authenticity_token
|
|
7
|
+
else
|
|
8
|
+
skip_before_action :verify_authenticity_token, raise: false
|
|
9
|
+
end
|
|
6
10
|
|
|
7
11
|
def launch
|
|
8
12
|
current_session_data.merge!({
|
|
@@ -2,7 +2,12 @@ require_dependency "panda_pal/application_controller"
|
|
|
2
2
|
|
|
3
3
|
module PandaPal
|
|
4
4
|
class LtiV1P3Controller < ApplicationController
|
|
5
|
-
|
|
5
|
+
if Rails.version < '5.0'
|
|
6
|
+
skip_before_action :verify_authenticity_token
|
|
7
|
+
else
|
|
8
|
+
skip_before_action :verify_authenticity_token, raise: false
|
|
9
|
+
end
|
|
10
|
+
|
|
6
11
|
before_action :validate_launch!, only: [:resource_link_request]
|
|
7
12
|
around_action :switch_tenant, only: [:resource_link_request]
|
|
8
13
|
|
data/lib/panda_pal/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: panda_pal
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 5.6.
|
|
4
|
+
version: 5.6.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Instructure ProServe
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-08-
|
|
11
|
+
date: 2022-08-31 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|