panda_pal 5.8.1 → 5.8.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/panda_pal/platform/canvas.rb +8 -1
- data/lib/panda_pal/version.rb +1 -1
- data/panda_pal.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e48b08205aab332114679529d8efcb01f2af51ef1d913f4aed97c15e3c58a44d
|
4
|
+
data.tar.gz: 9159e76227ba1447a6e3a989bf06bc484db681599a8be5f96d979edc71747271
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 790743e7d2524f5fce5e675852ac0c219b7936f88d9e6e8e094e57bc3b9dfd4025c6435b708e6b175a461ed5fc89345d8aa9dc8bcac91fea8790908dd1c12b10
|
7
|
+
data.tar.gz: 152ba84e0ea76a8e0844b2a9374ed0d9af8c512c5e755cd64a41cdd1bc59f1d83d95bdac2d01bd62b167cd4fff98db63da91c4b4c212faf2fba19ba5486b752e
|
@@ -74,9 +74,16 @@ module PandaPal
|
|
74
74
|
[ctype, cid]
|
75
75
|
end
|
76
76
|
|
77
|
-
def install_lti(host: nil, context: :root_account, version:
|
77
|
+
def install_lti(host: nil, context: :root_account, version: nil, exists: :error, dedicated_deployment: false)
|
78
78
|
raise "Automatically installing this LTI requires Bearcat." unless defined?(Bearcat)
|
79
79
|
|
80
|
+
version = version || PandaPal.lti_options[:lti_spec_version] || 'v1p0'
|
81
|
+
version = version.to_s
|
82
|
+
|
83
|
+
if (vs = version.split(".")).count > 1
|
84
|
+
version = "v#{vs[0]}p#{vs[0]}"
|
85
|
+
end
|
86
|
+
|
80
87
|
run_callbacks :lti_install do
|
81
88
|
ctype, cid = _parse_lti_context(context)
|
82
89
|
|
data/lib/panda_pal/version.rb
CHANGED
data/panda_pal.gemspec
CHANGED
@@ -11,7 +11,7 @@ end
|
|
11
11
|
Gem::Specification.new do |s|
|
12
12
|
s.name = "panda_pal"
|
13
13
|
s.version = version
|
14
|
-
s.authors = ["Instructure
|
14
|
+
s.authors = ["Instructure CustomDev"]
|
15
15
|
s.email = ["pseng@instructure.com"]
|
16
16
|
s.homepage = "http://instructure.com"
|
17
17
|
s.summary = "LTI mountable engine"
|
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.8.
|
4
|
+
version: 5.8.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
- Instructure
|
7
|
+
- Instructure CustomDev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-07-
|
11
|
+
date: 2023-07-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|