elm-rails 0.4.0 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/elm/rails/helper.rb +3 -1
- data/lib/elm/rails/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 928344096b3197327645b57b474ac1488476ae3c7bc8d79b072aa8b9bf651080
|
4
|
+
data.tar.gz: 5bcdf5d011c2b64bde29dab42fa33ad092742777dac21527545fad32074252cb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 297508b9b92da89f411683569787b161abac0a40d28a5287e488447f3a947163b72225ec7ac91ef3a546445e4d704edf505d96f4c70f2120163bcd7bbb2ef154
|
7
|
+
data.tar.gz: 1e4a4b46623cb49e7cad3d5308bb43fbaec172a862123a5a10d171418e6578c04fe3fe7190c202183c8a57cc94afdb5a4487d8406486da6e576df5d4e0d32316
|
data/lib/elm/rails/helper.rb
CHANGED
@@ -43,7 +43,9 @@ module Elm
|
|
43
43
|
var embedDiv = currentScript.previousSibling;
|
44
44
|
|
45
45
|
onLoad(function() {
|
46
|
-
|
46
|
+
var args = #{raw args.to_json};
|
47
|
+
args.node = embedDiv;
|
48
|
+
window.#{raw module_name} = #{raw module_name}.init(args)
|
47
49
|
});
|
48
50
|
})();
|
49
51
|
HTML
|
data/lib/elm/rails/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: elm-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Frank Bonetti
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-03-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -42,14 +42,14 @@ dependencies:
|
|
42
42
|
name: elm-compiler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: 0.4.0
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - "
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: 0.4.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
@@ -142,7 +142,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
142
142
|
- !ruby/object:Gem::Version
|
143
143
|
version: '0'
|
144
144
|
requirements: []
|
145
|
-
rubygems_version: 3.
|
145
|
+
rubygems_version: 3.2.32
|
146
146
|
signing_key:
|
147
147
|
specification_version: 4
|
148
148
|
summary: Compile Elm through Sprockets
|