mumuki-domain 9.19.0 → 9.20.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/assignment.rb +3 -2
- data/lib/mumuki/domain/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 444b1f0d9b9045b65edc00adfa94535e351fb2d0c906e1f5f4ddce6a8ae7da8c
|
4
|
+
data.tar.gz: 9363d9f7b2f7db38f13913a4396417af31583e8d8f45443d3e3792f8add84f8c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1e214a051c3d7ea39244492a5a6ce85e9e96089f0ba7ae880f6a051cb75222bfbf40a643de40b950d7555bff1fe71c3c119561212751626489804eda3c0f7157
|
7
|
+
data.tar.gz: 8262781e1b3e394c222085f7730a869a37b1b8b7145520c429d02f5fba7997cc719aaa3fc1db54d04fc928ecf47dc612a0cd4b670de8b905fc21bedfecda2416
|
data/app/models/assignment.rb
CHANGED
@@ -186,8 +186,8 @@ class Assignment < Progress
|
|
186
186
|
language: {only: [:name]}},
|
187
187
|
},
|
188
188
|
exercise: {only: [:name, :number]},
|
189
|
-
submitter: {only: [:email, :social_id, :uid], methods: [:name, :profile_picture]}})
|
190
|
-
deep_merge(
|
189
|
+
submitter: {only: [:email, :social_id, :uid], methods: [:name, :profile_picture]}})
|
190
|
+
.deep_merge(
|
191
191
|
'organization' => Organization.current.name,
|
192
192
|
'sid' => submission_id,
|
193
193
|
'created_at' => submitted_at || updated_at,
|
@@ -202,6 +202,7 @@ class Assignment < Progress
|
|
202
202
|
'position' => navigable_parent.try(:number),
|
203
203
|
'chapter' => guide.chapter.as_json(only: [:id], methods: [:name])
|
204
204
|
}})
|
205
|
+
.merge({'randomized_values' => randomized_values.presence}.compact)
|
205
206
|
end
|
206
207
|
|
207
208
|
def tips
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mumuki-domain
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 9.
|
4
|
+
version: 9.20.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Franco Leonardo Bulgarelli
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-10-
|
11
|
+
date: 2021-10-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|