mumuki-domain 7.0.4 → 7.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/exam.rb +1 -1
- 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: 43e248d7eff85d6875aa00ba46a874ec5084305197ab4bd6d3a80d84c2aa15ee
|
4
|
+
data.tar.gz: b859a8015918f66bf45beda113c132424b6ab569c4047854ae6bcb750a6d4f17
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c4c355bf7e2fb98b1326b5fd175fd4178ad2c0c8e75d50d539b677a548121b2ed52f787ed34083a6f1a92b67e1d60e4e76e6f3f657fa862c22e4b562cdaa738
|
7
|
+
data.tar.gz: 68ac57f0292ab290af52b373fdaf32fb927c86666eecaf70981588870867b0a4faa32186e7bf9e45be1f81854e2f301b2a121bec79497b74d3dd0f601b03eedb
|
data/app/models/exam.rb
CHANGED
@@ -123,7 +123,7 @@ class Exam < ApplicationRecord
|
|
123
123
|
def self.adapt_json_values(exam)
|
124
124
|
exam[:guide_id] = Guide.find_by(slug: exam[:slug]).id
|
125
125
|
exam[:organization_id] = Organization.current.id
|
126
|
-
exam[:users] =
|
126
|
+
exam[:users] = User.where(uid: exam[:uids])
|
127
127
|
[:start_time, :end_time].each { |param| exam[param] = exam[param].to_time }
|
128
128
|
end
|
129
129
|
|
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: 7.0.
|
4
|
+
version: 7.0.5
|
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: 2019-
|
11
|
+
date: 2019-11-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|