alaska 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/alaska/runtime.rb +8 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ad2839fe2dfff754d2ba74cc2db6cfcd998eaf21
|
4
|
+
data.tar.gz: 037bacf0a2a95fc6e914f1fc96d158a70efa419b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7eaa4661a862b6de337c993e4545c1479b27351993361bc110abccaced4bd8b20fd9d0a989008192a8285ce045e7b3496bbbbc0f174828864a9723e7caf66102
|
7
|
+
data.tar.gz: 02d46d4eab9c20b86f15f8a2ce7c9d6995a91bee45fb0ad9cdf5279d144fef0713570dbb4c43061fd1fa09daf22f64a954f2b1f725e81f04e6a0433e8833d437
|
data/lib/alaska/runtime.rb
CHANGED
@@ -23,8 +23,14 @@ module Alaska
|
|
23
23
|
end
|
24
24
|
|
25
25
|
def available?
|
26
|
-
|
27
|
-
|
26
|
+
ENV["PATH"].split(":").detect do |path|
|
27
|
+
%w{
|
28
|
+
nodejs
|
29
|
+
node
|
30
|
+
}.detect do |node|
|
31
|
+
File.exist?(File.join(path, node)) || File.symlink?(File.join(path, node))
|
32
|
+
end
|
33
|
+
end
|
28
34
|
end
|
29
35
|
|
30
36
|
def deprecated?
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: alaska
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jon Bardin
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2016-
|
14
|
+
date: 2016-12-08 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: execjs
|
@@ -84,7 +84,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
84
84
|
version: '0'
|
85
85
|
requirements: []
|
86
86
|
rubyforge_project:
|
87
|
-
rubygems_version: 2.
|
87
|
+
rubygems_version: 2.5.2
|
88
88
|
signing_key:
|
89
89
|
specification_version: 4
|
90
90
|
summary: persistent ExecJS runtime
|