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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b9f32c54ad351ceea8603402a48cb3f7c0c5314469a569595a548d1fe80f50a8
4
- data.tar.gz: 44257dc66d6311cc408ffd5a3dab25efb8f69bff75c7ee17e998574879500966
3
+ metadata.gz: 1b94d4269cfccaa7ad7043ddcbe48e90ca2012f5cece15d71705145fc3748ee1
4
+ data.tar.gz: 94e5ad9e8ff16dcd4ab8ffd37e89e4bc375044d421675486b42cf3135bf0f7df
5
5
  SHA512:
6
- metadata.gz: 44861b8a0a8d07907568019d8355bfc6e01e046f4a8a98990a0d1924a2c82b0aeeb73a66b002487dbcd65c732bd6aa8cc8fa36223a0ff370aa01261a594499ea
7
- data.tar.gz: 40d50fb420bd0128e291593ab56a0a09c02f2b8677afae0a4a28900b04f73b3529c3a419aaf7aff6a195ab2f6a277cea9257857ba5e80fccf9ec3a1519a977ed
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%20there&lti_errorlog=error%20happens"
172
+ # tc.build_return_url # => "http://example.com/return?lti_msg=hi+there&lti_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.escape(message)}"
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.1.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.4.5
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.4.5
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.0.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