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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3a1fde35faa2b66fb7d4e89bbdbc915b0b4fdb45b9983b627a2e02fd3cae5794
4
- data.tar.gz: 9a88b907d8c3e572d038f297bbebbd98db94dd7f3a9622bfdb59ff197e193635
3
+ metadata.gz: b42dbe838247fa4884f7c83689dcdb82977deb68acee953ee74f66e9ea4d5bd2
4
+ data.tar.gz: 88ac81dc363188576833979952bed5e4ed2c8010297c20716d5d262d14331d30
5
5
  SHA512:
6
- metadata.gz: c90830cc41e139a23cb27878f33ed7da21c313de6bc154253aa7e46fc8d62e2f454ac3bee04924b3a92ed8064c2666fb35ee00fe75e8811e071fa5ed987d5a18
7
- data.tar.gz: 0cdcc593ec3160c99ae66963f8aaabaf970a5154f92bc75aec6c18ab598bfb907ed75c48f75d38a84829f280b89ad5e0ec14e19bbd3908531e72744d9f1001a7
6
+ metadata.gz: e05bd637ddba7fc0199e2c1eb1baf0b9e63041c6da56ac546bda0e28055a547e045556195c164da3185be4d319ac4dd13579bd0d48d22d80c18c63670e22039d
7
+ data.tar.gz: 40002724fdd6ddebaf9081fa1d31ad0df40552e766e5d69d67b18aa69a2c525f7b68cf70fddd9a7dad4638624bff15d69cba559b7613bdf62aaac3b72497d91c
@@ -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
@@ -1,3 +1,3 @@
1
1
  module OpalWebpackLoader
2
- VERSION="0.3.7"
2
+ VERSION="0.3.8"
3
3
  end
@@ -1,5 +1,5 @@
1
1
  module OpalWebpackLoader
2
- module RailsViewHelper
2
+ module ViewHelper
3
3
  def owl_include_tag(path)
4
4
  case Rails.env
5
5
  when 'production'
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.7
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-09-07 00:00:00.000000000 Z
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://hyperstack.org
84
+ homepage: http://isomorfeus.com
85
85
  licenses:
86
86
  - MIT
87
87
  metadata: {}