mulang 6.0.9 → 6.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/mulang +0 -0
- data/lib/locales/en.yml +11 -7
- data/lib/locales/es.yml +8 -4
- data/lib/locales/operators.yml +111 -6
- data/lib/locales/pt.yml +16 -12
- data/lib/mulang/code.rb +2 -2
- data/lib/mulang/inspection/matcher.rb +6 -1
- data/lib/mulang/inspection.rb +2 -2
- data/lib/mulang/language.rb +2 -2
- data/lib/mulang/tokens.rb +40 -19
- data/lib/mulang/version.rb +2 -2
- metadata +12 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2f1a4740bbee58f1217a84e9f02ccb44bc8dec065f6cf21d914cc633390871bc
|
4
|
+
data.tar.gz: f7ab7634aa8e62c8ebd5d219a424151ebed59f7f36923fd65a3235a97d357bad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a67f196be9b0e7992b591057aee87a2142284a1510629283c8925b7bb847d60898ae757f146a1d61c840340aa6e6bebe0aef380d426f98ef763cf18ffd35ab3f
|
7
|
+
data.tar.gz: ff34f0acea211d70eb106d339095709b5088deebcb38b3f703c7bea8dae741b82a7299a3baa0d1f2233f5c4e63a428aa15530fa8e5951c490afb82ef5d763f1e
|
data/bin/mulang
CHANGED
Binary file
|
data/lib/locales/en.yml
CHANGED
@@ -5,13 +5,17 @@ en:
|
|
5
5
|
must_not: must not
|
6
6
|
must: must
|
7
7
|
solution: solution
|
8
|
+
with_anything: ' with some expression'
|
8
9
|
with_char: ' with character <code>%{value}</code>'
|
9
10
|
with_false: ' with value <code>%{keyword_False}</code>'
|
10
11
|
with_literal: ' with a literal value'
|
12
|
+
with_any_string: ' with a string literal'
|
13
|
+
with_any_number: ' with a number literal'
|
11
14
|
with_logic: ' with a boolean expression'
|
12
15
|
with_math: ' with a math expression'
|
13
16
|
with_nil: ' with <code>%{keyword_Nil}</code>'
|
14
|
-
|
17
|
+
with_reference: ' with <code>%{value}</code>'
|
18
|
+
with_nonliteral: ' with a non-literal expression'
|
15
19
|
with_number: ' with number <code>%{value}</code>'
|
16
20
|
with_string: ' with string <code>%{value}</code>'
|
17
21
|
with_symbol: ' with symbol <code>%{value}</code>'
|
@@ -37,10 +41,10 @@ en:
|
|
37
41
|
DeclaresClass_like: '%{binding} %{must} declare a class similar to %{target}'
|
38
42
|
DeclaresClass_named: '%{binding} %{must} declare a class %{target}'
|
39
43
|
DeclaresClass: '%{binding} %{must} declare classes'
|
40
|
-
DeclaresComputation_except: '%{binding} %{must} declare computations distinct from %{target}'
|
41
|
-
DeclaresComputation_like: '%{binding} %{must} declare a computation similar to %{target}'
|
42
|
-
DeclaresComputation_named: '%{binding} %{must} declare a computation %{target}'
|
43
|
-
DeclaresComputation: '%{binding} %{must} declare computations'
|
44
|
+
DeclaresComputation_except: '%{binding} %{must} declare computations distinct from %{target}%{matching}'
|
45
|
+
DeclaresComputation_like: '%{binding} %{must} declare a computation similar to %{target}%{matching}'
|
46
|
+
DeclaresComputation_named: '%{binding} %{must} declare a computation %{target}%{matching}'
|
47
|
+
DeclaresComputation: '%{binding} %{must} declare computations%{matching}'
|
44
48
|
DeclaresComputationWithArity0_named: '%{target} %{must} have zero parameters'
|
45
49
|
DeclaresComputationWithArity1_named: '%{target} %{must} have one parameter'
|
46
50
|
DeclaresComputationWithArity2_named: '%{target} %{must} have 2 parameters'
|
@@ -181,9 +185,9 @@ en:
|
|
181
185
|
UsesGuards: '%{binding} %{must} use guards%{matching}'
|
182
186
|
UsesIf: '%{binding} %{must} use <code>%{keyword_If}</code>%{matching}'
|
183
187
|
UsesLambda: '%{binding} %{must} use lambda expressions%{matching}'
|
184
|
-
UsesLogic: '%{binding} %{must}
|
188
|
+
UsesLogic: '%{binding} %{must} use boolean operators'
|
185
189
|
UsesLoop: '%{binding} %{must} use a loop%{matching}'
|
186
|
-
UsesMath: '%{binding} %{must}
|
190
|
+
UsesMath: '%{binding} %{must} use math expressions'
|
187
191
|
UsesMixin: '%{binding} %{must} use mixins'
|
188
192
|
UsesNamedSelfReference: '%{binding} should use <code>%{keyword_Self}</code> instead of a global reference'
|
189
193
|
UsesNot: '%{binding} %{must} use not'
|
data/lib/locales/es.yml
CHANGED
@@ -5,12 +5,16 @@ es:
|
|
5
5
|
must_not: no debe
|
6
6
|
must: debe
|
7
7
|
solution: la solución
|
8
|
+
with_anything: ' con alguna expresión'
|
8
9
|
with_char: ' con el carácter <code>%{value}</code>'
|
9
10
|
with_false: ' con el valor <code>%{keyword_False}</code>'
|
10
11
|
with_literal: ' con un valor literal'
|
12
|
+
with_any_string: ' con un string literal'
|
13
|
+
with_any_number: ' con un número literal'
|
11
14
|
with_logic: ' con una expresión booleana'
|
12
15
|
with_math: 'con una expresión matemática'
|
13
16
|
with_nil: ' con <code>%{keyword_Nil}</code>'
|
17
|
+
with_reference: ' con <code>%{value}</code>'
|
14
18
|
with_nonliteral: ' con una expresión no literal'
|
15
19
|
with_number: ' con el número <code>%{value}</code>'
|
16
20
|
with_string: ' con la cadena <code>%{value}</code>'
|
@@ -37,10 +41,10 @@ es:
|
|
37
41
|
DeclaresClass_like: '%{binding} %{must} declarar una clase parecida a %{target}'
|
38
42
|
DeclaresClass_named: '%{binding} %{must} declarar una clase %{target}'
|
39
43
|
DeclaresClass: '%{binding} %{must} declarar clases'
|
40
|
-
DeclaresComputation_except: '%{binding} %{must} declarar computaciones diferentes a %{target}'
|
41
|
-
DeclaresComputation_like: '%{binding} %{must} declarar una computación parecida a %{target}'
|
42
|
-
DeclaresComputation_named: '%{binding} %{must} declarar una computación %{target}'
|
43
|
-
DeclaresComputation: '%{binding} %{must} declarar computaciones'
|
44
|
+
DeclaresComputation_except: '%{binding} %{must} declarar computaciones diferentes a %{target}%{matching}'
|
45
|
+
DeclaresComputation_like: '%{binding} %{must} declarar una computación parecida a %{target}%{matching}'
|
46
|
+
DeclaresComputation_named: '%{binding} %{must} declarar una computación %{target}%{matching}'
|
47
|
+
DeclaresComputation: '%{binding} %{must} declarar computaciones%{matching}'
|
44
48
|
DeclaresComputationWithArity0_named: '%{target} %{must} declarar cero parametros'
|
45
49
|
DeclaresComputationWithArity1_named: '%{target} %{must} tener un parámetro'
|
46
50
|
DeclaresComputationWithArity2_named: '%{target} %{must} tener dos parámetros'
|
data/lib/locales/operators.yml
CHANGED
@@ -2,95 +2,200 @@ en:
|
|
2
2
|
mulang:
|
3
3
|
inspection:
|
4
4
|
UsesAnd: '%{binding} %{must} use <code>%{operator_And}</code>'
|
5
|
+
CallsAnd: '%{binding} %{must} use <code>%{operator_And}</code>%{matching}'
|
5
6
|
UsesBackwardComposition: '%{binding} %{must} use <code>%{operator_BackwardComposition}</code>'
|
7
|
+
CallsBackwardComposition: '%{binding} %{must} use <code>%{operator_BackwardComposition}</code>%{matching}'
|
6
8
|
UsesBitwiseAnd: '%{binding} %{must} use <code>%{operator_BitwiseAnd}</code>'
|
9
|
+
CallsBitwiseAnd: '%{binding} %{must} use <code>%{operator_BitwiseAnd}</code>%{matching}'
|
7
10
|
UsesBitwiseLeftShift: '%{binding} %{must} use <code>%{operator_BitwiseLeftShift}</code>'
|
11
|
+
CallsBitwiseLeftShift: '%{binding} %{must} use <code>%{operator_BitwiseLeftShift}</code>%{matching}'
|
8
12
|
UsesBitwiseOr: '%{binding} %{must} use <code>%{operator_BitwiseOr}</code>'
|
13
|
+
CallsBitwiseOr: '%{binding} %{must} use <code>%{operator_BitwiseOr}</code>%{matching}'
|
9
14
|
UsesBitwiseRightShift: '%{binding} %{must} use <code>%{operator_BitwiseRightShift}</code>'
|
15
|
+
CallsBitwiseRightShift: '%{binding} %{must} use <code>%{operator_BitwiseRightShift}</code>%{matching}'
|
10
16
|
UsesBitwiseXor: '%{binding} %{must} use <code>%{operator_BitwiseXor}</code>'
|
17
|
+
CallsBitwiseXor: '%{binding} %{must} use <code>%{operator_BitwiseXor}</code>%{matching}'
|
11
18
|
UsesDivide: '%{binding} %{must} use <code>%{operator_Divide}</code>'
|
19
|
+
CallsDivide: '%{binding} %{must} use <code>%{operator_Divide}</code>%{matching}'
|
12
20
|
UsesEqual: '%{binding} %{must} use <code>%{operator_Equal}</code>'
|
21
|
+
CallsEqual: '%{binding} %{must} use <code>%{operator_Equal}</code>%{matching}'
|
13
22
|
UsesForwardComposition: '%{binding} %{must} use <code>%{operator_ForwardComposition}</code>'
|
14
|
-
|
15
|
-
|
23
|
+
CallsForwardComposition: '%{binding} %{must} use <code>%{operator_ForwardComposition}</code>%{matching}'
|
24
|
+
UsesGetAt: '%{binding} %{must} use <code>%{operator_GetAt}</code>'
|
25
|
+
CallsGetAt: '%{binding} %{must} use <code>%{operator_GetAt}</code>%{matching}'
|
26
|
+
UsesGreaterOrEqualThan: '%{binding} %{must} use <code>%{operator_GreaterOrEqualThan}</code>'
|
27
|
+
CallsGreaterOrEqualThan: '%{binding} %{must} use <code>%{operator_GreaterOrEqualThan}</code>%{matching}'
|
28
|
+
UsesGreaterThan: '%{binding} %{must} use <code>%{operator_GreaterThan}</code>'
|
29
|
+
CallsGreaterThan: '%{binding} %{must} use <code>%{operator_GreaterThan}</code>%{matching}'
|
16
30
|
UsesHash: '%{binding} %{must} use <code>%{operator_Hash}</code>'
|
31
|
+
CallsHash: '%{binding} %{must} use <code>%{operator_Hash}</code>%{matching}'
|
17
32
|
UsesLessOrEqualThan: '%{binding} %{must} use <code>%{operator_LessOrEqualThan}</code>'
|
33
|
+
CallsLessOrEqualThan: '%{binding} %{must} use <code>%{operator_LessOrEqualThan}</code>%{matching}'
|
18
34
|
UsesLessThan: '%{binding} %{must} use <code>%{operator_LessThan}</code>'
|
35
|
+
CallsLessThan: '%{binding} %{must} use <code>%{operator_LessThan}</code>%{matching}'
|
19
36
|
UsesMinus: '%{binding} %{must} use <code>%{operator_Minus}</code>'
|
37
|
+
CallsMinus: '%{binding} %{must} use <code>%{operator_Minus}</code>%{matching}'
|
20
38
|
UsesModulo: '%{binding} %{must} use <code>%{operator_Modulo}</code>'
|
39
|
+
CallsModulo: '%{binding} %{must} use <code>%{operator_Modulo}</code>%{matching}'
|
21
40
|
UsesMultiply: '%{binding} %{must} use <code>%{operator_Multiply}</code>'
|
41
|
+
CallsMultiply: '%{binding} %{must} use <code>%{operator_Multiply}</code>%{matching}'
|
22
42
|
UsesNegation: '%{binding} %{must} use <code>%{operator_Negation}</code>'
|
43
|
+
CallsNegation: '%{binding} %{must} use <code>%{operator_Negation}</code>%{matching}'
|
23
44
|
UsesNotEqual: '%{binding} %{must} use <code>%{operator_NotEqual}</code>'
|
45
|
+
CallsNotEqual: '%{binding} %{must} use <code>%{operator_NotEqual}</code>%{matching}'
|
24
46
|
UsesNotSame: '%{binding} %{must} use <code>%{operator_NotSame}</code>'
|
47
|
+
CallsNotSame: '%{binding} %{must} use <code>%{operator_NotSame}</code>%{matching}'
|
25
48
|
UsesNotSimilar: '%{binding} %{must} use <code>%{operator_NotSimilar}</code>'
|
49
|
+
CallsNotSimilar: '%{binding} %{must} use <code>%{operator_NotSimilar}</code>%{matching}'
|
26
50
|
UsesOr: '%{binding} %{must} use <code>%{operator_Or}</code>'
|
51
|
+
CallsOr: '%{binding} %{must} use <code>%{operator_Or}</code>%{matching}'
|
27
52
|
UsesOtherwise: '%{binding} %{must} use <code>%{operator_Otherwise}</code>'
|
53
|
+
CallsOtherwise: '%{binding} %{must} use <code>%{operator_Otherwise}</code>%{matching}'
|
28
54
|
UsesPlus: '%{binding} %{must} use <code>%{operator_Plus}</code>'
|
55
|
+
CallsPlus: '%{binding} %{must} use <code>%{operator_Plus}</code>%{matching}'
|
29
56
|
UsesPush: '%{binding} %{must} use <code>%{operator_Push}</code>'
|
57
|
+
CallsPush: '%{binding} %{must} use <code>%{operator_Push}</code>%{matching}'
|
30
58
|
UsesSame: '%{binding} %{must} use <code>%{operator_Same}</code>'
|
59
|
+
CallsSame: '%{binding} %{must} use <code>%{operator_Same}</code>%{matching}'
|
60
|
+
UsesSetAt: '%{binding} %{must} use <code>%{operator_SetAt}</code>'
|
61
|
+
CallsSetAt: '%{binding} %{must} use <code>%{operator_SetAt}</code>%{matching}'
|
31
62
|
UsesSimilar: '%{binding} %{must} use <code>%{operator_Similar}</code>'
|
63
|
+
CallsSimilar: '%{binding} %{must} use <code>%{operator_Similar}</code>%{matching}'
|
32
64
|
UsesSize: '%{binding} %{must} use <code>%{operator_Size}</code>'
|
65
|
+
CallsSize: '%{binding} %{must} use <code>%{operator_Size}</code>%{matching}'
|
66
|
+
UsesSlice: '%{binding} %{must} use <code>%{operator_Slice}</code>'
|
67
|
+
CallsSlice: '%{binding} %{must} use <code>%{operator_Slice}</code>%{matching}'
|
33
68
|
es:
|
34
69
|
mulang:
|
35
70
|
inspection:
|
36
71
|
UsesAnd: '%{binding} %{must} usar <code>%{operator_And}</code>'
|
72
|
+
CallsAnd: '%{binding} %{must} usar <code>%{operator_And}</code>%{matching}'
|
37
73
|
UsesBackwardComposition: '%{binding} %{must} usar <code>%{operator_BackwardComposition}</code>'
|
74
|
+
CallsBackwardComposition: '%{binding} %{must} usar <code>%{operator_BackwardComposition}</code>%{matching}'
|
38
75
|
UsesBitwiseAnd: '%{binding} %{must} usar <code>%{operator_BitwiseAnd}</code>'
|
76
|
+
CallsBitwiseAnd: '%{binding} %{must} usar <code>%{operator_BitwiseAnd}</code>%{matching}'
|
39
77
|
UsesBitwiseLeftShift: '%{binding} %{must} usar <code>%{operator_BitwiseLeftShift}</code>'
|
78
|
+
CallsBitwiseLeftShift: '%{binding} %{must} usar <code>%{operator_BitwiseLeftShift}</code>%{matching}'
|
40
79
|
UsesBitwiseOr: '%{binding} %{must} usar <code>%{operator_BitwiseOr}</code>'
|
80
|
+
CallsBitwiseOr: '%{binding} %{must} usar <code>%{operator_BitwiseOr}</code>%{matching}'
|
41
81
|
UsesBitwiseRightShift: '%{binding} %{must} usar <code>%{operator_BitwiseRightShift}</code>'
|
82
|
+
CallsBitwiseRightShift: '%{binding} %{must} usar <code>%{operator_BitwiseRightShift}</code>%{matching}'
|
42
83
|
UsesBitwiseXor: '%{binding} %{must} usar <code>%{operator_BitwiseXor}</code>'
|
84
|
+
CallsBitwiseXor: '%{binding} %{must} usar <code>%{operator_BitwiseXor}</code>%{matching}'
|
43
85
|
UsesDivide: '%{binding} %{must} usar <code>%{operator_Divide}</code>'
|
86
|
+
CallsDivide: '%{binding} %{must} usar <code>%{operator_Divide}</code>%{matching}'
|
44
87
|
UsesEqual: '%{binding} %{must} usar <code>%{operator_Equal}</code>'
|
88
|
+
CallsEqual: '%{binding} %{must} usar <code>%{operator_Equal}</code>%{matching}'
|
45
89
|
UsesForwardComposition: '%{binding} %{must} usar <code>%{operator_ForwardComposition}</code>'
|
46
|
-
|
47
|
-
|
90
|
+
CallsForwardComposition: '%{binding} %{must} usar <code>%{operator_ForwardComposition}</code>%{matching}'
|
91
|
+
UsesGetAt: '%{binding} %{must} usar <code>%{operator_GetAt}</code>'
|
92
|
+
CallsGetAt: '%{binding} %{must} usar <code>%{operator_GetAt}</code>%{matching}'
|
93
|
+
UsesGreaterOrEqualThan: '%{binding} %{must} usar <code>%{operator_GreaterOrEqualThan}</code>'
|
94
|
+
CallsGreaterOrEqualThan: '%{binding} %{must} usar <code>%{operator_GreaterOrEqualThan}</code>%{matching}'
|
95
|
+
UsesGreaterThan: '%{binding} %{must} usar <code>%{operator_GreaterThan}</code>'
|
96
|
+
CallsGreaterThan: '%{binding} %{must} usar <code>%{operator_GreaterThan}</code>%{matching}'
|
48
97
|
UsesHash: '%{binding} %{must} usar <code>%{operator_Hash}</code>'
|
98
|
+
CallsHash: '%{binding} %{must} usar <code>%{operator_Hash}</code>%{matching}'
|
49
99
|
UsesLessOrEqualThan: '%{binding} %{must} usar <code>%{operator_LessOrEqualThan}</code>'
|
100
|
+
CallsLessOrEqualThan: '%{binding} %{must} usar <code>%{operator_LessOrEqualThan}</code>%{matching}'
|
50
101
|
UsesLessThan: '%{binding} %{must} usar <code>%{operator_LessThan}</code>'
|
102
|
+
CallsLessThan: '%{binding} %{must} usar <code>%{operator_LessThan}</code>%{matching}'
|
51
103
|
UsesMinus: '%{binding} %{must} usar <code>%{operator_Minus}</code>'
|
104
|
+
CallsMinus: '%{binding} %{must} usar <code>%{operator_Minus}</code>%{matching}'
|
52
105
|
UsesModulo: '%{binding} %{must} usar <code>%{operator_Modulo}</code>'
|
106
|
+
CallsModulo: '%{binding} %{must} usar <code>%{operator_Modulo}</code>%{matching}'
|
53
107
|
UsesMultiply: '%{binding} %{must} usar <code>%{operator_Multiply}</code>'
|
108
|
+
CallsMultiply: '%{binding} %{must} usar <code>%{operator_Multiply}</code>%{matching}'
|
54
109
|
UsesNegation: '%{binding} %{must} usar <code>%{operator_Negation}</code>'
|
110
|
+
CallsNegation: '%{binding} %{must} usar <code>%{operator_Negation}</code>%{matching}'
|
55
111
|
UsesNotEqual: '%{binding} %{must} usar <code>%{operator_NotEqual}</code>'
|
112
|
+
CallsNotEqual: '%{binding} %{must} usar <code>%{operator_NotEqual}</code>%{matching}'
|
56
113
|
UsesNotSame: '%{binding} %{must} usar <code>%{operator_NotSame}</code>'
|
114
|
+
CallsNotSame: '%{binding} %{must} usar <code>%{operator_NotSame}</code>%{matching}'
|
57
115
|
UsesNotSimilar: '%{binding} %{must} usar <code>%{operator_NotSimilar}</code>'
|
116
|
+
CallsNotSimilar: '%{binding} %{must} usar <code>%{operator_NotSimilar}</code>%{matching}'
|
58
117
|
UsesOr: '%{binding} %{must} usar <code>%{operator_Or}</code>'
|
118
|
+
CallsOr: '%{binding} %{must} usar <code>%{operator_Or}</code>%{matching}'
|
59
119
|
UsesOtherwise: '%{binding} %{must} usar <code>%{operator_Otherwise}</code>'
|
120
|
+
CallsOtherwise: '%{binding} %{must} usar <code>%{operator_Otherwise}</code>%{matching}'
|
60
121
|
UsesPlus: '%{binding} %{must} usar <code>%{operator_Plus}</code>'
|
122
|
+
CallsPlus: '%{binding} %{must} usar <code>%{operator_Plus}</code>%{matching}'
|
61
123
|
UsesPush: '%{binding} %{must} usar <code>%{operator_Push}</code>'
|
124
|
+
CallsPush: '%{binding} %{must} usar <code>%{operator_Push}</code>%{matching}'
|
62
125
|
UsesSame: '%{binding} %{must} usar <code>%{operator_Same}</code>'
|
126
|
+
CallsSame: '%{binding} %{must} usar <code>%{operator_Same}</code>%{matching}'
|
127
|
+
UsesSetAt: '%{binding} %{must} usar <code>%{operator_SetAt}</code>'
|
128
|
+
CallsSetAt: '%{binding} %{must} usar <code>%{operator_SetAt}</code>%{matching}'
|
63
129
|
UsesSimilar: '%{binding} %{must} usar <code>%{operator_Similar}</code>'
|
130
|
+
CallsSimilar: '%{binding} %{must} usar <code>%{operator_Similar}</code>%{matching}'
|
64
131
|
UsesSize: '%{binding} %{must} usar <code>%{operator_Size}</code>'
|
132
|
+
CallsSize: '%{binding} %{must} usar <code>%{operator_Size}</code>%{matching}'
|
133
|
+
UsesSlice: '%{binding} %{must} usar <code>%{operator_Slice}</code>'
|
134
|
+
CallsSlice: '%{binding} %{must} usar <code>%{operator_Slice}</code>%{matching}'
|
65
135
|
pt:
|
66
136
|
mulang:
|
67
137
|
inspection:
|
68
138
|
UsesAnd: '%{binding} %{must} utilizar <code>%{operator_And}</code>'
|
139
|
+
CallsAnd: '%{binding} %{must} utilizar <code>%{operator_And}</code>%{matching}'
|
69
140
|
UsesBackwardComposition: '%{binding} %{must} utilizar <code>%{operator_BackwardComposition}</code>'
|
141
|
+
CallsBackwardComposition: '%{binding} %{must} utilizar <code>%{operator_BackwardComposition}</code>%{matching}'
|
70
142
|
UsesBitwiseAnd: '%{binding} %{must} utilizar <code>%{operator_BitwiseAnd}</code>'
|
143
|
+
CallsBitwiseAnd: '%{binding} %{must} utilizar <code>%{operator_BitwiseAnd}</code>%{matching}'
|
71
144
|
UsesBitwiseLeftShift: '%{binding} %{must} utilizar <code>%{operator_BitwiseLeftShift}</code>'
|
145
|
+
CallsBitwiseLeftShift: '%{binding} %{must} utilizar <code>%{operator_BitwiseLeftShift}</code>%{matching}'
|
72
146
|
UsesBitwiseOr: '%{binding} %{must} utilizar <code>%{operator_BitwiseOr}</code>'
|
147
|
+
CallsBitwiseOr: '%{binding} %{must} utilizar <code>%{operator_BitwiseOr}</code>%{matching}'
|
73
148
|
UsesBitwiseRightShift: '%{binding} %{must} utilizar <code>%{operator_BitwiseRightShift}</code>'
|
149
|
+
CallsBitwiseRightShift: '%{binding} %{must} utilizar <code>%{operator_BitwiseRightShift}</code>%{matching}'
|
74
150
|
UsesBitwiseXor: '%{binding} %{must} utilizar <code>%{operator_BitwiseXor}</code>'
|
151
|
+
CallsBitwiseXor: '%{binding} %{must} utilizar <code>%{operator_BitwiseXor}</code>%{matching}'
|
75
152
|
UsesDivide: '%{binding} %{must} utilizar <code>%{operator_Divide}</code>'
|
153
|
+
CallsDivide: '%{binding} %{must} utilizar <code>%{operator_Divide}</code>%{matching}'
|
76
154
|
UsesEqual: '%{binding} %{must} utilizar <code>%{operator_Equal}</code>'
|
155
|
+
CallsEqual: '%{binding} %{must} utilizar <code>%{operator_Equal}</code>%{matching}'
|
77
156
|
UsesForwardComposition: '%{binding} %{must} utilizar <code>%{operator_ForwardComposition}</code>'
|
78
|
-
|
79
|
-
|
157
|
+
CallsForwardComposition: '%{binding} %{must} utilizar <code>%{operator_ForwardComposition}</code>%{matching}'
|
158
|
+
UsesGetAt: '%{binding} %{must} utilizar <code>%{operator_GetAt}</code>'
|
159
|
+
CallsGetAt: '%{binding} %{must} utilizar <code>%{operator_GetAt}</code>%{matching}'
|
160
|
+
UsesGreaterOrEqualThan: '%{binding} %{must} utilizar <code>%{operator_GreaterOrEqualThan}</code>'
|
161
|
+
CallsGreaterOrEqualThan: '%{binding} %{must} utilizar <code>%{operator_GreaterOrEqualThan}</code>%{matching}'
|
162
|
+
UsesGreaterThan: '%{binding} %{must} utilizar <code>%{operator_GreaterThan}</code>'
|
163
|
+
CallsGreaterThan: '%{binding} %{must} utilizar <code>%{operator_GreaterThan}</code>%{matching}'
|
80
164
|
UsesHash: '%{binding} %{must} utilizar <code>%{operator_Hash}</code>'
|
165
|
+
CallsHash: '%{binding} %{must} utilizar <code>%{operator_Hash}</code>%{matching}'
|
81
166
|
UsesLessOrEqualThan: '%{binding} %{must} utilizar <code>%{operator_LessOrEqualThan}</code>'
|
167
|
+
CallsLessOrEqualThan: '%{binding} %{must} utilizar <code>%{operator_LessOrEqualThan}</code>%{matching}'
|
82
168
|
UsesLessThan: '%{binding} %{must} utilizar <code>%{operator_LessThan}</code>'
|
169
|
+
CallsLessThan: '%{binding} %{must} utilizar <code>%{operator_LessThan}</code>%{matching}'
|
83
170
|
UsesMinus: '%{binding} %{must} utilizar <code>%{operator_Minus}</code>'
|
171
|
+
CallsMinus: '%{binding} %{must} utilizar <code>%{operator_Minus}</code>%{matching}'
|
84
172
|
UsesModulo: '%{binding} %{must} utilizar <code>%{operator_Modulo}</code>'
|
173
|
+
CallsModulo: '%{binding} %{must} utilizar <code>%{operator_Modulo}</code>%{matching}'
|
85
174
|
UsesMultiply: '%{binding} %{must} utilizar <code>%{operator_Multiply}</code>'
|
175
|
+
CallsMultiply: '%{binding} %{must} utilizar <code>%{operator_Multiply}</code>%{matching}'
|
86
176
|
UsesNegation: '%{binding} %{must} utilizar <code>%{operator_Negation}</code>'
|
177
|
+
CallsNegation: '%{binding} %{must} utilizar <code>%{operator_Negation}</code>%{matching}'
|
87
178
|
UsesNotEqual: '%{binding} %{must} utilizar <code>%{operator_NotEqual}</code>'
|
179
|
+
CallsNotEqual: '%{binding} %{must} utilizar <code>%{operator_NotEqual}</code>%{matching}'
|
88
180
|
UsesNotSame: '%{binding} %{must} utilizar <code>%{operator_NotSame}</code>'
|
181
|
+
CallsNotSame: '%{binding} %{must} utilizar <code>%{operator_NotSame}</code>%{matching}'
|
89
182
|
UsesNotSimilar: '%{binding} %{must} utilizar <code>%{operator_NotSimilar}</code>'
|
183
|
+
CallsNotSimilar: '%{binding} %{must} utilizar <code>%{operator_NotSimilar}</code>%{matching}'
|
90
184
|
UsesOr: '%{binding} %{must} utilizar <code>%{operator_Or}</code>'
|
185
|
+
CallsOr: '%{binding} %{must} utilizar <code>%{operator_Or}</code>%{matching}'
|
91
186
|
UsesOtherwise: '%{binding} %{must} utilizar <code>%{operator_Otherwise}</code>'
|
187
|
+
CallsOtherwise: '%{binding} %{must} utilizar <code>%{operator_Otherwise}</code>%{matching}'
|
92
188
|
UsesPlus: '%{binding} %{must} utilizar <code>%{operator_Plus}</code>'
|
189
|
+
CallsPlus: '%{binding} %{must} utilizar <code>%{operator_Plus}</code>%{matching}'
|
93
190
|
UsesPush: '%{binding} %{must} utilizar <code>%{operator_Push}</code>'
|
191
|
+
CallsPush: '%{binding} %{must} utilizar <code>%{operator_Push}</code>%{matching}'
|
94
192
|
UsesSame: '%{binding} %{must} utilizar <code>%{operator_Same}</code>'
|
193
|
+
CallsSame: '%{binding} %{must} utilizar <code>%{operator_Same}</code>%{matching}'
|
194
|
+
UsesSetAt: '%{binding} %{must} utilizar <code>%{operator_SetAt}</code>'
|
195
|
+
CallsSetAt: '%{binding} %{must} utilizar <code>%{operator_SetAt}</code>%{matching}'
|
95
196
|
UsesSimilar: '%{binding} %{must} utilizar <code>%{operator_Similar}</code>'
|
197
|
+
CallsSimilar: '%{binding} %{must} utilizar <code>%{operator_Similar}</code>%{matching}'
|
96
198
|
UsesSize: '%{binding} %{must} utilizar <code>%{operator_Size}</code>'
|
199
|
+
CallsSize: '%{binding} %{must} utilizar <code>%{operator_Size}</code>%{matching}'
|
200
|
+
UsesSlice: '%{binding} %{must} utilizar <code>%{operator_Slice}</code>'
|
201
|
+
CallsSlice: '%{binding} %{must} utilizar <code>%{operator_Slice}</code>%{matching}'
|
data/lib/locales/pt.yml
CHANGED
@@ -5,12 +5,16 @@ pt:
|
|
5
5
|
must_not: 'não deve'
|
6
6
|
must: 'deve'
|
7
7
|
solution: 'a solução'
|
8
|
+
with_anything: ' com alguma expressão'
|
8
9
|
with_char: ' com o caractere <code>%{value}</code>'
|
9
10
|
with_false: ' com o valor <code>%{keyword_False}</code>'
|
10
11
|
with_literal: ' com um valor literal'
|
12
|
+
with_any_string: ' com uma string literal'
|
13
|
+
with_any_number: ' com um número literal'
|
11
14
|
with_logic: ' com uma expressão booleana'
|
12
15
|
with_math: ' com uma expressão matemática'
|
13
16
|
with_nil: ' com <code>%{keyword_Nil}</code>'
|
17
|
+
with_reference: ' com <code>%{value}</code>'
|
14
18
|
with_nonliteral: ' com uma expressão não literal'
|
15
19
|
with_number: ' com o número <code>%{value}</code>'
|
16
20
|
with_string: ' com a string <code>%{value}</code>'
|
@@ -37,16 +41,16 @@ pt:
|
|
37
41
|
DeclaresClass_like: '%{binding} %{must} declarar uma classe semelhante a %{target}'
|
38
42
|
DeclaresClass_named: '%{binding} %{must} declarar uma classe %{target}'
|
39
43
|
DeclaresClass: '%{binding} %{must} declarar classes'
|
40
|
-
DeclaresComputation_except: '%{binding} %{must} declarar cálculos diferentes de %{target}'
|
41
|
-
DeclaresComputation_like: '%{binding} %{must} declarar uma computação semelhante a %{target}'
|
42
|
-
DeclaresComputation_named: '%{binding} %{must} declarar uma computação %{target}'
|
43
|
-
DeclaresComputation: '%{binding} %{must} declarar cálculos'
|
44
|
+
DeclaresComputation_except: '%{binding} %{must} declarar cálculos diferentes de %{target}%{matching}'
|
45
|
+
DeclaresComputation_like: '%{binding} %{must} declarar uma computação semelhante a %{target}%{matching}'
|
46
|
+
DeclaresComputation_named: '%{binding} %{must} declarar uma computação %{target}%{matching}'
|
47
|
+
DeclaresComputation: '%{binding} %{must} declarar cálculos%{matching}'
|
44
48
|
DeclaresComputationWithArity0_named: '%{target} %{must} declarar parâmetros zero'
|
45
|
-
DeclaresComputationWithArity1_named: '%{target} %{must}
|
46
|
-
DeclaresComputationWithArity2_named: '%{target} %{must}
|
47
|
-
DeclaresComputationWithArity3_named: '%{target} %{must}
|
48
|
-
DeclaresComputationWithArity4_named: '%{target} %{must}
|
49
|
-
DeclaresComputationWithArity5_named: '%{target} %{must}
|
49
|
+
DeclaresComputationWithArity1_named: '%{target} %{must} ter um parâmetro'
|
50
|
+
DeclaresComputationWithArity2_named: '%{target} %{must} ter dois parâmetros'
|
51
|
+
DeclaresComputationWithArity3_named: '%{target} %{must} ter três parâmetros'
|
52
|
+
DeclaresComputationWithArity4_named: '%{target} %{must} ter quatro parâmetros'
|
53
|
+
DeclaresComputationWithArity5_named: '%{target} %{must} ter cinco parâmetros'
|
50
54
|
DeclaresEntryPoint: '%{binding} %{must} declarar um <code>%{keyword_EntryPoint}</code>%{matching}'
|
51
55
|
DeclaresEnumeration_except: '%{binding} %{must} declarar enumerações que não são chamadas %{target}'
|
52
56
|
DeclaresEnumeration_like: '%{binding} %{must} declarar uma enumeração de nome semelhante a %{target}'
|
@@ -163,9 +167,9 @@ pt:
|
|
163
167
|
SubordinatesDeclarationsTo: 'Todas as declarações em %{binding} %{must} ser usadas a partir de %{target}'
|
164
168
|
SubordinatesDeclarationsToEntryPoint: 'Todas as declarações em %{binding} %{must} devem ser usadas a partir de <code>%{keyword_EntryPoint}</code>'
|
165
169
|
TypesAs_named: '%{binding} %{must} é do tipo %{target}'
|
166
|
-
TypesAs: '%{binding} %{must}
|
167
|
-
TypesReturnAs_named: '%{binding} %{must}
|
168
|
-
TypesReturnAs: '%{binding} %{must}
|
170
|
+
TypesAs: '%{binding} %{must} ter tipo'
|
171
|
+
TypesReturnAs_named: '%{binding} %{must} ter tipo de valor de retorno %{target}'
|
172
|
+
TypesReturnAs: '%{binding} %{must} ter tipo de valor de retorno'
|
169
173
|
Uses_except: '%{binding} %{must} delegar algo diferente para %{target}'
|
170
174
|
Uses_like: '%{binding} %{must} delegar algo semelhante ao %{target}'
|
171
175
|
Uses_named: '%{binding} %{must} usar %{target}'
|
data/lib/mulang/code.rb
CHANGED
@@ -40,11 +40,11 @@ module Mulang
|
|
40
40
|
|
41
41
|
def expect(binding='*', inspection)
|
42
42
|
expectation = Mulang::Expectation.parse(binding: binding, inspection: inspection).as_v2.to_h
|
43
|
-
expectation_results_for(analyse(expectations: [expectation])).first['result']
|
43
|
+
expectation_results_for(analyse({expectations: [expectation]})).first['result']
|
44
44
|
end
|
45
45
|
|
46
46
|
def custom_expect(edl)
|
47
|
-
expectation_results_for(analyse(customExpectations: edl))
|
47
|
+
expectation_results_for(analyse({customExpectations: edl}))
|
48
48
|
.map { |e| [e['expectation']['inspection'], e['result']] }
|
49
49
|
.to_h
|
50
50
|
end
|
@@ -1,7 +1,12 @@
|
|
1
1
|
class Mulang::Inspection::Matcher
|
2
2
|
include Mulang::Inspection::Compacted
|
3
3
|
|
4
|
-
TYPES = %w(
|
4
|
+
TYPES = %w(
|
5
|
+
WithAnything WithChar WithFalse WithLiteral
|
6
|
+
WithLogic WithMath WithNil WithNonliteral
|
7
|
+
WithNumber WithReference WithString
|
8
|
+
WithSymbol WithTrue
|
9
|
+
WithAnyString WithAnyNumber)
|
5
10
|
|
6
11
|
attr_accessor :type, :value
|
7
12
|
|
data/lib/mulang/inspection.rb
CHANGED
@@ -12,8 +12,8 @@ module Mulang
|
|
12
12
|
^(?<negation>Not:)?
|
13
13
|
(?<type>[^:]+)
|
14
14
|
(
|
15
|
-
:(?<matcher>WithLiteral|WithNonliteral|WithLogic|WithMath|WithFalse|WithNil|WithTrue) |
|
16
|
-
:(?<matcher>WithChar|WithNumber|WithString|WithSymbol):(?<value>[^:]+) |
|
15
|
+
:(?<matcher>WithAnything|WithLiteral|WithNonliteral|WithAnyString|WithAnyNumber|WithLogic|WithMath|WithFalse|WithNil|WithTrue) |
|
16
|
+
:(?<matcher>WithReference|WithChar|WithNumber|WithString|WithSymbol):(?<value>[^:]+) |
|
17
17
|
:(?<target>[^:]+)(:(?<matcher>[^:]+)(:(?<value>[^:]+))?)?
|
18
18
|
)?$}.gsub(/\s/, '')
|
19
19
|
|
data/lib/mulang/language.rb
CHANGED
@@ -49,7 +49,7 @@ module Mulang::Language
|
|
49
49
|
expectations: [],
|
50
50
|
smellsSet: { tag: 'NoSmells' },
|
51
51
|
includeOutputAst: false,
|
52
|
-
normalizationOptions: normalization_options(options)
|
52
|
+
normalizationOptions: normalization_options(**options)
|
53
53
|
}.merge(spec).compact
|
54
54
|
}
|
55
55
|
end
|
@@ -98,7 +98,7 @@ module Mulang::Language
|
|
98
98
|
}
|
99
99
|
end
|
100
100
|
|
101
|
-
def build_analysis(
|
101
|
+
def build_analysis(*, **)
|
102
102
|
super.deep_merge(spec: {originalLanguage: core_name}.compact)
|
103
103
|
end
|
104
104
|
|
data/lib/mulang/tokens.rb
CHANGED
@@ -12,14 +12,17 @@ module Mulang
|
|
12
12
|
operator_And: '&&',
|
13
13
|
operator_Divide: '/',
|
14
14
|
operator_Equal: '==',
|
15
|
-
|
16
|
-
|
15
|
+
operator_GreaterOrEqualThan: '>=',
|
16
|
+
operator_GreaterThan: '>',
|
17
17
|
operator_LessOrEqualThan: '<=',
|
18
18
|
operator_LessThan: '<',
|
19
19
|
operator_Minus: '-',
|
20
20
|
operator_Multiply: '*',
|
21
21
|
operator_Negation: '!',
|
22
22
|
operator_NotEqual: '!=',
|
23
|
+
operator_Slice: 'slice',
|
24
|
+
operator_GetAt: '[]',
|
25
|
+
operator_SetAt: '[]=',
|
23
26
|
operator_Or: '||',
|
24
27
|
operator_Plus: '+',
|
25
28
|
operator_Modulo: '%',
|
@@ -41,8 +44,8 @@ module Mulang
|
|
41
44
|
operator_And: '&&',
|
42
45
|
operator_Divide: '/',
|
43
46
|
operator_Equal: '==',
|
44
|
-
|
45
|
-
|
47
|
+
operator_GreaterOrEqualThan: '>=',
|
48
|
+
operator_GreaterThan: '>',
|
46
49
|
operator_LessOrEqualThan: '<=',
|
47
50
|
operator_LessThan: '<',
|
48
51
|
operator_Minus: '-',
|
@@ -66,8 +69,8 @@ module Mulang
|
|
66
69
|
operator_And: '&&',
|
67
70
|
operator_Divide: '/',
|
68
71
|
operator_Equal: '==',
|
69
|
-
|
70
|
-
|
72
|
+
operator_GreaterOrEqualThan: '>=',
|
73
|
+
operator_GreaterThan: '>',
|
71
74
|
operator_LessOrEqualThan: '<=',
|
72
75
|
operator_LessThan: '<',
|
73
76
|
operator_Minus: '-',
|
@@ -96,14 +99,17 @@ module Mulang
|
|
96
99
|
operator_And: '&&',
|
97
100
|
operator_Divide: '/',
|
98
101
|
operator_Equal: 'equal',
|
99
|
-
|
100
|
-
|
102
|
+
operator_GreaterOrEqualThan: '>=',
|
103
|
+
operator_GreaterThan: '>',
|
101
104
|
operator_LessOrEqualThan: '<=',
|
102
105
|
operator_LessThan: '<',
|
103
106
|
operator_Minus: '-',
|
104
107
|
operator_Multiply: '*',
|
105
108
|
operator_Negation: '!',
|
106
109
|
operator_NotEqual: '!=',
|
110
|
+
operator_Slice: 'slice',
|
111
|
+
operator_GetAt: '[]',
|
112
|
+
operator_SetAt: '[]=',
|
107
113
|
operator_Or: '||',
|
108
114
|
operator_Plus: '+',
|
109
115
|
operator_Modulo: '%',
|
@@ -125,17 +131,21 @@ module Mulang
|
|
125
131
|
keyword_Return: 'return',
|
126
132
|
keyword_While: 'while',
|
127
133
|
keyword_Self: 'this',
|
134
|
+
keyword_ForEach: 'for..of',
|
128
135
|
operator_And: '&&',
|
129
136
|
operator_Divide: '/',
|
130
137
|
operator_Equal: '===',
|
131
|
-
|
132
|
-
|
138
|
+
operator_GreaterOrEqualThan: '>=',
|
139
|
+
operator_GreaterThan: '>',
|
133
140
|
operator_LessOrEqualThan: '<=',
|
134
141
|
operator_LessThan: '<',
|
135
142
|
operator_Minus: '-',
|
136
143
|
operator_Multiply: '*',
|
137
144
|
operator_Negation: '!',
|
138
145
|
operator_NotEqual: '!==',
|
146
|
+
operator_Slice: 'slice',
|
147
|
+
operator_GetAt: '[]',
|
148
|
+
operator_SetAt: '[]=',
|
139
149
|
operator_Or: '||',
|
140
150
|
operator_Plus: '+',
|
141
151
|
operator_Modulo: '%',
|
@@ -158,17 +168,21 @@ module Mulang
|
|
158
168
|
keyword_Return: 'return',
|
159
169
|
keyword_While: 'while',
|
160
170
|
keyword_Self: 'self',
|
171
|
+
keyword_ForEach: 'for..in',
|
161
172
|
operator_And: 'and',
|
162
173
|
operator_Divide: '/',
|
163
174
|
operator_Equal: '==',
|
164
|
-
|
165
|
-
|
175
|
+
operator_GreaterOrEqualThan: '>=',
|
176
|
+
operator_GreaterThan: '>',
|
166
177
|
operator_LessOrEqualThan: '<=',
|
167
178
|
operator_LessThan: '<',
|
168
179
|
operator_Minus: '-',
|
169
180
|
operator_Multiply: '*',
|
170
181
|
operator_Negation: 'not',
|
171
182
|
operator_NotEqual: '!=',
|
183
|
+
operator_Slice: '[:]',
|
184
|
+
operator_GetAt: '[]',
|
185
|
+
operator_SetAt: '[]=',
|
172
186
|
operator_Or: 'or',
|
173
187
|
operator_Plus: '+',
|
174
188
|
operator_Modulo: '%',
|
@@ -177,7 +191,8 @@ module Mulang
|
|
177
191
|
operator_BitwiseXor: '^',
|
178
192
|
operator_BitwiseLeftShift: '<<',
|
179
193
|
operator_BitwiseRightShift: '>>',
|
180
|
-
operator_Hash: 'hash'
|
194
|
+
operator_Hash: 'hash',
|
195
|
+
operator_Size: 'len'
|
181
196
|
},
|
182
197
|
Ruby: {
|
183
198
|
keyword_False: 'false',
|
@@ -195,14 +210,17 @@ module Mulang
|
|
195
210
|
operator_And: '&&',
|
196
211
|
operator_Divide: '/',
|
197
212
|
operator_Equal: '==',
|
198
|
-
|
199
|
-
|
213
|
+
operator_GreaterOrEqualThan: '>=',
|
214
|
+
operator_GreaterThan: '>',
|
200
215
|
operator_LessOrEqualThan: '<=',
|
201
216
|
operator_LessThan: '<',
|
202
217
|
operator_Minus: '-',
|
203
218
|
operator_Multiply: '*',
|
204
219
|
operator_Negation: '!',
|
205
220
|
operator_NotEqual: '!=',
|
221
|
+
operator_Slice: 'slice',
|
222
|
+
operator_GetAt: '[]',
|
223
|
+
operator_SetAt: '[]=',
|
206
224
|
operator_Or: '||',
|
207
225
|
operator_Plus: '+',
|
208
226
|
operator_Modulo: '%',
|
@@ -228,14 +246,17 @@ module Mulang
|
|
228
246
|
operator_And: '&&',
|
229
247
|
operator_Divide: '/',
|
230
248
|
operator_Equal: '==',
|
231
|
-
|
232
|
-
|
249
|
+
operator_GreaterOrEqualThan: '>=',
|
250
|
+
operator_GreaterThan: '>',
|
233
251
|
operator_LessOrEqualThan: '<=',
|
234
252
|
operator_LessThan: '<',
|
235
253
|
operator_Minus: '-',
|
236
254
|
operator_Multiply: '*',
|
237
255
|
operator_Negation: '!',
|
238
256
|
operator_NotEqual: '!=',
|
257
|
+
operator_Slice: 'slice',
|
258
|
+
operator_GetAt: '[]',
|
259
|
+
operator_SetAt: '[]=',
|
239
260
|
operator_Or: '||',
|
240
261
|
operator_Plus: '+',
|
241
262
|
operator_Modulo: '%',
|
@@ -252,8 +273,8 @@ module Mulang
|
|
252
273
|
keyword_Not: 'not',
|
253
274
|
keyword_Is: 'is',
|
254
275
|
operator_Divide: '/',
|
255
|
-
|
256
|
-
|
276
|
+
operator_GreaterOrEqualThan: '>=',
|
277
|
+
operator_GreaterThan: '>',
|
257
278
|
operator_LessOrEqualThan: '=<',
|
258
279
|
operator_LessThan: '<',
|
259
280
|
operator_Minus: '-',
|
data/lib/mulang/version.rb
CHANGED
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mulang
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.0
|
4
|
+
version: 6.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Franco Bulgarelli
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-04-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mumukit-core
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '1.
|
19
|
+
version: '1.19'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '1.
|
26
|
+
version: '1.19'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: codeclimate-test-reporter
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -44,28 +44,28 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
47
|
+
version: '6.0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
54
|
+
version: '6.0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rake
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
61
|
+
version: '13.0'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
68
|
+
version: '13.0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rspec
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -134,14 +134,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
134
134
|
requirements:
|
135
135
|
- - ">="
|
136
136
|
- !ruby/object:Gem::Version
|
137
|
-
version: '0'
|
137
|
+
version: '3.0'
|
138
138
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
139
139
|
requirements:
|
140
140
|
- - ">="
|
141
141
|
- !ruby/object:Gem::Version
|
142
142
|
version: '0'
|
143
143
|
requirements: []
|
144
|
-
rubygems_version: 3.
|
144
|
+
rubygems_version: 3.3.26
|
145
145
|
signing_key:
|
146
146
|
specification_version: 4
|
147
147
|
summary: Gem wrapper for mulang tool
|