mumukit-inspection 2.1.1 → 3.0.0

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
  SHA1:
3
- metadata.gz: b530dcffc68ee43857cb6412d9520d27ae0f3ad5
4
- data.tar.gz: 953e722d2598b79744c5e1c8adb2584d9f879730
3
+ metadata.gz: c632bc77c35c934230567976f4245f064863ebbf
4
+ data.tar.gz: 1e0b8b17ccd0570c901b690a307a9b150022e52c
5
5
  SHA512:
6
- metadata.gz: c4ccd83eef1db014c52a53b1734cdd870f95152dab31ddc01ecbcb98158dc6ed31ed986e49d676d7357011f6226fd244bed87b49ebcd7261c8896c0706266c39
7
- data.tar.gz: 010b8d80fccf55985f99f5f0afd33e02f3dd053c3206e627a00aa076dd4d7eddf9787067e0b9546e095ce31b997190f46b520527a00d18dfe1543876fd76147e
6
+ metadata.gz: 76c04bcbe208ea5ab4a149e44936a64b0fd8e4d143afab62f400f6c580562894781601c103895355b974c8dcac6d30f43978866bbc6ef27499bdbf751c7a245a
7
+ data.tar.gz: c0cb600d925edc37272a0431489f7d765a1d9b3be61f9fa377301fa963c8718a8e67ea92569b38a10a2cfaf80cbeeb95b90bbc8412e1a0af0938e3b2367e5c0c
@@ -69,7 +69,7 @@ class Mumukit::Inspection::Expectation
69
69
  end
70
70
 
71
71
  def as_v2_declare(simple_type)
72
- V2.new '', new_inspection("Declares#{simple_type}", Mumukit::Inspection::Target.named(binding))
72
+ V2.new '*', new_inspection("Declares#{simple_type}", Mumukit::Inspection::Target.named(binding))
73
73
  end
74
74
 
75
75
  def new_inspection(type, target)
@@ -20,7 +20,7 @@ module Mumukit::Inspection::I18n
20
20
  end
21
21
 
22
22
  def t_binding(binding)
23
- binding.present? ? "<strong>#{Mumukit::Inspection.parse_binding_name binding}</strong>" : ::I18n.t("expectation_solution")
23
+ binding == '*' ? ::I18n.t("expectation_solution") : "<strong>#{Mumukit::Inspection.parse_binding_name binding}</strong>"
24
24
  end
25
25
 
26
26
  def t_must(parsed)
@@ -1,5 +1,5 @@
1
1
  module Mumukit
2
2
  class Inspection
3
- VERSION = '2.1.1'
3
+ VERSION = '3.0.0'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mumukit-inspection
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.1
4
+ version: 3.0.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: 2017-07-13 00:00:00.000000000 Z
11
+ date: 2017-08-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mumukit-core