opal-webpack-loader 0.4.2 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/opal-webpack-loader.rb +3 -3
- data/lib/opal-webpack-loader/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5844c1f1f0b43a538595aca2d51b2e44bc7fe299b4f5d0a5ec1d38ea8ff0f0c0
|
4
|
+
data.tar.gz: 22d8cd29afbf0a7e6289f7d4c2c807389cea5a6162120c49554e35f55719a480
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 428ecbfd1123558f6dd2f7c1190e5323c833e2b683351173ea7a7da6509c06e5ead790f7ffa2a4d8b73eb8bb03f087ae46bf06d54b4cce8d739075c81ee8ca29
|
7
|
+
data.tar.gz: 2177742b72b9a405ef236381659043b5cedeed8923e74c8d617e27a339ce87b15660d38eba3c778ce8b71e114bacb7cdb1d2f490ec1ce01609457bda447e8f49
|
data/lib/opal-webpack-loader.rb
CHANGED
@@ -32,10 +32,10 @@ OpalWebpackLoader.client_asset_path = '/assets'
|
|
32
32
|
npm = `which npm`.chop
|
33
33
|
|
34
34
|
if npm != ''
|
35
|
-
bin_dir = `npm bin
|
36
|
-
owl_npm_version = `#{bin_dir}/opal-webpack-loader-npm-version
|
35
|
+
bin_dir = `npm bin`.chop
|
36
|
+
owl_npm_version = `#{bin_dir}/opal-webpack-loader-npm-version`.chop
|
37
37
|
|
38
|
-
if owl_npm_version
|
38
|
+
if owl_npm_version != OpalWebpackLoader::VERSION
|
39
39
|
raise "opal-webpack-loader: Incorrect version of npm package found or npm package not installed.\n" +
|
40
40
|
"Please install the npm package for opal-webpack-loader:\n" +
|
41
41
|
"\twith npm:\tnpm install opal-webpack-loader@#{OpalWebpackLoader::VERSION} --save-dev\n" +
|