panda_pal 5.6.1 → 5.6.2

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
  SHA256:
3
- metadata.gz: 7993707e0990a86f80f284e71273d15cfe69caf5c66558955fe2b62a9231cc7b
4
- data.tar.gz: 8023bf4a5aebd34b7525a849114632b97af868874496b831b049873d2e176f96
3
+ metadata.gz: a24c53564f5782a10345c204de6908a094821e30dc7e0803ef7233d1ec5c9f1a
4
+ data.tar.gz: ac8f6d55d565ba718fbb3359d7ae129f346b891db9f35be0560a077587ae8812
5
5
  SHA512:
6
- metadata.gz: d096780e3672ad9883c23f70ad2c339247d65a4cbf217c60f2a2abeae81967dccf834c4181e21b18fb3502b4d2ae7e116469e5f612ae7ce81a77dbbebbbb0eb0
7
- data.tar.gz: 24aa028f7a8dc64b7884112afa743c710b26ffa3224eac8c968cd75d0cb8665a180b0d0abb5eac6198194a7aabd0d04c71cad680502144c6417223e3e98acd71
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
- skip_before_action :verify_authenticity_token
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
- skip_before_action :verify_authenticity_token
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
 
@@ -1,3 +1,3 @@
1
1
  module PandaPal
2
- VERSION = "5.6.1"
2
+ VERSION = "5.6.2"
3
3
  end
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.1
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-30 00:00:00.000000000 Z
11
+ date: 2022-08-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails