mumukit-inspection 3.4.0 → 3.5.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 +31 -0
- data/lib/locales/es.yml +8 -0
- data/lib/locales/pt.yml +8 -0
- data/lib/mumukit/inspection/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4e56b6c27a2ac034eeed67b34f548a465278aaae2488db0e8e14d284758887b0
|
|
4
|
+
data.tar.gz: abe8634737a709b436772fca52bbbe851b59fa7d647b268890df52362ba68bf6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6bfbffbd0b33d999d4e5b47dff9398f7fcae7437f7742f1d9eed4f2cc73d63a9ec2dbf89cc2a5eb77a40cc341b018d2b11a0f65b7681575981191db5a6dea330
|
|
7
|
+
data.tar.gz: b516dfd118e8e1a336e5b3825de37b72f210f0848d397fa5eb40288e1e1c04f4fbe02f58945dcfd86f2e5034e1b9b4eb3a8d17e611a42096f0f0a38b52d793f3
|
data/lib/locales/en.yml
CHANGED
|
@@ -31,6 +31,10 @@ 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_DeclaresEnumeration_except: '%{binding} %{must} declare enumerations distinct from %{target}'
|
|
35
|
+
expectation_DeclaresEnumeration_like: '%{binding} %{must} declare an enumeration like %{target}'
|
|
36
|
+
expectation_DeclaresEnumeration_named: '%{binding} %{must} declare an enumeration %{target}'
|
|
37
|
+
expectation_DeclaresEnumeration: '%{binding} %{must} declare enumerations'
|
|
34
38
|
expectation_DeclaresFact_except: '%{binding} %{must} declare facts distinct from %{target}'
|
|
35
39
|
expectation_DeclaresFact_like: '%{binding} %{must} declare a fact similar to %{target}'
|
|
36
40
|
expectation_DeclaresFact_named: '%{binding} %{must} declare a fact %{target}'
|
|
@@ -39,6 +43,10 @@ en:
|
|
|
39
43
|
expectation_DeclaresFunction_like: '%{binding} %{must} declare a function similar to %{target}'
|
|
40
44
|
expectation_DeclaresFunction_named: '%{binding} %{must} declare a function %{target}'
|
|
41
45
|
expectation_DeclaresFunction: '%{binding} %{must} debe declare functions'
|
|
46
|
+
expectation_DeclaresInterface_except: '%{binding} %{must} declare interfaces distinct from %{target}'
|
|
47
|
+
expectation_DeclaresInterface_like: '%{binding} %{must} declare an interface like %{target}'
|
|
48
|
+
expectation_DeclaresInterface_named: '%{binding} %{must} declare an interface %{target}'
|
|
49
|
+
expectation_DeclaresInterface: '%{binding} %{must} declare interfaces'
|
|
42
50
|
expectation_DeclaresMethod_except: '%{binding} %{must} declare methods distinct from %{target}'
|
|
43
51
|
expectation_DeclaresMethod_like: '%{binding} %{must} declare a method similar to %{target}'
|
|
44
52
|
expectation_DeclaresMethod_named: '%{binding} %{must} declare a method %{target}'
|
|
@@ -80,6 +88,8 @@ en:
|
|
|
80
88
|
expectation_DeclaresVariable_like: '%{binding} %{must} declare a variable similar to %{target}'
|
|
81
89
|
expectation_DeclaresVariable_named: '%{binding} %{must} declare a variable %{target}'
|
|
82
90
|
expectation_DeclaresVariable: '%{binding} %{must} debe declare variables'
|
|
91
|
+
expectation_DiscardsExceptions: '%{binding} is ignoring exceptions silently'
|
|
92
|
+
expectation_DoesConsolePrint: '%{binding} is printing to the console'
|
|
83
93
|
expectation_DoesNilTest: '%{binding} does <i>%{keyword_null}</i> tests'
|
|
84
94
|
expectation_DoesNullTest: '%{binding} does <i>%{keyword_null}</i> tests'
|
|
85
95
|
expectation_DoesTypeTest: '%{binding} string type tests'
|
|
@@ -87,6 +97,7 @@ en:
|
|
|
87
97
|
expectation_HasCodeDuplication: '%{binding} has code duplication'
|
|
88
98
|
expectation_HasEmptyIfBranches: '%{binding} has empty <i>%{keyword_if}</i> branches'
|
|
89
99
|
expectation_HasMisspelledBindings: '%{binding} is misspelled'
|
|
100
|
+
expectation_HasMisspelledIdentifiers: '%{binding} is misspelled'
|
|
90
101
|
expectation_HasRedundantBooleanComparison: '%{binding} makes unnecesary boolean comparisons'
|
|
91
102
|
expectation_HasRedundantGuards: '%{binding} has unnecessary guards'
|
|
92
103
|
expectation_HasRedundantIf: '%{binding} has unnecessary <i>%{keyword_if}</i>s'
|
|
@@ -97,9 +108,21 @@ en:
|
|
|
97
108
|
expectation_HasTooShortBindings: '%{binding} is a too short identifier'
|
|
98
109
|
expectation_HasUnreachableCode: '%{binding} has unreachable code.'
|
|
99
110
|
expectation_HasWrongCaseBindings: '%{binding} does not honor case conventions'
|
|
111
|
+
expectation_Implements_except: '%{binding} %{must} implement interfaces distinct from %{target}'
|
|
112
|
+
expectation_Implements_like: '%{binding} %{must} implement interfaces like %{target}'
|
|
113
|
+
expectation_Implements_named: '%{binding} %{must} implement %{target}'
|
|
114
|
+
expectation_Implements: '%{binding} %{must} implement intefaces'
|
|
115
|
+
expectation_Instantiates_except: '%{binding} %{must} instantiate classes distinct from %{target}'
|
|
116
|
+
expectation_Instantiates_like: '%{binding} %{must} instantiate classes like %{target}'
|
|
117
|
+
expectation_Instantiates_named: '%{binding} %{must} instantiate %{target}'
|
|
118
|
+
expectation_Instantiates: '%{binding} %{must} instantiate objects'
|
|
100
119
|
expectation_IsLongCode: '%{binding} is too long'
|
|
101
120
|
expectation_must_not: must not
|
|
102
121
|
expectation_must: must
|
|
122
|
+
expectation_Raises_except: '%{binding} %{must} throw exceptions distinct from %{target}'
|
|
123
|
+
expectation_Raises_like: '%{binding} %{must} throw exceptions like %{target}'
|
|
124
|
+
expectation_Raises_named: '%{binding} %{must} throw %{target}'
|
|
125
|
+
expectation_Raises: '%{binding} %{must} throw exceptions'
|
|
103
126
|
expectation_ReturnsNil: '%{binding} retuns <i>%{keyword_null}</i>, which is a bad practice'
|
|
104
127
|
expectation_ReturnsNull: '%{binding} retuns <i>%{keyword_null}</i>, which is a bad practice'
|
|
105
128
|
expectation_solution: solution
|
|
@@ -109,6 +132,8 @@ en:
|
|
|
109
132
|
expectation_SourceRepeats_named: 'solution %{must} use %{target} more than one time'
|
|
110
133
|
expectation_TypesAs_named: '%{binding} %{must} type as %{target}'
|
|
111
134
|
expectation_TypesAs: '%{binding} %{must} type'
|
|
135
|
+
expectation_TypesReturnAs_named: '%{binding} %{must} type its return value as %{target}'
|
|
136
|
+
expectation_TypesReturnAs: '%{binding} %{must} type its return value'
|
|
112
137
|
expectation_Uses_except: '%{binding} %{must} delegate to something distinct from %{target}'
|
|
113
138
|
expectation_Uses_like: '%{binding} %{must} delegate to something similar to %{target}'
|
|
114
139
|
expectation_Uses_named: '%{binding} %{must} use %{target}'
|
|
@@ -118,6 +143,8 @@ en:
|
|
|
118
143
|
expectation_UsesComprehension: '%{binding} %{must} use comprehensions'
|
|
119
144
|
expectation_UsesConditional: '%{binding} %{must} use conditionals'
|
|
120
145
|
expectation_UsesCut: '%{binding} uses <i>!</li> operator, which is a bad practice'
|
|
146
|
+
expectation_UsesDyamicPolymorphism: '%{binding} %{must} use polymorphism'
|
|
147
|
+
expectation_UsesDynamicMethodOverload: '%{binding} %{must} use overload'
|
|
121
148
|
expectation_UsesFail: '%{binding} uses <i>%{keyword_fail}</li>, which is a bad practice'
|
|
122
149
|
expectation_UsesFindall: '%{binding} %{must} use <i>%{keyword_findall}</i>'
|
|
123
150
|
expectation_UsesForall: '%{binding} %{must} use <i>%{keyword_forall}</i>'
|
|
@@ -126,9 +153,13 @@ en:
|
|
|
126
153
|
expectation_UsesIf: '%{binding} %{must} use <i>%{keyword_if}</i>'
|
|
127
154
|
expectation_UsesLambda: '%{binding} %{must} use lambda expressions'
|
|
128
155
|
expectation_UsesNot: '%{binding} %{must} use not'
|
|
156
|
+
expectation_UsesObjectComposition: '%{binding} %{must} use composition'
|
|
129
157
|
expectation_UsesPatternMatching: '%{binding} %{must} use pattern matching'
|
|
130
158
|
expectation_UsesRepeat: '%{binding} %{must} use <i>%{keyword_repeat}</i>'
|
|
131
159
|
expectation_UsesRepeatOf: '%{binding} %{must} use <i>%{keyword_repeat}</i>'
|
|
160
|
+
expectation_UsesStaticMethodOverload: '%{binding} %{must} use overload'
|
|
161
|
+
expectation_UsesStaticPolymorphism: '%{binding} %{must} use polymorphism'
|
|
132
162
|
expectation_UsesSwitch: '%{binding} %{must} use a <i>%{keyword_switch}</i>'
|
|
163
|
+
expectation_UsesTemplateMethod: '%{binding} %{must} use a template method'
|
|
133
164
|
expectation_UsesUnificationOperator: '%{binding} uses the unification operator (=)'
|
|
134
165
|
expectation_UsesWhile: '%{binding} %{must} use <i>%{keyword_while}</i>'
|
data/lib/locales/es.yml
CHANGED
|
@@ -146,6 +146,8 @@ es:
|
|
|
146
146
|
expectation_SourceRepeats_named: 'la solución %{must} usar %{target} más de una vez'
|
|
147
147
|
expectation_TypesAs_named: '%{binding} %{must} ser de tipo %{target}'
|
|
148
148
|
expectation_TypesAs: '%{binding} %{must} tipar'
|
|
149
|
+
expectation_TypesReturnAs_named: '%{binding} %{must} tipar su valor de retorno como %{target}'
|
|
150
|
+
expectation_TypesReturnAs: '%{binding} %{must} tipar su valor de retorno'
|
|
149
151
|
expectation_Uses_except: '%{binding} %{must} delegar en algo diferente a %{target}'
|
|
150
152
|
expectation_Uses_like: '%{binding} %{must} delegar en algo parecido a %{target}'
|
|
151
153
|
expectation_Uses_named: '%{binding} %{must} utilizar %{target}'
|
|
@@ -155,6 +157,8 @@ es:
|
|
|
155
157
|
expectation_UsesComprehension: '%{binding} %{must} emplear listas por comprensión'
|
|
156
158
|
expectation_UsesConditional: '%{binding} %{must} utilizar condicionales'
|
|
157
159
|
expectation_UsesCut: '%{binding} usa el operador !, lo cual es una mala práctica'
|
|
160
|
+
expectation_UsesDyamicPolymorphism: '%{binding} %{must} usar polimorfismo'
|
|
161
|
+
expectation_UsesDynamicMethodOverload: '%{binding} %{must} usar sobrecarga'
|
|
158
162
|
expectation_UsesExceptionHandling: '%{binding} %{must} realizar manejo de exceptiones'
|
|
159
163
|
expectation_UsesExceptions: '%{binding} %{must} usar exceptiones'
|
|
160
164
|
expectation_UsesFail: '%{binding} usa <i>%{keyword_fail}</li>, lo cual es una mala práctica'
|
|
@@ -167,9 +171,13 @@ es:
|
|
|
167
171
|
expectation_UsesLambda: '%{binding} %{must} emplear expresiones lambda'
|
|
168
172
|
expectation_UsesMixins: '%{binding} %{must} usar mixins'
|
|
169
173
|
expectation_UsesNot: '%{binding} %{must} utilizar <i>%{keyword_not}</i>'
|
|
174
|
+
expectation_UsesObjectComposition: '%{binding} %{must} usar composición'
|
|
170
175
|
expectation_UsesPatternMatching: '%{binding} %{must} utilizar pattern matching'
|
|
171
176
|
expectation_UsesRepeat: '%{binding} %{must} usar <i>%{keyword_repeat}</i>'
|
|
172
177
|
expectation_UsesRepeatOf: '%{binding} %{must} usar un <i>%{keyword_repeat}</i> de %{target}'
|
|
178
|
+
expectation_UsesStaticMethodOverload: '%{binding} %{must} usar sobrecarga'
|
|
179
|
+
expectation_UsesStaticPolymorphism: '%{binding} %{must} usar polimorfismo'
|
|
173
180
|
expectation_UsesSwitch: '%{binding} %{must} utilizar un <i>%{keyword_switch}</i>'
|
|
181
|
+
expectation_UsesTemplateMethod: '%{binding} %{must} usar un método plantilla'
|
|
174
182
|
expectation_UsesUnificationOperator: '%{binding} usa el operador de unificación (=)'
|
|
175
183
|
expectation_UsesWhile: '%{binding} %{must} utilizar un <i>%{keyword_while}</i>'
|
data/lib/locales/pt.yml
CHANGED
|
@@ -147,6 +147,8 @@ pt:
|
|
|
147
147
|
expectation_SourceRepeats_named: 'a solução %{must} usar %{target} mais de uma vez'
|
|
148
148
|
expectation_TypesAs_named: '%{binding} %{must} é do tipo %{target}'
|
|
149
149
|
expectation_TypesAs: '%{binding} %{must} tem tipo'
|
|
150
|
+
expectation_TypesReturnAs_named: '%{binding} %{must} tem tipo de valor de retorno %{target}'
|
|
151
|
+
expectation_TypesReturnAs: '%{binding} %{must} tem tipo de valor de retorno'
|
|
150
152
|
expectation_Uses_except: '%{binding} %{must} delegar algo diferente para %{target}'
|
|
151
153
|
expectation_Uses_like: '%{binding} %{must} delegar algo semelhante ao %{target}'
|
|
152
154
|
expectation_Uses_named: '%{binding} %{must} usar %{target}'
|
|
@@ -156,6 +158,8 @@ pt:
|
|
|
156
158
|
expectation_UsesComprehension: '%{binding} %{must} usar listas pelo entendimento'
|
|
157
159
|
expectation_UsesConditional: '%{binding} %{must} usar conditional'
|
|
158
160
|
expectation_UsesCut: '%{binding} usa o operador !, que é uma má prática'
|
|
161
|
+
expectation_UsesDyamicPolymorphism: '%{binding} %{must} usar polimorfismo'
|
|
162
|
+
expectation_UsesDynamicMethodOverload: '%{binding} %{must} usar sobrecarga'
|
|
159
163
|
expectation_UsesExceptionHandling: '%{binding} %{must} executar o tratamento de exceção'
|
|
160
164
|
expectation_UsesExceptions: '%{binding} %{must} usar exceções'
|
|
161
165
|
expectation_UsesFail: '%{binding} usa <i>%{keyword_fail}</li>, o que é uma prática ruim'
|
|
@@ -168,9 +172,13 @@ pt:
|
|
|
168
172
|
expectation_UsesLambda: '%{binding} %{must} usar expressões lambda'
|
|
169
173
|
expectation_UsesMixins: '%{binding} %{must} usar mixins'
|
|
170
174
|
expectation_UsesNot: '%{binding} %{must} usar <i>%{keyword_not}</i>'
|
|
175
|
+
expectation_UsesObjectComposition: '%{binding} %{must} usar composição'
|
|
171
176
|
expectation_UsesPatternMatching: '%{binding} %{must} usar o padrão de correspondência'
|
|
172
177
|
expectation_UsesRepeat: '%{binding} %{must} usar <i>%{keyword_repeat}</i>'
|
|
173
178
|
expectation_UsesRepeatOf: '%{binding} %{must} usar uma <i>%{keyword_repeat}</i> de %{target}'
|
|
179
|
+
expectation_UsesStaticMethodOverload: '%{binding} %{must} usar sobrecarga'
|
|
180
|
+
expectation_UsesStaticPolymorphism: '%{binding} %{must} usar polimorfismo'
|
|
174
181
|
expectation_UsesSwitch: '%{binding} %{must} usar um <i>%{keyword_switch}</i>'
|
|
182
|
+
expectation_UsesTemplateMethod: '%{binding} %{must} usar um _template method_'
|
|
175
183
|
expectation_UsesUnificationOperator: '%{binding} usa o operador de unificação (=)'
|
|
176
184
|
expectation_UsesWhile: '%{binding} %{must} usar um <i>%{keyword_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.
|
|
4
|
+
version: 3.5.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-09-
|
|
11
|
+
date: 2018-09-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: mumukit-core
|