opal-webpack-loader 0.3.7 → 0.3.8
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 +0 -21
- data/lib/opal-webpack-loader/version.rb +1 -1
- data/lib/opal-webpack-loader/view_helper.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b42dbe838247fa4884f7c83689dcdb82977deb68acee953ee74f66e9ea4d5bd2
|
4
|
+
data.tar.gz: 88ac81dc363188576833979952bed5e4ed2c8010297c20716d5d262d14331d30
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e05bd637ddba7fc0199e2c1eb1baf0b9e63041c6da56ac546bda0e28055a547e045556195c164da3185be4d319ac4dd13579bd0d48d22d80c18c63670e22039d
|
7
|
+
data.tar.gz: 40002724fdd6ddebaf9081fa1d31ad0df40552e766e5d69d67b18aa69a2c525f7b68cf70fddd9a7dad4638624bff15d69cba559b7613bdf62aaac3b72497d91c
|
data/lib/opal-webpack-loader.rb
CHANGED
@@ -6,24 +6,3 @@ if defined? Rails
|
|
6
6
|
else
|
7
7
|
require 'opal-webpack-loader/view_helper'
|
8
8
|
end
|
9
|
-
|
10
|
-
owl_version = ''
|
11
|
-
npm = `which npm`.chop
|
12
|
-
|
13
|
-
if npm != ''
|
14
|
-
owl_version = `#{npm} view opal-webpack-loader version`
|
15
|
-
else
|
16
|
-
yarn = `which yarn`.chop
|
17
|
-
if yarn != ''
|
18
|
-
owl_version = `#{yarn} -s info opal-webpack-loader version`
|
19
|
-
else
|
20
|
-
raise 'opal-webpack-loader: Could not find npm or yarn! Please install npm or yarn'
|
21
|
-
end
|
22
|
-
end
|
23
|
-
|
24
|
-
if owl_version.chop != OpalWebpackLoader::VERSION
|
25
|
-
raise "opal-webpack-loader: Incorrect version of npm package found or npm package not installed.\n" +
|
26
|
-
"Please install the npm package for opal-webpack-loader:\n" +
|
27
|
-
"\twith npm:\tnpm install opal-webpack-loader@#{OpalWebpackLoader::VERSION} --save-dev\n" +
|
28
|
-
"\twith yarn:\tyarn add opal-webpack-loader@#{OpalWebpackLoader::VERSION} --dev\n"
|
29
|
-
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opal-webpack-loader
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan Biedermann
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-12-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: opal
|
@@ -81,7 +81,7 @@ files:
|
|
81
81
|
- lib/opal-webpack-loader/rails_view_helper.rb
|
82
82
|
- lib/opal-webpack-loader/version.rb
|
83
83
|
- lib/opal-webpack-loader/view_helper.rb
|
84
|
-
homepage: http://
|
84
|
+
homepage: http://isomorfeus.com
|
85
85
|
licenses:
|
86
86
|
- MIT
|
87
87
|
metadata: {}
|