mumukit-inspection 3.0.1 → 3.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/locales/en.yml +4 -0
- data/lib/locales/es.yml +50 -5
- data/lib/mumukit/inspection/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: db1e12bf97e780c119e65588c7ccbe0f91783bb7
|
4
|
+
data.tar.gz: 5a1f0e667d97b93145d656436fe3ed2ea49f69b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 74c88acf3194786cf7625c6358bf83518390b5ef99026f53abe38791f19eae19d4daaebb85952d41a2abb7cf1aac03234bd3b09b9771a3bf2187216e37fb117e
|
7
|
+
data.tar.gz: 2f5a8aceef7af09eaa899cca6bbac460c828ecffb0420acb9d5d81f57e0261851bdc104eb0e8cfcd873306b87a41a2104f087fd13e08ffb68f2f9ce8cb65db83
|
data/lib/locales/en.yml
CHANGED
@@ -4,6 +4,10 @@ en:
|
|
4
4
|
expectation_Assigns_except: '%{binding} %{must} assign something distinct from %{target}'
|
5
5
|
expectation_Assigns_like: '%{binding} %{must} assign something similar to %{target}'
|
6
6
|
expectation_Assigns_named: '%{binding} %{must} assign %{target}'
|
7
|
+
expectation_Calls: '%{binding} %{must} delegate'
|
8
|
+
expectation_Calls_except: '%{binding} %{must} delegate to something distinct from %{target}'
|
9
|
+
expectation_Calls_like: '%{binding} %{must} delegate to something similar to %{target}'
|
10
|
+
expectation_Calls_named: '%{binding} %{must} use %{target}'
|
7
11
|
expectation_Declares: '%{binding} %{must} contain declarations'
|
8
12
|
expectation_Declares_except: '%{binding} %{must} contain declarations distinct from %{target}'
|
9
13
|
expectation_Declares_like: '%{binding} %{must} declare an identifier similar to %{target}'
|
data/lib/locales/es.yml
CHANGED
@@ -4,6 +4,10 @@ es:
|
|
4
4
|
expectation_Assigns_except: '%{binding} %{must} asignar a algo diferente a %{target}'
|
5
5
|
expectation_Assigns_like: '%{binding} %{must} asignar algo parecido a %{target}'
|
6
6
|
expectation_Assigns_named: '%{binding} %{must} asignar %{target}'
|
7
|
+
expectation_Calls: '%{binding} %{must} delegar'
|
8
|
+
expectation_Calls_except: '%{binding} %{must} delegar en algo diferente a %{target}'
|
9
|
+
expectation_Calls_like: '%{binding} %{must} delegar en algo parecido a %{target}'
|
10
|
+
expectation_Calls_named: '%{binding} %{must} utilizar %{target}'
|
7
11
|
expectation_Declares: '%{binding} %{must} contener declaraciones'
|
8
12
|
expectation_Declares_except: '%{binding} %{must} contener declaraciones distintas a %{target}'
|
9
13
|
expectation_Declares_like: '%{binding} %{must} declarar un identificador parecido a %{target}'
|
@@ -27,6 +31,10 @@ es:
|
|
27
31
|
expectation_DeclaresComputationWithArity4_named: '%{target} %{must} tener cuatro parámetros'
|
28
32
|
expectation_DeclaresComputationWithArity5_named: '%{target} %{must} tener cinco parámetros'
|
29
33
|
expectation_DeclaresEntryPoint: '%{binding} %{must} declarar un punto de entrada'
|
34
|
+
expectation_DeclaresEnumeration: '%{binding} %{must} declarar enumeraciones'
|
35
|
+
expectation_DeclaresEnumeration_except: '%{binding} %{must} declarar enumeraciones que no se llamen %{target}'
|
36
|
+
expectation_DeclaresEnumeration_like: '%{binding} %{must} declarar una enumeracion de nombre parecido a %{target}'
|
37
|
+
expectation_DeclaresEnumeration_named: '%{binding} %{must} declarar una enumeracion %{target}'
|
30
38
|
expectation_DeclaresFact: '%{binding} %{must} declarar hechos'
|
31
39
|
expectation_DeclaresFact_except: '%{binding} %{must} declarar hechos diferentes a %{target}'
|
32
40
|
expectation_DeclaresFact_like: '%{binding} %{must} declarar un hecho parecido a %{target}'
|
@@ -35,6 +43,10 @@ es:
|
|
35
43
|
expectation_DeclaresFunction_except: '%{binding} %{must} declarar funciones diferentes a %{target}'
|
36
44
|
expectation_DeclaresFunction_like: '%{binding} %{must} declarar una función parecida a %{target}'
|
37
45
|
expectation_DeclaresFunction_named: '%{binding} %{must} declarar una función %{target}'
|
46
|
+
expectation_DeclaresInterface: '%{binding} %{must} declarar interfaces'
|
47
|
+
expectation_DeclaresInterface_except: '%{binding} %{must} declarar interfaces que no se llamen %{target}'
|
48
|
+
expectation_DeclaresInterface_like: '%{binding} %{must} declarar una interfaz de nombre parecido a %{target}'
|
49
|
+
expectation_DeclaresInterface_named: '%{binding} %{must} declarar una interfaz %{target}'
|
38
50
|
expectation_DeclaresMethod: '%{binding} %{must} declarar métodos'
|
39
51
|
expectation_DeclaresMethod_except: '%{binding} %{must} declarar métodos diferentes a %{target}'
|
40
52
|
expectation_DeclaresMethod_like: '%{binding} %{must} declarar un método parecido a %{target}'
|
@@ -56,6 +68,10 @@ es:
|
|
56
68
|
expectation_DeclaresRule_except: '%{binding} %{must} declarar reglas diferentes a %{target}'
|
57
69
|
expectation_DeclaresRule_like: '%{binding} %{must} declarar una regla parecida a %{target}'
|
58
70
|
expectation_DeclaresRule_named: '%{binding} %{must} declarar una regla %{target}'
|
71
|
+
expectation_DeclaresSuperclass: '%{binding} %{must} declarar una superclase'
|
72
|
+
expectation_DeclaresSuperclass_except: '%{binding} %{must} declarar una superclase distinta de %{target}'
|
73
|
+
expectation_DeclaresSuperclass_like: '%{binding} %{must} declarar una superclase parecida a %{target}'
|
74
|
+
expectation_DeclaresSuperclass_named: '%{binding} %{must} declarar una superclase %{target}'
|
59
75
|
expectation_DeclaresTypeAlias: '%{binding} %{must} declarar sinónimos de tipo'
|
60
76
|
expectation_DeclaresTypeAlias_except: '%{binding} %{must} declarar sinónimos de tipo diferentes a %{target}'
|
61
77
|
expectation_DeclaresTypeAlias_like: '%{binding} %{must} declarar un sinónimo de tipo parecido a %{target}'
|
@@ -68,11 +84,14 @@ es:
|
|
68
84
|
expectation_DeclaresVariable_except: '%{binding} %{must} declarar variables diferentes a %{target}'
|
69
85
|
expectation_DeclaresVariable_like: '%{binding} %{must} declarar una variable parecida a %{target}'
|
70
86
|
expectation_DeclaresVariable_named: '%{binding} %{must} declarar una variable %{target}'
|
87
|
+
expectation_DiscardsExceptions: '%{binding} está ignorando exceptiones silenciosamiente.'
|
88
|
+
expectation_DoesConsolePrint: '%{binding} está realizando impresiones por pantalla.'
|
71
89
|
expectation_DoesNullTest: '%{binding} hace comparaciones contra null'
|
72
90
|
expectation_DoesTypeTest: '%{binding} hace comparaciones contra strings'
|
73
91
|
expectation_HasAssignmentReturn: '%{binding} devuelve el resultado de una asignación'
|
74
92
|
expectation_HasCodeDuplication: '%{binding} tiene código repetido'
|
75
|
-
expectation_HasMisspelledBindings: '%{binding} está mal escrito'
|
93
|
+
expectation_HasMisspelledBindings: '%{binding} está mal escrito. Revisá la ortografía y procurá no usar abreviaturas'
|
94
|
+
expectation_HasMisspelledIdentifiers: '%{binding} está mal escrito. Revisá la ortografía y procurá no usar abreviaturas'
|
76
95
|
expectation_HasRedundantBooleanComparison: '%{binding} hace comparaciones booleanas innecesarias'
|
77
96
|
expectation_HasRedundantGuards: '%{binding} tiene guardas innecesarias'
|
78
97
|
expectation_HasRedundantIf: '%{binding} tiene ifs innecesarios'
|
@@ -81,10 +100,32 @@ es:
|
|
81
100
|
expectation_HasRedundantParameter: '%{binding} tiene parámetros innecesarios (se pueden eliminar mediante point-free)'
|
82
101
|
expectation_HasRedundantReduction: '%{binding} usa <i>is</i>, pero no realiza cálculos.'
|
83
102
|
expectation_HasTooShortBindings: '%{binding} es un identificador muy corto'
|
103
|
+
expectation_HasTooShortIdentifiers: '%{binding} es un identificador muy corto'
|
84
104
|
expectation_HasWrongCaseBindings: '%{binding} no respeta la convención de nombres'
|
105
|
+
expectation_HasWrongCaseIdentifiers: '%{binding} no respeta la convención de nombres'
|
106
|
+
expectation_Implements: '%{binding} %{must} implementar intefaces'
|
107
|
+
expectation_Implements_except: '%{binding} %{must} implementar interfaces distintas de %{target}'
|
108
|
+
expectation_Implements_like: '%{binding} %{must} implementar insterfaces parecidas a %{target}'
|
109
|
+
expectation_Implements_named: '%{binding} %{must} implementar %{target}'
|
110
|
+
expectation_Inherits: '%{binding} %{must} declarar una superclase'
|
111
|
+
expectation_Inherits_except: '%{binding} %{must} declarar una superclase distinta de %{target}'
|
112
|
+
expectation_Inherits_like: '%{binding} %{must} declarar una superclase parecida a %{target}'
|
113
|
+
expectation_Inherits_named: '%{binding} %{must} declarar una superclase %{target}'
|
114
|
+
expectation_Instantiates: '%{binding} %{must} instanciar objetos'
|
115
|
+
expectation_Instantiates_except: '%{binding} %{must} instanciar clases distintas de %{target}'
|
116
|
+
expectation_Instantiates_like: '%{binding} %{must} instanciar clases parecidas a %{target}'
|
117
|
+
expectation_Instantiates_named: '%{binding} %{must} instanciar %{target}'
|
85
118
|
expectation_IsLongCode: '%{binding} es muy largo. Tratá de delegar más'
|
86
119
|
expectation_must: debe
|
87
120
|
expectation_must_not: no debe
|
121
|
+
expectation_Raises: '%{binding} %{must} lanzar exceptiones'
|
122
|
+
expectation_Raises_except: '%{binding} %{must} lanzar excepciones diferentes a %{target}'
|
123
|
+
expectation_Raises_like: '%{binding} %{must} lanzar excepciones parecidas a %{target}'
|
124
|
+
expectation_Raises_named: '%{binding} %{must} lanzar %{target}'
|
125
|
+
expectation_Rescues: '%{binding} %{must} capturar exceptiones'
|
126
|
+
expectation_Rescues_except: '%{binding} %{must} capturar excepciones diferentes a %{target}'
|
127
|
+
expectation_Rescues_like: '%{binding} %{must} capturar excepciones parecidas a %{target}'
|
128
|
+
expectation_Rescues_named: '%{binding} %{must} capturar %{target}'
|
88
129
|
expectation_ReturnsNull: '%{binding} retorna null, lo cual es una mala práctica'
|
89
130
|
expectation_solution: la solución
|
90
131
|
expectation_Uses: '%{binding} %{must} delegar'
|
@@ -96,17 +137,21 @@ es:
|
|
96
137
|
expectation_UsesComprehension: '%{binding} %{must} emplear listas por comprensión'
|
97
138
|
expectation_UsesConditional: '%{binding} %{must} utilizar condicionales'
|
98
139
|
expectation_UsesCut: '%{binding} usa el operador !, lo cual es una mala práctica'
|
140
|
+
expectation_UsesExceptionHandling: '%{binding} %{must} realizar manejo de exceptiones'
|
141
|
+
expectation_UsesExceptions: '%{binding} %{must} usar exceptiones'
|
99
142
|
expectation_UsesFail: '%{binding} usa <i>fail</li>, lo cual es una mala práctica'
|
100
143
|
expectation_UsesFindall: '%{binding} %{must} utilizar findall'
|
101
144
|
expectation_UsesForall: '%{binding} %{must} utilizar forall'
|
102
|
-
expectation_UsesForeach: '%{binding} %{must} usar
|
145
|
+
expectation_UsesForeach: '%{binding} %{must} usar <i>foreach</i>'
|
103
146
|
expectation_UsesGuards: '%{binding} %{must} usar guardas'
|
104
147
|
expectation_UsesIf: '%{binding} %{must} usar if'
|
148
|
+
expectation_UsesInheritance: '%{binding} %{must} usar herencia'
|
105
149
|
expectation_UsesLambda: '%{binding} %{must} emplear expresiones lambda'
|
150
|
+
expectation_UsesMixins: '%{binding} %{must} usar mixins'
|
106
151
|
expectation_UsesNot: '%{binding} %{must} utilizar not'
|
107
152
|
expectation_UsesPatternMatching: '%{binding} %{must} utilizar pattern matching'
|
108
|
-
expectation_UsesRepeat: '%{binding} %{must} usar
|
109
|
-
expectation_UsesRepeatOf: '%{binding} %{must} usar
|
153
|
+
expectation_UsesRepeat: '%{binding} %{must} usar <i>repeat</i>'
|
154
|
+
expectation_UsesRepeatOf: '%{binding} %{must} usar un <i>repeat</i> de %{target}'
|
110
155
|
expectation_UsesSwitch: '%{binding} %{must} utilizar un switch'
|
111
156
|
expectation_UsesUnificationOperator: '%{binding} usa el operador de unificación (=)'
|
112
|
-
expectation_UsesWhile: '%{binding} %{must} utilizar
|
157
|
+
expectation_UsesWhile: '%{binding} %{must} utilizar un <i>while</i>'
|
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: 3.0
|
4
|
+
version: 3.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-
|
11
|
+
date: 2017-09-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mumukit-core
|
@@ -120,7 +120,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
120
120
|
version: '0'
|
121
121
|
requirements: []
|
122
122
|
rubyforge_project:
|
123
|
-
rubygems_version: 2.
|
123
|
+
rubygems_version: 2.6.13
|
124
124
|
signing_key:
|
125
125
|
specification_version: 4
|
126
126
|
summary: Minimal library for parsing Mumuki inspection language
|