mumukit-inspection 3.3.0 → 3.4.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
  SHA256:
3
- metadata.gz: feb649a8c2e6d1b9b769beb9cf4ecd42667993067d23e4b8a2c40ae1dba781c2
4
- data.tar.gz: 52e00995250243165bff626c312c5a0d5d9d8c52d48f6d24e8f030327a09e871
3
+ metadata.gz: c16e0c2bbad51fdd77408d133b83c3f00c02dcc7d08f9ec335c2083e47823ead
4
+ data.tar.gz: d39dc5c71b6efaef10e7cf6247933aea269ab763207daa415c8b86e428adfdf9
5
5
  SHA512:
6
- metadata.gz: 7d06c4c283362b4df27c9e460281b58301846eb2644cd3565d9a60a9ab4e41b5cbf251e15cf2b6c75dbde7a0a34e429af2d2cd63f98f77eab7d9263a41ca4a12
7
- data.tar.gz: eeba96816dcbfb20a276fc7df07c88f0c4c20009e16479859c22750025707d917b86a9a015347ec01d39a9047476b41f230021e17e881c7a3a759bf1c897263d
6
+ metadata.gz: 787f13b3097c880b65f6baf209f4f5cc8b00e44da760c8e94f6de53d8af70cb1d1e760624c871f8b7c1743d96ca24641475a5414c82dd8b179dab40b3240fb2e
7
+ data.tar.gz: e7615bf2648a2db573799fc604c90aa1777a642a4ceebfd664e87400e952ac30ff8ce5f567a1bcc9c0bd48776844cc54424f3c99fe99937e09db82f2bbf9ec7a
data/lib/locales/en.yml CHANGED
@@ -1,29 +1,29 @@
1
1
  ---
2
2
  en:
3
- expectation_Assigns: '%{binding} %{must} perform assignments'
4
3
  expectation_Assigns_except: '%{binding} %{must} assign something distinct from %{target}'
5
4
  expectation_Assigns_like: '%{binding} %{must} assign something similar to %{target}'
6
5
  expectation_Assigns_named: '%{binding} %{must} assign %{target}'
7
- expectation_Calls: '%{binding} %{must} delegate'
6
+ expectation_Assigns: '%{binding} %{must} perform assignments'
8
7
  expectation_Calls_except: '%{binding} %{must} delegate to something distinct from %{target}'
9
8
  expectation_Calls_like: '%{binding} %{must} delegate to something similar to %{target}'
10
9
  expectation_Calls_named: '%{binding} %{must} use %{target}'
11
- expectation_Declares: '%{binding} %{must} contain declarations'
10
+ expectation_Calls: '%{binding} %{must} delegate'
12
11
  expectation_Declares_except: '%{binding} %{must} contain declarations distinct from %{target}'
13
12
  expectation_Declares_like: '%{binding} %{must} declare an identifier similar to %{target}'
14
13
  expectation_Declares_named: '%{binding} %{must} declare %{target}'
15
- expectation_DeclaresAttribute: '%{binding} %{must} declare attributes'
14
+ expectation_Declares: '%{binding} %{must} contain declarations'
16
15
  expectation_DeclaresAttribute_except: '%{binding} %{must} declare attributes distinct from %{target}'
17
16
  expectation_DeclaresAttribute_like: '%{binding} %{must} declare an attribute similar to %{target}'
18
17
  expectation_DeclaresAttribute_named: '%{binding} %{must} declare an attribute %{target}'
19
- expectation_DeclaresClass: '%{binding} %{must} declare classes'
18
+ expectation_DeclaresAttribute: '%{binding} %{must} declare attributes'
20
19
  expectation_DeclaresClass_except: '%{binding} %{must} declare classes distinct from %{target}'
21
20
  expectation_DeclaresClass_like: '%{binding} %{must} declare a class similar to %{target}'
22
21
  expectation_DeclaresClass_named: '%{binding} %{must} declare a class %{target}'
23
- expectation_DeclaresComputation: '%{binding} %{must} declare computations'
22
+ expectation_DeclaresClass: '%{binding} %{must} declare classes'
24
23
  expectation_DeclaresComputation_except: '%{binding} %{must} declare computations distinct from %{target}'
25
24
  expectation_DeclaresComputation_like: '%{binding} %{must} declare a computation similar to %{target}'
26
25
  expectation_DeclaresComputation_named: '%{binding} %{must} declare a computation %{target}'
26
+ expectation_DeclaresComputation: '%{binding} %{must} declare computations'
27
27
  expectation_DeclaresComputationWithArity0_named: '%{target} %{must} have zero parameters'
28
28
  expectation_DeclaresComputationWithArity1_named: '%{target} %{must} have one parameter'
29
29
  expectation_DeclaresComputationWithArity2_named: '%{target} %{must} have 2 parameters'
@@ -31,55 +31,55 @@ en:
31
31
  expectation_DeclaresComputationWithArity4_named: '%{target} %{must} have 4 parameters'
32
32
  expectation_DeclaresComputationWithArity5_named: '%{target} %{must} have 5 parameters'
33
33
  expectation_DeclaresEntryPoint: '%{binding} %{must} declare an entry point'
34
- expectation_DeclaresFact: '%{binding} %{must} declare facts'
35
34
  expectation_DeclaresFact_except: '%{binding} %{must} declare facts distinct from %{target}'
36
35
  expectation_DeclaresFact_like: '%{binding} %{must} declare a fact similar to %{target}'
37
36
  expectation_DeclaresFact_named: '%{binding} %{must} declare a fact %{target}'
38
- expectation_DeclaresFunction: '%{binding} %{must} debe declare functions'
37
+ expectation_DeclaresFact: '%{binding} %{must} declare facts'
39
38
  expectation_DeclaresFunction_except: '%{binding} %{must} declare functions distinct from %{target}'
40
39
  expectation_DeclaresFunction_like: '%{binding} %{must} declare a function similar to %{target}'
41
40
  expectation_DeclaresFunction_named: '%{binding} %{must} declare a function %{target}'
