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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 732dbb8785b96326d0d10cd6e602cbecaffe5cb4c6ee8b1b6ce7722cb5611ea5
4
- data.tar.gz: 8ed7ae8382b0a7cd6534f5bc75bf403d9666b7fdce00d6b6f80c79bc68c2721f
3
+ metadata.gz: e48b08205aab332114679529d8efcb01f2af51ef1d913f4aed97c15e3c58a44d
4
+ data.tar.gz: 9159e76227ba1447a6e3a989bf06bc484db681599a8be5f96d979edc71747271
5
5
  SHA512:
6
- metadata.gz: 9f55395d5b346c6f9a5c9d6f31716ed3b9ab2aa616cb46ff7e31b5b184703d8d087ce4b47b536d736a5e22e0da0d5ccf14bbc3e0d4cead243487ddb303a24d24
7
- data.tar.gz: bd19857f79323ab6fa4f50c79e66bddf436a54344e02dab3794a95ee8cc2d54d0566ce764ddd42c88c838702279d4b4907a122a552ebf5f75f04e5438410d54f
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: 'v1p3', exists: :error, dedicated_deployment: false)
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
 
@@ -1,3 +1,3 @@
1
1
  module PandaPal
2
- VERSION = "5.8.1"
2
+ VERSION = "5.8.2"
3
3
  end
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 ProServe"]
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.1
4
+ version: 5.8.2
5
5
  platform: ruby
6
6
  authors:
7
- - Instructure ProServe
7
+ - Instructure CustomDev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-12 00:00:00.000000000 Z
11
+ date: 2023-07-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails