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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 051724369ddfa47a9d19d3f31775a46428ef4a7b
4
- data.tar.gz: 231892340a2a47b23eed47c6fbc3cae82789e446
2
+ SHA256:
3
+ metadata.gz: a60cd7990b918459cf5ca6d880988803b2ae05fcaf134027962288da648dcc88
4
+ data.tar.gz: 0282f96960a30e776ec04472024f35f4f6e1423a18143bc80bdf7240560b63fe
5
5
  SHA512:
6
- metadata.gz: 64038b701177a0fa290ee8391bad4d9383290444807258f5cffc26767e03c9e1f08cd95aae98a4b6ae68bea74ecfb2a2a9dd2df11445d5c58783505e72b238dc
7
- data.tar.gz: 08d3bf283f06dc28b8ab71f6059eb73e9529f4b1efb5bca031625a2edeb21ebd5fda82804ba2f235fa64f2bf2c554755116085991914e6e5b516a00570587846
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)
@@ -1,5 +1,5 @@
1
1
  module Mumukit
2
2
  class Assistant
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
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.0
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.5.1
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