42
- expectation_DeclaresMethod: '%{binding} %{must} declare methods'
41
+ expectation_DeclaresFunction: '%{binding} %{must} debe declare functions'
43
42
  expectation_DeclaresMethod_except: '%{binding} %{must} declare methods distinct from %{target}'
44
43
  expectation_DeclaresMethod_like: '%{binding} %{must} declare a method similar to %{target}'
45
44
  expectation_DeclaresMethod_named: '%{binding} %{must} declare a method %{target}'
46
- expectation_DeclaresObject: '%{binding} %{must} declare objects'
45
+ expectation_DeclaresMethod: '%{binding} %{must} declare methods'
47
46
  expectation_DeclaresObject_except: '%{binding} %{must} declare objects distinct from %{target}'
48
47
  expectation_DeclaresObject_like: '%{binding} %{must} declare an object similar to %{target}'
49
48
  expectation_DeclaresObject_named: '%{binding} %{must} declare an object %{target}'
50
- expectation_DeclaresPredicate: '%{binding} %{must} declare predicates'
49
+ expectation_DeclaresObject: '%{binding} %{must} declare objects'
51
50
  expectation_DeclaresPredicate_except: '%{binding} %{must} declare a predicate distinct from %{target}'
52
51
  expectation_DeclaresPredicate_like: '%{binding} %{must} declare a predicate similar to %{target}'
53
52
  expectation_DeclaresPredicate_named: '%{binding} %{must} declare predicates %{target}'
54
- expectation_DeclaresProcedure: '%{binding} %{must} declare procedures'
53
+ expectation_DeclaresPredicate: '%{binding} %{must} declare predicates'
55
54
  expectation_DeclaresProcedure_except: '%{binding} %{must} declare procedures distinct from %{target}'
56
55
  expectation_DeclaresProcedure_like: '%{binding} %{must} declare a procedure similar to %{target}'
57
56
  expectation_DeclaresProcedure_named: '%{binding} %{must} declare a procedure %{target}'
57
+ expectation_DeclaresProcedure: '%{binding} %{must} declare procedures'
58
58
  expectation_DeclaresRecursively_named: '%{target} %{must} declared recursively'
59
- expectation_DeclaresRule: '%{binding} %{must} debe declare rules'
60
59
  expectation_DeclaresRule_except: '%{binding} %{must} declare rules distinct from %{target}'
61
60
  expectation_DeclaresRule_like: '%{binding} %{must} declare a rule similar to %{target}'
62
61
  expectation_DeclaresRule_named: '%{binding} %{must} declare a rule %{target}'
63
- expectation_DeclaresStyles: '%{binding} %{must} declare styles'
62
+ expectation_DeclaresRule: '%{binding} %{must} debe declare rules'
64
63
  expectation_DeclaresStyles_except: '%{binding} %{must} declare style distinct from %{target}'
65
64
  expectation_DeclaresStyles_like: '%{binding} %{must} declare a style similar to %{target}'
66
65
  expectation_DeclaresStyles_named: '%{binding} %{must} declare a style %{target}'
67
- expectation_DeclaresTag: '%{binding} %{must} declare a tag'
66
+ expectation_DeclaresStyles: '%{binding} %{must} declare styles'
68
67
  expectation_DeclaresTag_except: '%{binding} %{must} declare a tag distinct from %{target}'
69
68
  expectation_DeclaresTag_like: '%{binding} %{must} declare a tag similar to %{target}'
70
69
  expectation_DeclaresTag_named: '%{binding} %{must} declare a tag %{target}'
71
- expectation_DeclaresTypeAlias: '%{binding} %{must} declare type aliases'
70
+ expectation_DeclaresTag: '%{binding} %{must} declare a tag'
72
71
  expectation_DeclaresTypeAlias_except: '%{binding} %{must} declare type aliases distinct from %{target}'
73
72
  expectation_DeclaresTypeAlias_like: '%{binding} %{must} declare a type alias similar to %{target}'
74
73
  expectation_DeclaresTypeAlias_named: '%{binding} %{must} declare a type alias %{target}'
75
- expectation_DeclaresTypeSignature: '%{binding} %{must} decarar type signatures'
74
+ expectation_DeclaresTypeAlias: '%{binding} %{must} declare type aliases'
76
75
  expectation_DeclaresTypeSignature_except: '%{binding} %{must} declare a type signature distinct from %{target}'
77
76
  expectation_DeclaresTypeSignature_like: '%{binding} %{must} declare a type signature for something like %{target}'
78
77
  expectation_DeclaresTypeSignature_named: '%{binding} %{must} declare a type signature %{target}'
79
- expectation_DeclaresVariable: '%{binding} %{must} debe declare variables'
78
+ expectation_DeclaresTypeSignature: '%{binding} %{must} decarar type signatures'
80
79
  expectation_DeclaresVariable_except: '%{binding} %{must} declare variables distinct from %{target}'
81
80
  expectation_DeclaresVariable_like: '%{binding} %{must} declare a variable similar to %{target}'
82
81
  expectation_DeclaresVariable_named: '%{binding} %{must} declare a variable %{target}'
82
+ expectation_DeclaresVariable: '%{binding} %{must} debe declare variables'
83
83
  expectation_DoesNilTest: '%{binding} does <i>%{keyword_null}</i> tests'
84
84
  expectation_DoesNullTest: '%{binding} does <i>%{keyword_null}</i> tests'
85
85
  expectation_DoesTypeTest: '%{binding} string type tests'
@@ -98,17 +98,21 @@ en:
98
98
  expectation_HasUnreachableCode: '%{binding} has unreachable code.'
99
99
  expectation_HasWrongCaseBindings: '%{binding} does not honor case conventions'
100
100
  expectation_IsLongCode: '%{binding} is too long'
101
- expectation_must: must
102
101
  expectation_must_not: must not
102
+ expectation_must: must
103
103
  expectation_ReturnsNil: '%{binding} retuns <i>%{keyword_null}</i>, which is a bad practice'
104
104
  expectation_ReturnsNull: '%{binding} retuns <i>%{keyword_null}</i>, which is a bad practice'
105
105
  expectation_solution: solution
