mulang 6.0.2 → 6.0.3

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: 2fccc6ae521b7cc8afb96206ab3cefde9cc8a5de2a0372f98b1d8aeacc4814bb
4
- data.tar.gz: 77da683de43a57b229051476ff2e1d9ed78095859e0aa2e69874b86182e03df4
3
+ metadata.gz: 182d9dc0befc244e258aad82df8004b96c4cfbf4e3c61b2267fd8eca5cea24f5
4
+ data.tar.gz: 47e8caed69cf3e891b1b61edae11351d7c994153d3556676926117e9ae1f5efd
5
5
  SHA512:
6
- metadata.gz: a0473f1cd8c078c3c61b11d217628be7fa2d745ee356ea484214e58c70ef0ef722ae752e40f6aae17cf704d6eb18838ada30c13977af89cd1f9b203219f47299
7
- data.tar.gz: 9d94d6e7acd22e9c9fe6545207810c6b4c88b33f7c55689eb8a20e25732b19387d45f04acb3254ee7ffbbd79544937076b1c77238e968d97fde9d9c8bfa94841
6
+ metadata.gz: 9ec56318e2bead4146346ae0841a0967b51aad104ff0f45ad4e315bc6c71dada1784ce70c2d4f3128ee2bf867994528a67665d2d40e7350322effd0551b8d6be
7
+ data.tar.gz: 5bded1ee77300941d9353b0ffef44b7d59d113a3d79e643a3b1278d3f5e4deb4a1787101e3026d8038489c5e208c75a09f130f657e69484ec7cd051df13e8d33
data/bin/mulang CHANGED
Binary file
data/lib/locales/en.yml CHANGED
@@ -171,7 +171,7 @@ en:
171
171
  UsesComprehension: '%{binding} %{must} use comprehensions'
172
172
  UsesConditional: '%{binding} %{must} use conditionals'
173
173
  UsesCut: '%{binding} uses <code>!</li> operator, which is a bad practice'
174
- UsesDyamicPolymorphism: '%{binding} %{must} use polymorphism'
174
+ UsesDynamicPolymorphism: '%{binding} %{must} use polymorphism'
175
175
  UsesDynamicMethodOverload: '%{binding} %{must} use overload'
176
176
  UsesFail: '%{binding} uses <code>%{keyword_Fail}</li>, which is a bad practice'
177
177
  UsesFindall: '%{binding} %{must} use <code>%{keyword_Findall}</code>'
data/lib/locales/es.yml CHANGED
@@ -183,7 +183,7 @@ es:
183
183
  UsesComprehension: '%{binding} %{must} emplear listas por comprensión'
184
184
  UsesConditional: '%{binding} %{must} utilizar condicionales'
185
185
  UsesCut: '%{binding} usa el operador !, lo cual es una mala práctica'
186
- UsesDyamicPolymorphism: '%{binding} %{must} usar polimorfismo'
186
+ UsesDynamicPolymorphism: '%{binding} %{must} usar polimorfismo'
187
187
  UsesDynamicMethodOverload: '%{binding} %{must} usar sobrecarga'
188
188
  UsesExceptionHandling: '%{binding} %{must} realizar manejo de excepciones'
189
189
  UsesExceptions: '%{binding} %{must} usar excepciones'
data/lib/locales/pt.yml CHANGED
@@ -175,7 +175,7 @@ pt:
175
175
  UsesComprehension: '%{binding} %{must} usar listas pelo entendimento'
176
176
  UsesConditional: '%{binding} %{must} usar conditional'
177
177
  UsesCut: '%{binding} usa o operador !, que é uma má prática'
178
- UsesDyamicPolymorphism: '%{binding} %{must} usar polimorfismo'
178
+ UsesDynamicPolymorphism: '%{binding} %{must} usar polimorfismo'
179
179
  UsesDynamicMethodOverload: '%{binding} %{must} usar sobrecarga'
180
180
  UsesExceptionHandling: '%{binding} %{must} executar o tratamento de exceção'
181
181
  UsesExceptions: '%{binding} %{must} usar exceções'
@@ -72,7 +72,7 @@ module Mulang::Expectation
72
72
  def self.guess_type(expectation)
73
73
  if expectation[:binding] == '<<custom>>'
74
74
  Custom
75
- elsif expectation[:inspection] =~ /(Not\:)?Has.*/ && !has_smell?(expectation[:inspection])
75
+ elsif expectation[:inspection] =~ /^(Not\:)?Has.*/ && !has_smell?(expectation[:inspection])
76
76
  V0
77
77
  else
78
78
  V2
data/lib/mulang/tokens.rb CHANGED
@@ -207,6 +207,7 @@ module Mulang
207
207
  operator_BitwiseXor: '^',
208
208
  operator_BitwiseLeftShift: '&lt;&lt;',
209
209
  operator_BitwiseRightShift: '&gt;&gt;',
210
+ operator_Size: 'length',
210
211
  operator_Hash: 'hash',
211
212
  operator_ForwardComposition: '&gt;&gt;',
212
213
  operator_BackwardComposition: '&lt;&lt;'
@@ -1,4 +1,4 @@
1
1
  module Mulang
2
- VERSION = "6.0.2"
3
- MULANG_VERSION = "6.0.2"
2
+ VERSION = "6.0.3"
3
+ MULANG_VERSION = "6.0.3"
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mulang
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.2
4
+ version: 6.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Franco Bulgarelli
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-01-28 00:00:00.000000000 Z
11
+ date: 2021-02-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mumukit-core