panda_pal 5.4.0.beta6 → 5.4.0.beta7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/panda_pal/helpers/session_replacement.rb +5 -5
- data/lib/panda_pal/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ac49d577cb992331095d1b740e3fb93cf2db47f84cbce2c31a06f9693a8e310f
|
4
|
+
data.tar.gz: baa5c0e8ce65e510badbc1fbdb11488fd1d642a3d062ef4d6516e52e473fdd64
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ff14fe4000b3045cda74165143a546b0f1eef774bb04392ad1c1b23913bf31bcee169cd05e9924fe96cd026198399d00c5a83b1badfac7ecf1b50baa5853181a
|
7
|
+
data.tar.gz: d9bc76487caae1258dc4825345c35fb846d96da1c0d966b375d63c3e964bbe128b1f1ad56cfdca22c9bca1d27b9be58495039b5997f32c4fb5816e78ae1a5b8a
|
@@ -14,14 +14,14 @@ module PandaPal::Helpers
|
|
14
14
|
|
15
15
|
class_methods do
|
16
16
|
def link_nonce_type(value = :not_given, use_non_app: false)
|
17
|
-
if
|
18
|
-
if
|
19
|
-
@link_nonce_type || superclass.try(:link_nonce_type) || :nonce
|
17
|
+
if value == :not_given
|
18
|
+
if use_non_app || !defined?(::ApplicationController) || self <= ::ApplicationController
|
19
|
+
@link_nonce_type || superclass.try(:link_nonce_type, use_non_app: true) || :nonce
|
20
20
|
else
|
21
|
-
|
21
|
+
::ApplicationController.link_nonce_type(value, use_non_app: true)
|
22
22
|
end
|
23
23
|
else
|
24
|
-
|
24
|
+
@link_nonce_type = value
|
25
25
|
end
|
26
26
|
end
|
27
27
|
end
|
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.4.0.
|
4
|
+
version: 5.4.0.beta7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Instructure ProServe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-04-
|
11
|
+
date: 2021-04-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|