106
- expectation_TypesAs: '%{binding} %{must} type'
106
+ expectation_SourceContains_named: 'solution %{must} use %{target}'
107
+ expectation_SourceEquals_named: 'solution %{must} be equal to %{target}'
108
+ expectation_SourceEqualsIgnoreSpaces_named: 'solution %{must} be equal to %{target}'
109
+ expectation_SourceRepeats_named: 'solution %{must} use %{target} more than one time'
107
110
  expectation_TypesAs_named: '%{binding} %{must} type as %{target}'
108
- expectation_Uses: '%{binding} %{must} delegate'
111
+ expectation_TypesAs: '%{binding} %{must} type'
109
112
  expectation_Uses_except: '%{binding} %{must} delegate to something distinct from %{target}'
110
113
  expectation_Uses_like: '%{binding} %{must} delegate to something similar to %{target}'
111
114
  expectation_Uses_named: '%{binding} %{must} use %{target}'
115
+ expectation_Uses: '%{binding} %{must} delegate'
112
116
  expectation_UsesAnonymousVariable: '%{binding} %{must} use an annonymous variable'
113
117
  expectation_UsesComposition: '%{binding} %{must} use composition'
114
118
  expectation_UsesComprehension: '%{binding} %{must} use comprehensions'
data/lib/locales/es.yml CHANGED
@@ -1,29 +1,29 @@
1
1
  ---
2
2
  es:
3
- expectation_Assigns: '%{binding} %{must} realizar asignaciones'
4
3
  expectation_Assigns_except: '%{binding} %{must} asignar a algo diferente a %{target}'
5
4
  expectation_Assigns_like: '%{binding} %{must} asignar algo parecido a %{target}'
6
5
  expectation_Assigns_named: '%{binding} %{must} asignar %{target}'
7
- expectation_Calls: '%{binding} %{must} delegar'
6
+ expectation_Assigns: '%{binding} %{must} realizar asignaciones'
8
7
  expectation_Calls_except: '%{binding} %{must} delegar en algo diferente a %{target}'
9
8
  expectation_Calls_like: '%{binding} %{must} delegar en algo parecido a %{target}'
10
9
  expectation_Calls_named: '%{binding} %{must} utilizar %{target}'
11
- expectation_Declares: '%{binding} %{must} contener declaraciones'
10
+ expectation_Calls: '%{binding} %{must} delegar'
12
11
  expectation_Declares_except: '%{binding} %{must} contener declaraciones distintas a %{target}'
13
12
  expectation_Declares_like: '%{binding} %{must} declarar un identificador parecido a %{target}'
14
13
  expectation_Declares_named: '%{binding} %{must} declarar %{target}'
15
- expectation_DeclaresAttribute: '%{binding} %{must} declarar atributos'
14
+ expectation_Declares: '%{binding} %{must} contener declaraciones'
16
15
  expectation_DeclaresAttribute_except: '%{binding} %{must} declarar atributos diferentes a %{target}'
17
16
  expectation_DeclaresAttribute_like: '%{binding} %{must} declarar un atributo parecido a %{target}'
18
17
  expectation_DeclaresAttribute_named: '%{binding} %{must} declarar un atributo %{target}'
19
- expectation_DeclaresClass: '%{binding} %{must} declarar clases'
18
+ expectation_DeclaresAttribute: '%{binding} %{must} declarar atributos'
20
19
  expectation_DeclaresClass_except: '%{binding} %{must} declarar clases diferentes a %{target}'
21
20
  expectation_DeclaresClass_like: '%{binding} %{must} declarar una clase parecida a %{target}'
22
21
  expectation_DeclaresClass_named: '%{binding} %{must} declarar una clase %{target}'
23
- expectation_DeclaresComputation: '%{binding} %{must} declarar computaciones'
22
+ expectation_DeclaresClass: '%{binding} %{must} declarar clases'
24
23
  expectation_DeclaresComputation_except: '%{binding} %{must} declarar computaciones diferentes a %{target}'
25
24
  expectation_DeclaresComputation_like: '%{binding} %{must} declarar una computación parecida a %{target}'
26
25
  expectation_DeclaresComputation_named: '%{binding} %{must} declarar una computación %{target}'
26
+ expectation_DeclaresComputation: '%{binding} %{must} declarar computaciones'
27
27
  expectation_DeclaresComputationWithArity0_named: '%{target} %{must} declarar cero parametros'
28
28
  expectation_DeclaresComputationWithArity1_named: '%{target} %{must} tener un parámetro'
29
29
  expectation_DeclaresComputationWithArity2_named: '%{target} %{must} tener dos parámetros'
@@ -31,67 +31,67 @@ es:
31
31
  expectation_DeclaresComputationWithArity4_named: '%{target} %{must} tener cuatro parámetros'
32
32
  expectation_DeclaresComputationWithArity5_named: '%{target} %{must} tener cinco parámetros'
33
33
  expectation_DeclaresEntryPoint: '%{binding} %{must} declarar un punto de entrada'
34
- expectation_DeclaresEnumeration: '%{binding} %{must} declarar enumeraciones'
35
34
  expectation_DeclaresEnumeration_except: '%{binding} %{must} declarar enumeraciones que no se llamen %{target}'
36
35
  expectation_DeclaresEnumeration_like: '%{binding} %{must} declarar una enumeracion de nombre parecido a %{target}'
37
36
  expectation_DeclaresEnumeration_named: '%{binding} %{must} declarar una enumeracion %{target}'
38
- expectation_DeclaresFact: '%{binding} %{must} declarar hechos'
37
+ expectation_DeclaresEnumeration: '%{binding} %{must} declarar enumeraciones'
39
38
  expectation_DeclaresFact_except: '%{binding} %{must} declarar hechos diferentes a %{target}'
40
39
  expectation_DeclaresFact_like: '%{binding} %{must} declarar un hecho parecido a %{target}'
41
40
  expectation_DeclaresFact_named: '%{binding} %{must} declarar un hecho %{target}'
