sprockets-illusionist 0.0.2 → 0.0.3
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 09bc0aa5fb719a7d909ffb4e7e1699de8079f49b
|
4
|
+
data.tar.gz: 51dc60072ba718ea834682de9214ed6ffc23fc14
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1f644a2a3ff9388ff7f8fefd78df64f6e8ad676e1a46758de1d2dc5969aff91651abbf1a6a95270a6d81396f520dfbf9d8f266e499fe14da1d50c3f8da7b3731
|
7
|
+
data.tar.gz: 3d6de5e3c5026a095ff964382ed5713f8afe2fb8881dec03aa42876a0e0012bbcf6bc51d3e937ea8631be78d796afb58d48a3bb0e1e335713d89b2cf4046ea62
|
@@ -10,12 +10,16 @@ module SprocketsIllusionist
|
|
10
10
|
end
|
11
11
|
|
12
12
|
def evaluate(scope, locals, &block)
|
13
|
-
stdout, _stderr, _status = Open3.capture3("illusionist #{option_string_from_config}", stdin_data: data)
|
13
|
+
stdout, _stderr, _status = Open3.capture3("NODE_PATH=#{node_path} illusionist #{option_string_from_config}", stdin_data: data)
|
14
14
|
stdout
|
15
15
|
end
|
16
16
|
|
17
17
|
private
|
18
18
|
|
19
|
+
def node_path
|
20
|
+
SprocketsIllusionist::Config.try(:node_path) || 'node'
|
21
|
+
end
|
22
|
+
|
19
23
|
def amd_module_name
|
20
24
|
base_path = SprocketsIllusionist::Config.base_path
|
21
25
|
file_name = File.basename(file, '.js.es6')
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sprockets-illusionist
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Charles Demers
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-02-
|
11
|
+
date: 2014-02-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|