isomorfeus-speednode 0.5.1 → 0.5.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 74eb2f47432b1bc39363b023df1f181ca1ca6721080e1a5a49f6b082b7cdee16
4
- data.tar.gz: '09d180b35d456a84bd1be8d52efd601f3bae95d6f1a9723b1e877b044e1c8401'
3
+ metadata.gz: 676da9269c67e955ccfe546dbbbc82bf079e796d1070dd8d699c6523dbc537ba
4
+ data.tar.gz: b78918192805e28a455e9c5d45594fdc3b683d93ddc6f0a38f13207afecb808a
5
5
  SHA512:
6
- metadata.gz: f145d915f4588687fb8d77c5ea5c5545b414d354993320540df2156b284a11adb75320e31c43dbf04d4d1560d1fc355b7a0804c973d84412c518e60124b4fdf6
7
- data.tar.gz: 9dd42852a0492916cd634c32621f4cb184f52f597b763263ecb9d075a12bd6f5b634619b9cf553c596d4ad4ed0c5f13eca9066d489826cfe9f8c82dbab6d559e
6
+ metadata.gz: b933335621ed51658ade944312fea14e1a8b89ec71585e4b99a46fe3a2dc6c94ccc073f6013281ed19ad07d889e91a09bfad75784c9f5004c8a35e3124b4dd2f
7
+ data.tar.gz: 17c4dd51349c07013c961d714daee25f06c524edae7bb876cc0c78f7eda9519ea8be8c966840b86a08f019ef6b44540b31af09d52e5e8fd36c2576a84b702c44
@@ -283,8 +283,6 @@ let commands = {
283
283
  return formatResult(result);
284
284
  },
285
285
  scsc: function (input) {
286
- if (input.source.match(/^\s*{/)) { input.source = "(" + input.source + ")"; }
287
- else if (input.source.match(/^\s*function\s*\(/)) { input.source = "(" + input.source + ")"; }
288
286
  if (!scripts[input.context]) { scripts[input.context] = {}; }
289
287
  scripts[input.context][input.key] = new vm.Script(input.source);
290
288
  return formatResult(true);
@@ -1,5 +1,5 @@
1
1
  module Isomorfeus
2
2
  module Speednode
3
- VERSION = '0.5.1'
3
+ VERSION = '0.5.2'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: isomorfeus-speednode
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Biedermann