42
- expectation_DeclaresFunction: '%{binding} %{must} debe declarar funciones'
41
+ expectation_DeclaresFact: '%{binding} %{must} declarar hechos'
43
42
  expectation_DeclaresFunction_except: '%{binding} %{must} declarar funciones diferentes a %{target}'
44
43
  expectation_DeclaresFunction_like: '%{binding} %{must} declarar una función parecida a %{target}'
45
44
  expectation_DeclaresFunction_named: '%{binding} %{must} declarar una función %{target}'
46
- expectation_DeclaresInterface: '%{binding} %{must} declarar interfaces'
45
+ expectation_DeclaresFunction: '%{binding} %{must} debe declarar funciones'
47
46
  expectation_DeclaresInterface_except: '%{binding} %{must} declarar interfaces que no se llamen %{target}'
48
47
  expectation_DeclaresInterface_like: '%{binding} %{must} declarar una interfaz de nombre parecido a %{target}'
49
48
  expectation_DeclaresInterface_named: '%{binding} %{must} declarar una interfaz %{target}'
50
- expectation_DeclaresMethod: '%{binding} %{must} declarar métodos'
49
+ expectation_DeclaresInterface: '%{binding} %{must} declarar interfaces'
51
50
  expectation_DeclaresMethod_except: '%{binding} %{must} declarar métodos diferentes a %{target}'
52
51
  expectation_DeclaresMethod_like: '%{binding} %{must} declarar un método parecido a %{target}'
53
52
  expectation_DeclaresMethod_named: '%{binding} %{must} declarar un método %{target}'
54
- expectation_DeclaresObject: '%{binding} %{must} declarar objetos'
53
+ expectation_DeclaresMethod: '%{binding} %{must} declarar métodos'
55
54
  expectation_DeclaresObject_except: '%{binding} %{must} declarar objetos diferentes a %{target}'
56
55
  expectation_DeclaresObject_like: '%{binding} %{must} declarar un objeto parecido a%{target}'
57
56
  expectation_DeclaresObject_named: '%{binding} %{must} declarar un objeto %{target}'
58
- expectation_DeclaresPredicate: '%{binding} %{must} declarar predicados'
57
+ expectation_DeclaresObject: '%{binding} %{must} declarar objetos'
59
58
  expectation_DeclaresPredicate_except: '%{binding} %{must} declarar predicados diferentes a %{target}'
60
59
  expectation_DeclaresPredicate_like: '%{binding} %{must} declarar un predicados parecido a %{target}'
61
60
  expectation_DeclaresPredicate_named: '%{binding} %{must} declarar un predicados %{target}'
62
- expectation_DeclaresProcedure: '%{binding} %{must} declarar procedimientos'
61
+ expectation_DeclaresPredicate: '%{binding} %{must} declarar predicados'
63
62
  expectation_DeclaresProcedure_except: '%{binding} %{must} declarar procedimientos diferentes a %{target}'
64
63
  expectation_DeclaresProcedure_like: '%{binding} %{must} declarar un procedimiento parecido a %{target}'
65
64
  expectation_DeclaresProcedure_named: '%{binding} %{must} declarar un procedimiento %{target}'
65
+ expectation_DeclaresProcedure: '%{binding} %{must} declarar procedimientos'
66
66
  expectation_DeclaresRecursively_named: '%{target} %{must} estar declarado recursivamente'
67
- expectation_DeclaresRule: '%{binding} %{must} debe declarar reglas'
68
67
  expectation_DeclaresRule_except: '%{binding} %{must} declarar reglas diferentes a %{target}'
69
68
  expectation_DeclaresRule_like: '%{binding} %{must} declarar una regla parecida a %{target}'
70
69
  expectation_DeclaresRule_named: '%{binding} %{must} declarar una regla %{target}'
71
- expectation_DeclaresStyle: '%{binding} %{must} declarar un estilo'
70
+ expectation_DeclaresRule: '%{binding} %{must} debe declarar reglas'
72
71
  expectation_DeclaresStyle_except: '%{binding} %{must} declarar un estilo diferente a %{target}'
73
72
  expectation_DeclaresStyle_like: '%{binding} %{must} declarar un estilo parecido a %{target}'
74
73
  expectation_DeclaresStyle_named: '%{binding} %{must} declarar un estilo %{target}'
75
- expectation_DeclaresSuperclass: '%{binding} %{must} declarar una superclase'
74
+ expectation_DeclaresStyle: '%{binding} %{must} declarar un estilo'
76
75
  expectation_DeclaresSuperclass_except: '%{binding} %{must} declarar una superclase distinta de %{target}'
77
76
  expectation_DeclaresSuperclass_like: '%{binding} %{must} declarar una superclase parecida a %{target}'
78
77
  expectation_DeclaresSuperclass_named: '%{binding} %{must} declarar una superclase %{target}'
79
- expectation_DeclaresTag: '%{binding} %{must} declarar un elemento'
78
+ expectation_DeclaresSuperclass: '%{binding} %{must} declarar una superclase'
80
79
  expectation_DeclaresTag_except: '%{binding} %{must} declarar un elemento diferente a %{target}'
81
80
  expectation_DeclaresTag_like: '%{binding} %{must} declarar un elemento parecido a %{target}'
82
81
  expectation_DeclaresTag_named: '%{binding} %{must} declarar un elemento %{target}'
83
- expectation_DeclaresTypeAlias: '%{binding} %{must} declarar sinónimos de tipo'
82
+ expectation_DeclaresTag: '%{binding} %{must} declarar un elemento'
84
83
  expectation_DeclaresTypeAlias_except: '%{binding} %{must} declarar sinónimos de tipo diferentes a %{target}'
85
84
  expectation_DeclaresTypeAlias_like: '%{binding} %{must} declarar un sinónimo de tipo parecido a %{target}'
86
85
  expectation_DeclaresTypeAlias_named: '%{binding} %{must} declarar un sinónimo de tipo %{target}'
87
- expectation_DeclaresTypeSignature: '%{binding} %{must} declarar firmas de tipos'
86
+ expectation_DeclaresTypeAlias: '%{binding} %{must} declarar sinónimos de tipo'
88
87
  expectation_DeclaresTypeSignature_except: '%{binding} %{must} declarar firmas de tipos diferentes a %{target}'
