opal-webpack-loader 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/owl-install +8 -0
- data/lib/opal-webpack-loader/compile_server.rb +6 -5
- data/lib/opal-webpack-loader/installer_cli.rb +305 -0
- data/lib/opal-webpack-loader/rails_view_helper.rb +4 -0
- data/lib/opal-webpack-loader/templates/Procfile.erb +1 -0
- data/lib/opal-webpack-loader/templates/application.js.erb +25 -0
- data/lib/opal-webpack-loader/templates/application_common.js.erb +8 -0
- data/lib/opal-webpack-loader/templates/application_debug.js.erb +13 -0
- data/lib/opal-webpack-loader/templates/application_ssr.js.erb +23 -0
- data/lib/opal-webpack-loader/templates/debug.js.erb +145 -0
- data/lib/opal-webpack-loader/templates/development.js.erb +130 -0
- data/lib/opal-webpack-loader/templates/initializer.rb.erb +11 -0
- data/lib/opal-webpack-loader/templates/opal_loader.rb.erb +9 -0
- data/lib/opal-webpack-loader/templates/package.json.erb +17 -0
- data/lib/opal-webpack-loader/templates/production.js.erb +107 -0
- data/lib/opal-webpack-loader/version.rb +1 -1
- data/lib/opal-webpack-loader/view_helper.rb +4 -0
- data/lib/opal-webpack-loader.rb +26 -24
- data/spec/fixtures/flattering/Gemfile +10 -0
- data/spec/fixtures/flattering/app_loader.rb +8 -0
- data/spec/fixtures/flattering/config.ru +22 -0
- data/spec/installer_spec.rb +96 -0
- data/spec/owl_spec.rb +86 -0
- data/spec/spec_helper.rb +16 -0
- metadata +105 -8
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.5.
|
4
|
+
version: 0.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan Biedermann
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-04-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: opal
|
@@ -52,6 +52,34 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: 3.6.0
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: thor
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 0.19.4
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 0.19.4
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: bundler
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
55
83
|
- !ruby/object:Gem::Dependency
|
56
84
|
name: rake
|
57
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -66,21 +94,84 @@ dependencies:
|
|
66
94
|
- - ">="
|
67
95
|
- !ruby/object:Gem::Version
|
68
96
|
version: '0'
|
69
|
-
|
70
|
-
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rails
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: 5.2.0
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 5.2.0
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: roda
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: 3.19.0
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: 3.19.0
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: rspec
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: 3.8.0
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - "~>"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: 3.8.0
|
139
|
+
description: "Bundle assets with webpack, resolve and compile opal ruby files\nand
|
140
|
+
import them in the bundle, without sprockets or the webpacker gem\n(but can be used
|
141
|
+
with both of them too). \nComes with a installer for rails and other frameworks.\n"
|
71
142
|
email: jan@kursator.de
|
72
143
|
executables:
|
73
144
|
- opal-webpack-compile-server
|
145
|
+
- owl-install
|
74
146
|
extensions: []
|
75
147
|
extra_rdoc_files: []
|
76
148
|
files:
|
77
149
|
- bin/opal-webpack-compile-server
|
150
|
+
- bin/owl-install
|
78
151
|
- lib/opal-webpack-loader.rb
|
79
152
|
- lib/opal-webpack-loader/compile_server.rb
|
153
|
+
- lib/opal-webpack-loader/installer_cli.rb
|
80
154
|
- lib/opal-webpack-loader/manifest.rb
|
81
155
|
- lib/opal-webpack-loader/rails_view_helper.rb
|
156
|
+
- lib/opal-webpack-loader/templates/Procfile.erb
|
157
|
+
- lib/opal-webpack-loader/templates/application.js.erb
|
158
|
+
- lib/opal-webpack-loader/templates/application_common.js.erb
|
159
|
+
- lib/opal-webpack-loader/templates/application_debug.js.erb
|
160
|
+
- lib/opal-webpack-loader/templates/application_ssr.js.erb
|
161
|
+
- lib/opal-webpack-loader/templates/debug.js.erb
|
162
|
+
- lib/opal-webpack-loader/templates/development.js.erb
|
163
|
+
- lib/opal-webpack-loader/templates/initializer.rb.erb
|
164
|
+
- lib/opal-webpack-loader/templates/opal_loader.rb.erb
|
165
|
+
- lib/opal-webpack-loader/templates/package.json.erb
|
166
|
+
- lib/opal-webpack-loader/templates/production.js.erb
|
82
167
|
- lib/opal-webpack-loader/version.rb
|
83
168
|
- lib/opal-webpack-loader/view_helper.rb
|
169
|
+
- spec/fixtures/flattering/Gemfile
|
170
|
+
- spec/fixtures/flattering/app_loader.rb
|
171
|
+
- spec/fixtures/flattering/config.ru
|
172
|
+
- spec/installer_spec.rb
|
173
|
+
- spec/owl_spec.rb
|
174
|
+
- spec/spec_helper.rb
|
84
175
|
homepage: http://isomorfeus.com
|
85
176
|
licenses:
|
86
177
|
- MIT
|
@@ -100,9 +191,15 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
100
191
|
- !ruby/object:Gem::Version
|
101
192
|
version: '0'
|
102
193
|
requirements: []
|
103
|
-
|
104
|
-
rubygems_version: 2.7.6
|
194
|
+
rubygems_version: 3.0.3
|
105
195
|
signing_key:
|
106
196
|
specification_version: 4
|
107
|
-
summary:
|
108
|
-
|
197
|
+
summary: Bundle assets with webpack, resolve and compile opal ruby files and import
|
198
|
+
them in the bundle.
|
199
|
+
test_files:
|
200
|
+
- spec/fixtures/flattering/Gemfile
|
201
|
+
- spec/fixtures/flattering/app_loader.rb
|
202
|
+
- spec/fixtures/flattering/config.ru
|
203
|
+
- spec/installer_spec.rb
|
204
|
+
- spec/owl_spec.rb
|
205
|
+
- spec/spec_helper.rb
|