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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2c4bf15553d59828e56015af0b347acae178259cab0a14a93ffbad59ef79fafe
4
- data.tar.gz: 42708641c861cdd273d88a4915534b5261e6f38a9007ea3df78b157183ee2e16
3
+ metadata.gz: 4ec1559494630865ee47726db10b1acaf759cc0c4f02bb34bf5d4a9d93a14c41
4
+ data.tar.gz: 155a64409bd58d1c5eadaab2e2b248f7cfa101d43a944055a115cb381bc0b8d9
5
5
  SHA512:
6
- metadata.gz: efd952a9299184d383e890716a07968a4e9e0b59563cb28e3855cc260178cdb88bcccacc4a1a6c5d7bd344d7ab3a43ec46bcf0ddcda27fd6cbc5fafd6c359812
7
- data.tar.gz: ebbc4675b6399e6640fd9fa78958cbd061f4dc8c389b36709aab385db8f2b300484f15abe46393aebf4b519a6e385a758a80b1f441bdcc3d128b47d2afaf2203
6
+ metadata.gz: 0a391d5e4552ced909609bbaadbbfa994ba0776410194f836d305be9346ebd4cec07a6e1d23fddd9e07682b3c91005a0041b532a68a7d54e54a0ee5e97912c8e
7
+ data.tar.gz: 2c3503723f9f210c234dab4653f584868eec1dd134691db18973871a3a06f6e503b97f0d145ce757d451e06e448bf17abad135aa4b398d520868f0c097bdf6cd
@@ -43,7 +43,9 @@ module Elm
43
43
  var embedDiv = currentScript.previousSibling;
44
44
 
45
45
  onLoad(function() {
46
- window.#{raw module_name} = #{raw module_name}.embed(embedDiv, #{raw args.to_json});
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
@@ -1,5 +1,5 @@
1
1
  module Elm
2
2
  module Rails
3
- VERSION = "0.4.0"
3
+ VERSION = "0.4.1"
4
4
  end
5
5
  end
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.0
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: 2022-08-26 00:00:00.000000000 Z
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.1.6
145
+ rubygems_version: 3.2.32
146
146
  signing_key:
147
147
  specification_version: 4
148
148
  summary: Compile Elm through Sprockets