mumukit-assistant 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/mumukit/assistant/rule.rb +2 -2
- data/lib/mumukit/assistant/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: a60cd7990b918459cf5ca6d880988803b2ae05fcaf134027962288da648dcc88
|
4
|
+
data.tar.gz: 0282f96960a30e776ec04472024f35f4f6e1423a18143bc80bdf7240560b63fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 50954bef56f3b6a7490aa883523f483648787a6ee0e54ed7d719c4f282c172839892f0d09738e2288d81fc2a5bc34d695b6c523d09cf1a89442dcd0cf3bbcf83
|
7
|
+
data.tar.gz: b2744d1e36db6e2f91d201c7c449a60f925932f81a1e1c9f40ae882ea26c89c95b06869cebf85e7ef0ebfa8f7cae73b9e64eae5610266f412d6cf51ea5eec596
|
@@ -10,7 +10,7 @@ module Mumukit::Assistant::Rule
|
|
10
10
|
end
|
11
11
|
|
12
12
|
def self.parse_simple_when(w, message)
|
13
|
-
case w
|
13
|
+
case w.to_sym
|
14
14
|
when :content_empty then Mumukit::Assistant::Rule::ContentEmpty.new(message)
|
15
15
|
when :submission_errored then Mumukit::Assistant::Rule::SubmissionErrored.new(message)
|
16
16
|
when :submission_failed then Mumukit::Assistant::Rule::SubmissionFailed.new(message)
|
@@ -21,7 +21,7 @@ module Mumukit::Assistant::Rule
|
|
21
21
|
|
22
22
|
def self.parse_complex_when(w, message)
|
23
23
|
condition, value = *w
|
24
|
-
case condition
|
24
|
+
case condition.to_sym
|
25
25
|
when :error_contains then Mumukit::Assistant::Rule::ErrorContains.new(message, value)
|
26
26
|
when :these_tests_failed then Mumukit::Assistant::Rule::TheseTestsFailed.new(message, value)
|
27
27
|
when :only_these_tests_failed then Mumukit::Assistant::Rule::OnlyTheseTestsFailed.new(message, value)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mumukit-assistant
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Julián Berbel Alt
|
@@ -112,7 +112,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
112
112
|
version: '0'
|
113
113
|
requirements: []
|
114
114
|
rubyforge_project:
|
115
|
-
rubygems_version: 2.
|
115
|
+
rubygems_version: 2.7.7
|
116
116
|
signing_key:
|
117
117
|
specification_version: 4
|
118
118
|
summary: Library for providing assistance with mumuki exercises
|