89
88
  expectation_DeclaresTypeSignature_like: '%{binding} %{must} declarar una firma para algo parecido %{target}'
90
89
  expectation_DeclaresTypeSignature_named: '%{binding} %{must} declarar una firma %{target}'
91
- expectation_DeclaresVariable: '%{binding} %{must} debe declarar variables'
90
+ expectation_DeclaresTypeSignature: '%{binding} %{must} declarar firmas de tipos'
92
91
  expectation_DeclaresVariable_except: '%{binding} %{must} declarar variables diferentes a %{target}'
93
92
  expectation_DeclaresVariable_like: '%{binding} %{must} declarar una variable parecida a %{target}'
94
93
  expectation_DeclaresVariable_named: '%{binding} %{must} declarar una variable %{target}'
94
+ expectation_DeclaresVariable: '%{binding} %{must} debe declarar variables'
95
95
  expectation_DiscardsExceptions: '%{binding} está ignorando exceptiones silenciosamiente.'
96
96
  expectation_DoesConsolePrint: '%{binding} está realizando impresiones por pantalla.'
97
97
  expectation_DoesNilTest: '%{binding} hace comparaciones contra <i>%{keyword_null}</i>'
@@ -114,38 +114,42 @@ es:
114
114
  expectation_HasUnreachableCode: '%{binding} tiene código inalcanzable.'
115
115
  expectation_HasWrongCaseBindings: '%{binding} no respeta la convención de nombres'
116
116
  expectation_HasWrongCaseIdentifiers: '%{binding} no respeta la convención de nombres'
117
- expectation_Implements: '%{binding} %{must} implementar intefaces'
118
117
  expectation_Implements_except: '%{binding} %{must} implementar interfaces distintas de %{target}'
119
118
  expectation_Implements_like: '%{binding} %{must} implementar insterfaces parecidas a %{target}'
120
119
  expectation_Implements_named: '%{binding} %{must} implementar %{target}'
121
- expectation_Inherits: '%{binding} %{must} declarar una superclase'
120
+ expectation_Implements: '%{binding} %{must} implementar intefaces'
122
121
  expectation_Inherits_except: '%{binding} %{must} declarar una superclase distinta de %{target}'
123
122
  expectation_Inherits_like: '%{binding} %{must} declarar una superclase parecida a %{target}'
124
123
  expectation_Inherits_named: '%{binding} %{must} declarar una superclase %{target}'
125
- expectation_Instantiates: '%{binding} %{must} instanciar objetos'
124
+ expectation_Inherits: '%{binding} %{must} declarar una superclase'
126
125
  expectation_Instantiates_except: '%{binding} %{must} instanciar clases distintas de %{target}'
127
126
  expectation_Instantiates_like: '%{binding} %{must} instanciar clases parecidas a %{target}'
128
127
  expectation_Instantiates_named: '%{binding} %{must} instanciar %{target}'
128
+ expectation_Instantiates: '%{binding} %{must} instanciar objetos'
129
129
  expectation_IsLongCode: '%{binding} es muy largo. Tratá de delegar más'
130
- expectation_must: debe
131
130
  expectation_must_not: no debe
132
- expectation_Raises: '%{binding} %{must} lanzar exceptiones'
131
+ expectation_must: debe
133
132
  expectation_Raises_except: '%{binding} %{must} lanzar excepciones diferentes a %{target}'
134
133
  expectation_Raises_like: '%{binding} %{must} lanzar excepciones parecidas a %{target}'
135
134
  expectation_Raises_named: '%{binding} %{must} lanzar %{target}'
136
- expectation_Rescues: '%{binding} %{must} capturar exceptiones'
135
+ expectation_Raises: '%{binding} %{must} lanzar exceptiones'
137
136
  expectation_Rescues_except: '%{binding} %{must} capturar excepciones diferentes a %{target}'
138
137
  expectation_Rescues_like: '%{binding} %{must} capturar excepciones parecidas a %{target}'
139
138
  expectation_Rescues_named: '%{binding} %{must} capturar %{target}'
139
+ expectation_Rescues: '%{binding} %{must} capturar exceptiones'
140
140
  expectation_ReturnsNil: '%{binding} retorna null, lo cual es una mala práctica'
141
141
  expectation_ReturnsNull: '%{binding} retorna null, lo cual es una mala práctica'
142
142
  expectation_solution: la solución
143
- expectation_TypesAs: '%{binding} %{must} tipar'
143
+ expectation_SourceContains_named: 'la solución %{must} usar %{target}'
144
+ expectation_SourceEquals_named: 'la solución %{must} ser igual a %{target}'
145
+ expectation_SourceEqualsIgnoreSpaces_named: 'la solución %{must} ser igual a %{target}'
146
+ expectation_SourceRepeats_named: 'la solución %{must} usar %{target} más de una vez'
144
147
  expectation_TypesAs_named: '%{binding} %{must} ser de tipo %{target}'
145
- expectation_Uses: '%{binding} %{must} delegar'
148
+ expectation_TypesAs: '%{binding} %{must} tipar'
146
149
  expectation_Uses_except: '%{binding} %{must} delegar en algo diferente a %{target}'
147
150
  expectation_Uses_like: '%{binding} %{must} delegar en algo parecido a %{target}'
148
151
  expectation_Uses_named: '%{binding} %{must} utilizar %{target}'
152
+ expectation_Uses: '%{binding} %{must} delegar'
149
153
  expectation_UsesAnonymousVariable: '%{binding} %{must} utilizar una variable anónima'
150
154
  expectation_UsesComposition: '%{binding} %{must} usar composición'
151
155
  expectation_UsesComprehension: '%{binding} %{must} emplear listas por comprensión'
data/lib/locales/pt.yml CHANGED
@@ -1,30 +1,29 @@
1
1
  ---
2
2
  pt:
3
- expectation_Assigns: '%{binding} %{must} fazer atribuições'
4
3
  expectation_Assigns_except: '%{binding} %{must} atribuir algo diferente a %{target}'
