gobstones-code-runner 0.6.0 → 0.7.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 52fc7202ed879fa1f60339f3c665bccbc218c33c8eb96716b4bb496f373b5460
|
4
|
+
data.tar.gz: 76da2ccc52e0107c1cfe0786c090435c0978f60fd84a5eac84c3d84a05c07ddc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a4d550010c1d0e750f763c9901566db3786ac1d2dbb593d1d2f173a00ab58c51aa83437b35c436565fba770100a78251f077c145ba2ff84091d3821920694684
|
7
|
+
data.tar.gz: fc1f2b9fd8bd813d135966fdf5dc3532a89f06b55f8c91fffa279caece7ad94e548c499ed43da368d259d1c6669c4942aba283c8397bec2d12d6f6b257866547
|
@@ -9119,6 +9119,8 @@ var LOCALE_ES = exports.LOCALE_ES = {
|
|
9119
9119
|
|
9120
9120
|
'errmsg:patterns-in-interactive-program-must-be-events': 'Los patrones de un "interactive program" deben ser eventos.',
|
9121
9121
|
|
9122
|
+
'errmsg:patterns-in-interactive-program-cannot-be-variables': 'El patrón no puede ser una variable.',
|
9123
|
+
|
9122
9124
|
'errmsg:patterns-in-switch-must-not-be-events': 'El patrón no puede ser un evento.',
|
9123
9125
|
|
9124
9126
|
'errmsg:structure-construction-repeated-field': function errmsgStructureConstructionRepeatedField(constructorName, fieldName) {
|
@@ -9327,7 +9329,7 @@ var LOCALE_ES = exports.LOCALE_ES = {
|
|
9327
9329
|
'PRIM:minDir': 'minDir',
|
9328
9330
|
'PRIM:maxDir': 'maxDir',
|
9329
9331
|
|
9330
|
-
'PRIM:isEmpty': '
|
9332
|
+
'PRIM:isEmpty': 'esVacía',
|
9331
9333
|
'PRIM:head': 'primero',
|
9332
9334
|
'PRIM:tail': 'resto',
|
9333
9335
|
'PRIM:init': 'comienzo',
|
@@ -15742,6 +15744,7 @@ var Linter = exports.Linter = function () {
|
|
15742
15744
|
'structure-pattern-repeats-timeout': true,
|
15743
15745
|
'pattern-does-not-match-type': true,
|
15744
15746
|
'patterns-in-interactive-program-must-be-events': true,
|
15747
|
+
'patterns-in-interactive-program-cannot-be-variables': true,
|
15745
15748
|
'patterns-in-switch-must-not-be-events': true,
|
15746
15749
|
'patterns-in-foreach-must-not-be-events': true,
|
15747
15750
|
'repeated-variable-in-tuple-assignment': true,
|
@@ -16408,6 +16411,9 @@ var Linter = exports.Linter = function () {
|
|
16408
16411
|
if (patternType !== null && patternType !== (0, _i18n.i18n)('TYPE:Event')) {
|
16409
16412
|
this._lintCheck(branch.pattern.startPos, branch.pattern.endPos, 'patterns-in-interactive-program-must-be-events', []);
|
16410
16413
|
}
|
16414
|
+
if (branch.pattern.tag === _ast.N_PatternVariable) {
|
16415
|
+
this._lintCheck(branch.pattern.startPos, branch.pattern.endPos, 'patterns-in-interactive-program-cannot-be-variables', []);
|
16416
|
+
}
|
16411
16417
|
}
|
16412
16418
|
} catch (err) {
|
16413
16419
|
_didIteratorError13 = true;
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gobstones-code-runner
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rodrigo Alfonso
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-10-
|
11
|
+
date: 2018-10-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|