mumuki-javascript-runner 1.3.0 → 1.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/query_hook.rb +2 -2
  3. data/lib/version.rb +1 -1
  4. metadata +7 -7
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 722f108bdc8a1e8fcbd30388cc798268e3ba595035ccd1aab06bb13356309df8
4
- data.tar.gz: f28dea711ad217d74adf8e67cea51522e7e39c40c0c8d06fead7c5772a619275
3
+ metadata.gz: 70a7b3f4d160e1e8e90e1b14dec207fc45dc23adf8e02c080ff760e4669919a9
4
+ data.tar.gz: f07180bae9ce85467219b049f90fcca76fad8b630b7ad6476312ed7b7fbba139
5
5
  SHA512:
6
- metadata.gz: a036e18a76dfff6469bc594c025755dcf8cbab77cbd18ae32fe451e18d21fe3f77ea00c9f177d8609aef1c4a063e53dee33a69da78c1eb72321b63fc9aaeb6b1
7
- data.tar.gz: f4223d16f940d4c20695fb473376ff3f09c8e5c2c6077679a5359b7e1bf219c8381981fc77a105fb603a73bbb02adf01bb82791192af344658ed7d1796a10c7c
6
+ metadata.gz: aa708ded3212527f57268598a989215e4ad4b613b39084016ba463ab6bc1f2656b8df763806fada93c292d5bf97e8c5ca12dd754cb8587957a8dd30565913e82
7
+ data.tar.gz: 3607a12474a9087708b1b201651a5dfb91377005f5b4dc1a7693d90d9174de31188bfe212da980f4b518914a702a8008035e6cfbd3b8d207d620351e7b01e508
@@ -29,7 +29,7 @@ javascript
29
29
  if query.start_with? 'var '
30
30
  "#{query}\nconsole.log('=> undefined')"
31
31
  else
32
- "console.log('=> ' + mumukiConsolePrettyPrint(#{query}))"
32
+ "var __mumuki_query_result__ = #{query};\nconsole.log('=> ' + mumukiConsolePrettyPrint(__mumuki_query_result__))"
33
33
  end
34
34
  end
35
35
 
@@ -41,4 +41,4 @@ javascript
41
41
  def command_line(filename)
42
42
  "node #{filename}"
43
43
  end
44
- end
44
+ end
@@ -1,3 +1,3 @@
1
1
  module JavascriptVersionHook
2
- VERSION = '1.3.0'
2
+ VERSION = '1.3.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mumuki-javascript-runner
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
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: 2017-12-23 00:00:00.000000000 Z
11
+ date: 2018-02-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mumukit
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '2.17'
19
+ version: '2.20'
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: '2.17'
26
+ version: '2.20'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -86,14 +86,14 @@ dependencies:
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '1.3'
89
+ version: '3.5'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '1.3'
96
+ version: '3.5'
97
97
  description:
98
98
  email:
99
99
  - franco@mumuki.org
@@ -127,7 +127,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
127
127
  version: '0'
128
128
  requirements: []
129
129
  rubyforge_project:
130
- rubygems_version: 2.7.3
130
+ rubygems_version: 2.7.5
131
131
  signing_key:
132
132
  specification_version: 4
133
133
  summary: Javascript Runner for Mumuki