5
4
  expectation_Assigns_like: '%{binding} %{must} atribuir algo semelhante ao %{target}'
6
5
  expectation_Assigns_named: '%{binding} %{must} atribuir %{target}'
7
- expectation_Calls: '%{binding} %{must} delegate'
6
+ expectation_Assigns: '%{binding} %{must} fazer atribuições'
8
7
  expectation_Calls_except: '%{binding} %{must} delegar algo diferente para %{target}'
9
8
  expectation_Calls_like: '%{binding} %{must} delegar algo semelhante ao %{target}'
10
9
  expectation_Calls_named: '%{binding} %{must} usar %{target}'
11
- expectation_Declares: '%{binding} %{must} contém declarações'
10
+ expectation_Calls: '%{binding} %{must} delegate'
12
11
  expectation_Declares_except: '%{binding} %{must} contém instruções diferentes de %{target}'
13
12
  expectation_Declares_like: '%{binding} %{must} declarar um identificador semelhante a %{target}'
14
13
  expectation_Declares_named: '%{binding} %{must} declarar %{target}'
15
- expectation_DeclaresAttribute: '%{binding} %{must} declarar atributos'
14
+ expectation_Declares: '%{binding} %{must} contém declarações'
16
15
  expectation_DeclaresAttribute_except: '%{binding} %{must} declarar atributos diferentes de %{target}'
17
16
  expectation_DeclaresAttribute_like: '%{binding} %{must} declarar um atributo semelhante a %{target}'
18
17
  expectation_DeclaresAttribute_named: '%{binding} %{must} declarar um atributo %{target}'
19
- expectation_DeclaresClass: '%{binding} %{must} declarar classes'
18
+ expectation_DeclaresAttribute: '%{binding} %{must} declarar atributos'
20
19
  expectation_DeclaresClass_except: '%{binding} %{must} declarar classes diferentes para %{target}'
21
20
  expectation_DeclaresClass_like: '%{binding} %{must} declarar uma classe semelhante a %{target}'
22
21
  expectation_DeclaresClass_named: '%{binding} %{must} declarar uma classe %{target}'
23
- expectation_DeclaresComputation: '%{binding} %{must} declarar cálculos'
22
+ expectation_DeclaresClass: '%{binding} %{must} declarar classes'
24
23
  expectation_DeclaresComputation_except: '%{binding} %{must} declarar cálculos diferentes de %{target}'
25
24
  expectation_DeclaresComputation_like: '%{binding} %{must} declarar uma computação semelhante a %{target}'
26
25
  expectation_DeclaresComputation_named: '%{binding} %{must} declarar uma computação %{target}'
27
- expectation_HasEmptyIfBranches: '%{binding} tem vazio <i>%{keyword_if}</i> ramos'
26
+ expectation_DeclaresComputation: '%{binding} %{must} declarar cálculos'
28
27
  expectation_DeclaresComputationWithArity0_named: '%{target} %{must} declarar parâmetros zero'
29
28
  expectation_DeclaresComputationWithArity1_named: '%{target} %{must} tem um parâmetro'
30
29
  expectation_DeclaresComputationWithArity2_named: '%{target} %{must} tem dois parâmetros'
@@ -32,67 +31,67 @@ pt:
32
31
  expectation_DeclaresComputationWithArity4_named: '%{target} %{must} tem quatro parâmetros'
33
32
  expectation_DeclaresComputationWithArity5_named: '%{target} %{must} tem cinco parâmetros'
34
33
  expectation_DeclaresEntryPoint: '%{binding} %{must} declarar um ponto de entrada'
35
- expectation_DeclaresEnumeration: '%{binding} %{must} declarar enumerações'
36
34
  expectation_DeclaresEnumeration_except: '%{binding} %{must} declarar enumerações que não são chamadas %{target}'
37
35
  expectation_DeclaresEnumeration_like: '%{binding} %{must} declarar uma enumeração de nome semelhante a %{target}'
38
36
  expectation_DeclaresEnumeration_named: '%{binding} %{must} declarar uma enumeração %{target}'
39
- expectation_DeclaresFact: '%{binding} %{must} declarar fatos'
37
+ expectation_DeclaresEnumeration: '%{binding} %{must} declarar enumerações'
40
38
  expectation_DeclaresFact_except: '%{binding} %{must} declarar fatos diferentes de %{target}'
41
39
  expectation_DeclaresFact_like: '%{binding} %{must} declarar um fato semelhante a %{target}'
42
40
  expectation_DeclaresFact_named: '%{binding} %{must} declarar um fato %{target}'
43
- expectation_DeclaresFunction: '%{binding} %{must} deve declarar funções'
41
+ expectation_DeclaresFact: '%{binding} %{must} declarar fatos'
44
42
  expectation_DeclaresFunction_except: '%{binding} %{must} declarar funções diferentes de %{target}'
45
43
  expectation_DeclaresFunction_like: '%{binding} %{must} declarar uma função semelhante a %{target}'
46
44
  expectation_DeclaresFunction_named: '%{binding} %{must} declarar uma função %{target}'
47
- expectation_DeclaresInterface: '%{binding} %{must} declarar interfaces'
45
+ expectation_DeclaresFunction: '%{binding} %{must} deve declarar funções'
48
46
  expectation_DeclaresInterface_except: '%{binding} %{must} declarar interfaces que não são chamadas %{target}'
49
47
  expectation_DeclaresInterface_like: '%{binding} %{must} declarar uma interface de nome semelhante a %{target}'
50
48
  expectation_DeclaresInterface_named: '%{binding} %{must} declarar uma interface %{target}'
51
- expectation_DeclaresMethod: '%{binding} %{must} declarar métodos'
49
+ expectation_DeclaresInterface: '%{binding} %{must} declarar interfaces'
52
50
  expectation_DeclaresMethod_except: '%{binding} %{must} declarar métodos diferentes de %{target}'
53
51
  expectation_DeclaresMethod_like: '%{binding} %{must} declarar um método semelhante a %{target}'
54
52
  expectation_DeclaresMethod_named: '%{binding} %{must} declarar um método %{target}'
