mumuki-domain 7.11.0 → 7.11.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f0741bd4448950db1d082d665156e2c44f6dffbdf5446b2bcdb292645b541e7f
|
4
|
+
data.tar.gz: b1fc47e3b26d394b05a74b3e79956c2f76374604f4cdce281c72590f3d11190c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d3162dfff77952888d226889a51a88a12058634253dfd2a64154701c3be0322a0d374e050a94ccfca6ef614062c8f9ebc97817e75b5e19eeea14ef6d8aa5f82
|
7
|
+
data.tar.gz: 7361c7ed82288dcc41ec41294811130cfc4f9cd8ba38761087589001ed2d3ea13b0b64d4e1906918442b7f63aad2c13dada768a2a59fba5121285c9d6f10090d
|
@@ -27,8 +27,10 @@ class Mumuki::Domain::Submission::Base
|
|
27
27
|
results
|
28
28
|
end
|
29
29
|
|
30
|
-
|
31
|
-
|
30
|
+
# By default evaluation strategy is ignored.
|
31
|
+
# Subclasses may override this behaviour
|
32
|
+
def dry_run!(assignment, _evaluation)
|
33
|
+
evaluate! assignment
|
32
34
|
end
|
33
35
|
|
34
36
|
def with_client_result(result)
|
@@ -1,6 +1,10 @@
|
|
1
1
|
class Mumuki::Domain::Submission::Solution < Mumuki::Domain::Submission::PersistentSubmission
|
2
2
|
attr_accessor :content
|
3
3
|
|
4
|
+
def dry_run!(assignment, evaluation)
|
5
|
+
evaluation.evaluate! assignment, self
|
6
|
+
end
|
7
|
+
|
4
8
|
def try_evaluate!(assignment)
|
5
9
|
assignment
|
6
10
|
.run_tests!({client_result: client_result}.compact.merge(content: content))
|
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.11.
|
4
|
+
version: 7.11.1
|
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: 2020-
|
11
|
+
date: 2020-11-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|