sprockets-illusionist 0.0.4 → 0.0.5
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3292d379e7ec6616f348fb8d0c11f345258cad0e
|
4
|
+
data.tar.gz: 31552a2b32c7ed6e5799711260ce146809544c1a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6eaf48de77b874859b39b50a0b9b8739999d175e8b9e2efa3613681ef81f5b6a3cc1e6e68f54d809f6d91d47f7ae76cac8772ba398e147c5746df0f5f56febe3
|
7
|
+
data.tar.gz: 1f0793bc59c8cfe743880521eb37372cdacfe41a744edd4b0a49b54dfb8ea701fd4d8cf712f022e26f6e56ffb28447a0c05100884aa6aeb59c84f6ec046ce0b1
|
@@ -10,7 +10,7 @@ module SprocketsIllusionist
|
|
10
10
|
end
|
11
11
|
|
12
12
|
def evaluate(scope, locals, &block)
|
13
|
-
stdout, _stderr, _status = Open3.capture3("#{node_path}
|
13
|
+
stdout, _stderr, _status = Open3.capture3("#{node_path} #{illusionist_path} #{option_string_from_config}", stdin_data: data)
|
14
14
|
stdout
|
15
15
|
end
|
16
16
|
|
@@ -20,6 +20,10 @@ module SprocketsIllusionist
|
|
20
20
|
SprocketsIllusionist::Config.try(:node_path) || 'node'
|
21
21
|
end
|
22
22
|
|
23
|
+
def illusionist_path
|
24
|
+
SprocketsIllusionist::Config.try(:illusionist_path) || 'illusionist'
|
25
|
+
end
|
26
|
+
|
23
27
|
def amd_module_name
|
24
28
|
base_path = SprocketsIllusionist::Config.base_path
|
25
29
|
file_name = File.basename(file, '.js.es6')
|