55
- expectation_DeclaresObject: '%{binding} %{must} declarar objetos'
53
+ expectation_DeclaresMethod: '%{binding} %{must} declarar métodos'
56
54
  expectation_DeclaresObject_except: '%{binding} %{must} declarar objetos diferentes de %{target}'
57
55
  expectation_DeclaresObject_like: '%{binding} %{must} declarar um objeto semelhante a %{target}'
58
56
  expectation_DeclaresObject_named: '%{binding} %{must} declarar um objeto %{target}'
59
- expectation_DeclaresPredicate: '%{binding} %{must} declarar predicados'
57
+ expectation_DeclaresObject: '%{binding} %{must} declarar objetos'
60
58
  expectation_DeclaresPredicate_except: '%{binding} %{must} declarar predicados diferentes para %{target}'
61
59
  expectation_DeclaresPredicate_like: '%{binding} %{must} declarar um predicado semelhante ao %{target}'
62
60
  expectation_DeclaresPredicate_named: '%{binding} %{must} declarar um predicado %{target}'
63
- expectation_DeclaresProcedure: '%{binding} %{must} declarar procedimentos'
61
+ expectation_DeclaresPredicate: '%{binding} %{must} declarar predicados'
64
62
  expectation_DeclaresProcedure_except: '%{binding} %{must} declarar procedimentos diferentes de %{target}'
65
63
  expectation_DeclaresProcedure_like: '%{binding} %{must} declarar um procedimento semelhante a %{target}'
66
64
  expectation_DeclaresProcedure_named: '%{binding} %{must} declarar um procedimento %{target}'
65
+ expectation_DeclaresProcedure: '%{binding} %{must} declarar procedimentos'
67
66
  expectation_DeclaresRecursively_named: '%{target} %{must} deve ser declarado recursivamente'
68
- expectation_DeclaresRule: '%{binding} %{must} deve declarar regras'
69
67
  expectation_DeclaresRule_except: '%{binding} %{must} declarar regras diferentes de %{target}'
70
68
  expectation_DeclaresRule_like: '%{binding} %{must} declarar uma regra semelhante a %{target}'
71
69
  expectation_DeclaresRule_named: '%{binding} %{must} declarar uma regra %{target}'
72
- expectation_DeclaresStyle: '%{binding} %{must} declarar um estilo'
70
+ expectation_DeclaresRule: '%{binding} %{must} deve declarar regras'
73
71
  expectation_DeclaresStyle_except: '%{binding} %{must} declarar um estilo diferentes de %{target}'
74
72
  expectation_DeclaresStyle_like: '%{binding} %{must} declarar um estilo semelhante a %{target}'
75
73
  expectation_DeclaresStyle_named: '%{binding} %{must} declarar um estilo %{target}'
76
- expectation_DeclaresSuperclass: '%{binding} %{must} declarar uma superclasse'
74
+ expectation_DeclaresStyle: '%{binding} %{must} declarar um estilo'
77
75
  expectation_DeclaresSuperclass_except: '%{binding} %{must} declarar uma superclasse diferente de %{target}'
78
76
  expectation_DeclaresSuperclass_like: '%{binding} %{must} declarar uma superclasse semelhante a %{target}'
79
77
  expectation_DeclaresSuperclass_named: '%{binding} %{must} declarar uma superclasse %{target}'
80
- expectation_DeclaresTag: '%{binding} %{must} declarar uma etiqueta'
78
+ expectation_DeclaresSuperclass: '%{binding} %{must} declarar uma superclasse'
81
79
  expectation_DeclaresTag_except: '%{binding} %{must} declarar uma etiqueta diferente de %{target}'
82
80
  expectation_DeclaresTag_like: '%{binding} %{must} declarar uma etiqueta similar a %{target}'
83
81
  expectation_DeclaresTag_named: '%{binding} %{must} declarar uma etiqueta %{target}'
84
- expectation_DeclaresTypeAlias: '%{binding} %{must} declarar o tipo de sinônimos'
82
+ expectation_DeclaresTag: '%{binding} %{must} declarar uma etiqueta'
85
83
  expectation_DeclaresTypeAlias_except: '%{binding} %{must} declarar sinônimos de tipo diferente de %{target}'
86
84
  expectation_DeclaresTypeAlias_like: '%{binding} %{must} declarar um sinônimo de tipo similar a %{target}'
87
85
  expectation_DeclaresTypeAlias_named: '%{binding} %{must} declarar um sinônimo do tipo %{target}'
88
- expectation_DeclaresTypeSignature: '%{binding} %{must} excluir assinaturas de tipo'
86
+ expectation_DeclaresTypeAlias: '%{binding} %{must} declarar o tipo de sinônimos'
89
87
  expectation_DeclaresTypeSignature_except: '%{binding} %{must} declarar assinaturas de tipos diferentes de %{target}'
90
88
  expectation_DeclaresTypeSignature_like: '%{binding} %{must} declarar uma assinatura para algo semelhante %{target}'
91
89
  expectation_DeclaresTypeSignature_named: '%{binding} %{must} declarar uma assinatura %{target}'
92
- expectation_DeclaresVariable: '%{binding} %{must} deve declarar variáveis'
90
+ expectation_DeclaresTypeSignature: '%{binding} %{must} excluir assinaturas de tipo'
93
91
  expectation_DeclaresVariable_except: '%{binding} %{must} declarar variáveis ​​diferentes de %{target}'
94
92
  expectation_DeclaresVariable_like: '%{binding} %{must} declarar uma variável semelhante a %{target}'
95
93
  expectation_DeclaresVariable_named: '%{binding} %{must} declarar uma variável %{target}'
94
+ expectation_DeclaresVariable: '%{binding} %{must} deve declarar variáveis'
96
95
  expectation_DiscardsExceptions: '%{binding} está silenciosamente ignorando exceções.'
97
96
  expectation_DoesConsolePrint: '%{binding} está fazendo impressões na tela.'
98
97
  expectation_DoesNilTest: '%{binding} faz comparações contra <i>%{keyword_null}</i>'
