elm-rails 0.4.0 → 0.4.1
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 +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4ec1559494630865ee47726db10b1acaf759cc0c4f02bb34bf5d4a9d93a14c41
|
4
|
+
data.tar.gz: 155a64409bd58d1c5eadaab2e2b248f7cfa101d43a944055a115cb381bc0b8d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a391d5e4552ced909609bbaadbbfa994ba0776410194f836d305be9346ebd4cec07a6e1d23fddd9e07682b3c91005a0041b532a68a7d54e54a0ee5e97912c8e
|
7
|
+
data.tar.gz: 2c3503723f9f210c234dab4653f584868eec1dd134691db18973871a3a06f6e503b97f0d145ce757d451e06e448bf17abad135aa4b398d520868f0c097bdf6cd
|
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.1
|
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
|
@@ -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
|