aj-ims-lti 1.1.1 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ajims/lti/tool_provider.rb +2 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1b94d4269cfccaa7ad7043ddcbe48e90ca2012f5cece15d71705145fc3748ee1
|
4
|
+
data.tar.gz: 94e5ad9e8ff16dcd4ab8ffd37e89e4bc375044d421675486b42cf3135bf0f7df
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 45fb589735efd49be2a75632f71c8ef97cd53c00d4a46bc9f1bdf0065cbd7340bc8163cccfe3cae85182dfccc50af12a098ad563cfcc7de464fca55a0b4f19f9
|
7
|
+
data.tar.gz: a5a3899a589ea4875b260fc7aca8dc4f2b2a945414aae7779fdb89f5f8aeefac48ef4d3400ac07c7eb0e7d9ff90639c16f16d3638bccd078b13251fc0689e568
|
@@ -169,13 +169,13 @@ module AJIMS::LTI
|
|
169
169
|
# tc.lti_msg = "hi there"
|
170
170
|
# tc.lti_errorlog = "error happens"
|
171
171
|
#
|
172
|
-
# tc.build_return_url # => "http://example.com/return?lti_msg=hi
|
172
|
+
# tc.build_return_url # => "http://example.com/return?lti_msg=hi+there<i_errorlog=error+happens"
|
173
173
|
def build_return_url
|
174
174
|
return nil unless launch_presentation_return_url
|
175
175
|
messages = []
|
176
176
|
%w{lti_errormsg lti_errorlog lti_msg lti_log}.each do |m|
|
177
177
|
if message = self.send(m)
|
178
|
-
messages << "#{m}=#{URI.
|
178
|
+
messages << "#{m}=#{URI.encode_www_form_component(message)}"
|
179
179
|
end
|
180
180
|
end
|
181
181
|
q_string = messages.any? ? ("?" + messages.join("&")) : ''
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aj-ims-lti
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Atomic Jolt
|
@@ -31,14 +31,14 @@ dependencies:
|
|
31
31
|
requirements:
|
32
32
|
- - "~>"
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: 0.
|
34
|
+
version: 0.5.5
|
35
35
|
type: :runtime
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
39
|
- - "~>"
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version: 0.
|
41
|
+
version: 0.5.5
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: uuid
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
@@ -110,7 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
110
110
|
- !ruby/object:Gem::Version
|
111
111
|
version: '0'
|
112
112
|
requirements: []
|
113
|
-
rubygems_version: 3.
|
113
|
+
rubygems_version: 3.1.6
|
114
114
|
signing_key:
|
115
115
|
specification_version: 4
|
116
116
|
summary: Ruby library for creating IMS LTI tool providers and consumers
|