execjs-xtrn 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/execjs/node/index.js +6 -0
- data/lib/execjs/xtrn/engine.rb +2 -2
- data/lib/execjs/xtrn/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 587c62522d08ce5bbde225a9c08cf6ff67fd4102
|
4
|
+
data.tar.gz: 145b135efdff4e22e0ec6fbc539c4c03fb4bee28
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 44b81bf7d4a2d1605da0399b4c77b4f17d5b98fe3d38b38537003a2c612e22254b25075a832b2e395f9ea5345b08098a93899162c41719f40b33d3f9688b5aee
|
7
|
+
data.tar.gz: 09048d251e4c18c08496284cdff20a5f30718348e89fb9bc2c4a4543b210c8688b49071714b1aeb61c8d6c1a00de9eaf01869120d1ceb1b39b8c76d7f20a2843
|
data/lib/execjs/node/index.js
CHANGED
data/lib/execjs/xtrn/engine.rb
CHANGED
@@ -19,8 +19,8 @@ class ExecJS::Xtrn::Engine
|
|
19
19
|
result['ok']
|
20
20
|
end
|
21
21
|
|
22
|
-
PathX=[/^[.]{1,2}\/|^\/
|
23
|
-
PathX << /^[.]{0,2}\\|^\w
|
22
|
+
PathX=[/^[.]{1,2}\/|^\/[^\s\/*]/]
|
23
|
+
PathX << /^[.]{0,2}\\|^\w:\S/ if Gem.win_platform?
|
24
24
|
|
25
25
|
def load code
|
26
26
|
exec PathX.find{|re| re.match code} ? File.read(code) : code
|
data/lib/execjs/xtrn/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: execjs-xtrn
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stas Ukolov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-04-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|