@@ -100,6 +99,7 @@ pt:
100
99
  expectation_DoesTypeTest: '%{binding} faz comparações contra strings'
101
100
  expectation_HasAssignmentReturn: '%{binding} retorna o resultado de uma tarefa'
102
101
  expectation_HasCodeDuplication: '%{binding} tem código repetido'
102
+ expectation_HasEmptyIfBranches: '%{binding} tem vazio <i>%{keyword_if}</i> ramos'
103
103
  expectation_HasMisspelledBindings: '%{binding} está incorreto. Verifique a ortografia e tente não usar abreviaturas'
104
104
  expectation_HasMisspelledIdentifiers: '%{binding} está incorreto. Verifique a ortografia e tente não usar abreviaturas'
105
105
  expectation_HasRedundantBooleanComparison: '%{binding} faz comparações booleanas desnecessárias'
@@ -115,38 +115,42 @@ pt:
115
115
  expectation_HasUnreachableCode: '%{binding} tem código inacessível.'
116
116
  expectation_HasWrongCaseBindings: '%{binding} não respeita a convenção de nomenclatura'
117
117
  expectation_HasWrongCaseIdentifiers: '%{binding} não respeita a convenção de nomenclatura'
118
- expectation_Implements: '%{binding} %{must} implementar interfaces'
119
118
  expectation_Implements_except: '%{binding} %{must} implementar interfaces diferentes de %{target}'
120
119
  expectation_Implements_like: '%{binding} %{must} implementar interfaces semelhantes a %{target}'
121
120
  expectation_Implements_named: '%{binding} %{must} implementar %{target}'
122
- expectation_Inherits: '%{binding} %{must} declarar uma superclasse'
121
+ expectation_Implements: '%{binding} %{must} implementar interfaces'
123
122
  expectation_Inherits_except: '%{binding} %{must} declarar uma superclasse diferente de %{target}'
124
123
  expectation_Inherits_like: '%{binding} %{must} declarar uma superclasse semelhante a %{target}'
125
124
  expectation_Inherits_named: '%{binding} %{must} declarar uma superclasse %{target}'
126
- expectation_Instantiates: '%{binding} %{must} instanciar objetos'
125
+ expectation_Inherits: '%{binding} %{must} declarar uma superclasse'
127
126
  expectation_Instantiates_except: '%{binding} %{must} instanciar classes diferentes de %{target}'
128
127
  expectation_Instantiates_like: '%{binding} %{must} instanciar classes semelhantes a %{target}'
129
128
  expectation_Instantiates_named: '%{binding} %{must} instantiate %{target}'
129
+ expectation_Instantiates: '%{binding} %{must} instanciar objetos'
130
130
  expectation_IsLongCode: '%{binding} é muito longo. Tente delegar mais'
131
- expectation_must: 'deve'
132
131
  expectation_must_not: 'não deve'
133
- expectation_Raises: '%{binding} %{must} lançar exceções'
132
+ expectation_must: 'deve'
134
133
  expectation_Raises_except: '%{binding} %{must} lançar exceções diferentes de %{target}'
135
134
  expectation_Raises_like: '%{binding} %{must} lançar exceções semelhantes a %{target}'
136
135
  expectation_Raises_named: '%{binding} %{must} launch %{target}'
137
- expectation_Rescues: '%{binding} %{must} capturar exceções'
136
+ expectation_Raises: '%{binding} %{must} lançar exceções'
138
137
  expectation_Rescues_except: '%{binding} %{must} capturar exceções que não sejam %{target}'
139
138
  expectation_Rescues_like: '%{binding} %{must} capturar exceções semelhantes a %{target}'
140
139
  expectation_Rescues_named: '%{binding} %{must} capture %{target}'
140
+ expectation_Rescues: '%{binding} %{must} capturar exceções'
141
141
  expectation_ReturnsNil: '%{binding} retorna nulo, o que é uma prática ruim'
142
142
  expectation_ReturnsNull: '%{binding} retorna nulo, o que é uma prática ruim'
143
143
  expectation_solution: 'a solução'
144
- expectation_TypesAs: '%{binding} %{must} tem tipo'
144
+ expectation_SourceContains_named: 'a solução %{must} usar %{target}'
145
+ expectation_SourceEquals_named: 'a solução %{must} ser igual a %{target}'
146
+ expectation_SourceEqualsIgnoreSpaces_named: 'a solução %{must} ser igual a %{target}'
147
+ expectation_SourceRepeats_named: 'a solução %{must} usar %{target} mais de uma vez'
145
148
  expectation_TypesAs_named: '%{binding} %{must} é do tipo %{target}'
146
- expectation_Uses: '%{binding} %{must} delegate'
149
+ expectation_TypesAs: '%{binding} %{must} tem tipo'
147
150
  expectation_Uses_except: '%{binding} %{must} delegar algo diferente para %{target}'
148
151
  expectation_Uses_like: '%{binding} %{must} delegar algo semelhante ao %{target}'
149
152
  expectation_Uses_named: '%{binding} %{must} usar %{target}'
153
+ expectation_Uses: '%{binding} %{must} delegar'
150
154
  expectation_UsesAnonymousVariable: '%{binding} %{must} usar uma variável anônima'
151
155
  expectation_UsesComposition: '%{binding} %{must} usar a composição'
152
156
  expectation_UsesComprehension: '%{binding} %{must} usar listas pelo entendimento'
@@ -170,4 +174,3 @@ pt:
170
174
  expectation_UsesSwitch: '%{binding} %{must} usar um <i>%{keyword_switch}</i>'
171
175
  expectation_UsesUnificationOperator: '%{binding} usa o operador de unificação (=)'
172
176
  expectation_UsesWhile: '%{binding} %{must} usar um <i>%{keyword_while}</i>'
173
-
@@ -1,5 +1,5 @@
1
1
  module Mumukit
2
2
  class Inspection
3
- VERSION = '3.3.0'
3
+ VERSION = '3.4.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: 3.3.0
4
+ version: 3.4.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: 2018-07-24 00:00:00.000000000 Z
11
+ date: 2018-09-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mumukit-core