ims_caliper 0.9.3.4 → 0.9.3.5
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 +8 -8
- data/lib/caliper/event/event.rb +2 -0
- data/lib/caliper/profiles/assessment_profile.rb +1 -0
- data/lib/caliper/version.rb +1 -1
- data/spec/lib/sensor_spec.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NmFiZjk0ZDQ1MzE1MjRjMGYzODkxOGYyYjdlNzNiMzViYTM2NGE3ZQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZTI4ZGE2NjBkN2I2ODA3MWY1MzhlMmQzOGI4YmM3Yjc4MmM3Yzg0Ng==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YzMzNWJhYWNkNTcyMWM4NGIzYWYzMjMyMzY2NzBiNDEwNDIxY2VmYWVlZjg5
|
10
|
+
YThhNzkxMTY1Y2I5NWJlMzBiYjQyMzVhZjRlZTViZThiYmUxMGIzNWY1ODU4
|
11
|
+
YWUzZDRmYjc5NTc4OWQ2NWIwMmNlOGE2OTVhNjZhMWQ1N2YwNmQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
Nzc1YWY5YzhjMDViZTc5ODMzMDZkM2MzMDg3MzIzZjU3NWMyOTE1OTc3ZmUx
|
14
|
+
MDM3Nzk4ZTkxZWU1NTEzMDNjMDQ5ZDVkNDQwYzJiMGM1M2RmYjAyZTY5ZDg4
|
15
|
+
Y2EyZjU5Mzg4YTM3Nzg5ZGZiNjJmYzFhOTE3MGUwMzViZTY5YTk=
|
data/lib/caliper/event/event.rb
CHANGED
@@ -34,6 +34,7 @@ module Caliper
|
|
34
34
|
OUTCOME = "http://purl.imsglobal.org/ctx/caliper/v1/OutcomeEvent"
|
35
35
|
SESSION = "http://purl.imsglobal.org/ctx/caliper/v1/SessionEvent"
|
36
36
|
VIEW = "http://purl.imsglobal.org/ctx/caliper/v1/ViewEvent"
|
37
|
+
GRADE_PREDICT = "http://purl.imsglobal.org/ctx/caliper/v1/GradePredictEvent"
|
37
38
|
end
|
38
39
|
|
39
40
|
module EventType
|
@@ -45,6 +46,7 @@ module Caliper
|
|
45
46
|
MEDIA = "http://purl.imsglobal.org/caliper/v1/MediaEvent"
|
46
47
|
NAVIGATION = "http://purl.imsglobal.org/caliper/v1/NavigationEvent"
|
47
48
|
OUTCOME = "http://purl.imsglobal.org/caliper/v1/OutcomeEvent"
|
49
|
+
GRADE_PREDICT = "http://purl.imsglobal.org/caliper/v1/GradePredictEvent"
|
48
50
|
SESSION = "http://purl.imsglobal.org/caliper/v1/SessionEvent"
|
49
51
|
VIEW = "http://purl.imsglobal.org/caliper/v1/ViewEvent"
|
50
52
|
end
|
@@ -27,6 +27,7 @@ module Caliper
|
|
27
27
|
RESTARTED = "http://purl.imsglobal.org/vocab/caliper/v1/action#Restarted"
|
28
28
|
STARTED = "http://purl.imsglobal.org/vocab/caliper/v1/action#Started"
|
29
29
|
SUBMITTED = "http://purl.imsglobal.org/vocab/caliper/v1/action#Submitted"
|
30
|
+
GRADED = "http://purl.imsglobal.org/vocab/caliper/v1/action#Graded"
|
30
31
|
end
|
31
32
|
|
32
33
|
class AssessmentProfile < Caliper::Profiles::Profile
|
data/lib/caliper/version.rb
CHANGED
data/spec/lib/sensor_spec.rb
CHANGED
@@ -38,7 +38,7 @@ module Caliper
|
|
38
38
|
sensor = Sensor.new options
|
39
39
|
event = session_event
|
40
40
|
|
41
|
-
file = File.read('spec/fixtures/
|
41
|
+
file = File.read('spec/fixtures/caliper_session_gradecraft.json')
|
42
42
|
data_hash = JSON.parse(file)
|
43
43
|
expected_json = data_hash.to_json # convert hash back to JSON string after parse
|
44
44
|
# puts "JSON from file = #{data_hash}"
|