ims-lti 2.0.0.beta.3 → 2.0.0.beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ed76063b4d873fb5c4a6eea89c1da7aab0ccef25
|
4
|
+
data.tar.gz: a2bc4269ce259274dbae7efca5f8f5113a76c5ec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c5584c164f6aa8dad8c913eedb46cf957e139278890b2dbae7c28494584f2583d3e754d7827fcd028e94a55900576eee53bc21456600bceec4f0cc86c800929c
|
7
|
+
data.tar.gz: ae554d8cb1ede05cb8f79a04e9bc5d77c3a9ecdd86686588e795b4075d9c90c3575c4728384d96215530eca309f77ea18dad667f445206a48b63eddbe80540cb
|
@@ -1,8 +1,15 @@
|
|
1
1
|
module IMS::LTI::Models::Messages
|
2
|
-
class BasicLTILaunchRequest < IMS::LTI::Models::
|
2
|
+
class BasicLTILaunchRequest < IMS::LTI::Models::Messages::Message
|
3
3
|
|
4
4
|
add_attributes :context_id, :context_type, :launch_presentation_return_url, :resource_link_id, :role_scope_mentor,
|
5
5
|
:tool_consumer_instance_guid, :user_image
|
6
6
|
|
7
|
+
MESSAGE_TYPE = 'basic-lti-launch-request'
|
8
|
+
|
9
|
+
def initialize(attrs = {})
|
10
|
+
super(attrs)
|
11
|
+
self.lti_message_type = MESSAGE_TYPE
|
12
|
+
end
|
13
|
+
|
7
14
|
end
|
8
15
|
end
|
@@ -2,11 +2,11 @@ module IMS::LTI::Models::Messages
|
|
2
2
|
class RegistrationRequest < Message
|
3
3
|
add_attributes :reg_key, :reg_password, :tc_profile_url, :launch_presentation_return_url
|
4
4
|
|
5
|
-
|
5
|
+
MESSAGE_TYPE = 'ToolProxyRegistrationRequest'
|
6
6
|
|
7
7
|
def initialize(attributes = {})
|
8
8
|
super(attributes)
|
9
|
-
self.lti_message_type =
|
9
|
+
self.lti_message_type = MESSAGE_TYPE
|
10
10
|
end
|
11
11
|
|
12
12
|
def generate_key_and_password
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ims-lti
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.0.beta.
|
4
|
+
version: 2.0.0.beta.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Instructure
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-08-
|
11
|
+
date: 2014-08-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: simple_oauth
|