mumukit-inspection 2.0.0 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/locales/en.yml +4 -0
- data/lib/locales/es.yml +4 -0
- data/lib/mumukit/inspection/expectation.rb +2 -2
- data/lib/mumukit/inspection/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f1e09e4d0a2a11eea0dc89aede0e014d041a683b
|
|
4
|
+
data.tar.gz: 0a475fd225243653e5fa628282feef74646e60ad
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1de055a1e527deaebdcd0e629f71a8e1db8c3a0b9a84748d5cc04de6bd0997560c1e1c9f19f30d979ab010604f2a18811844b445ad663b372cd5a717cdb14029
|
|
7
|
+
data.tar.gz: 094bf81020295e3464dc7310c4485a3db35d5de98075d96cb049ff58a2b2fa98302ba7db539213231760507a77c59666570634203954a8066a9d4181c5677437
|
data/lib/locales/en.yml
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
---
|
|
2
2
|
en:
|
|
3
|
+
expectation_Assigns: '%{binding} %{must} perform assignments'
|
|
4
|
+
expectation_Assigns_except: '%{binding} %{must} assign something distinct from %{target}'
|
|
5
|
+
expectation_Assigns_like: '%{binding} %{must} assign something similar to %{target}'
|
|
6
|
+
expectation_Assigns_named: '%{binding} %{must} assign %{target}'
|
|
3
7
|
expectation_Declares: '%{binding} %{must} contain declarations'
|
|
4
8
|
expectation_Declares_except: '%{binding} %{must} contain declarations distinct from %{target}'
|
|
5
9
|
expectation_Declares_like: '%{binding} %{must} declare an identifier similar to %{target}'
|
data/lib/locales/es.yml
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
---
|
|
2
2
|
es:
|
|
3
|
+
expectation_Assigns: '%{binding} %{must} realizar asignaciones'
|
|
4
|
+
expectation_Assigns_except: '%{binding} %{must} asignar a algo diferente a %{target}'
|
|
5
|
+
expectation_Assigns_like: '%{binding} %{must} asignar algo parecido a %{target}'
|
|
6
|
+
expectation_Assigns_named: '%{binding} %{must} asignar %{target}'
|
|
3
7
|
expectation_Declares: '%{binding} %{must} contener declaraciones'
|
|
4
8
|
expectation_Declares_except: '%{binding} %{must} contener declaraciones distintas a %{target}'
|
|
5
9
|
expectation_Declares_like: '%{binding} %{must} declarar un identificador parecido a %{target}'
|
|
@@ -7,8 +7,8 @@ class Mumukit::Inspection::Expectation
|
|
|
7
7
|
end
|
|
8
8
|
|
|
9
9
|
def check!
|
|
10
|
-
raise "Wrong binding #{
|
|
11
|
-
raise "Wrong inspection #{
|
|
10
|
+
raise "Wrong binding in #{to_h}" unless binding?
|
|
11
|
+
raise "Wrong inspection #{to_h}" unless inspection?
|
|
12
12
|
end
|
|
13
13
|
|
|
14
14
|
def translate
|
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.
|
|
4
|
+
version: 2.1.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-
|
|
11
|
+
date: 2017-07-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: mumukit-core
|