opal-virtual-dom 0.4.2 → 0.4.3

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
  SHA1:
3
- metadata.gz: 0a23edf5f635dd52bee6a0ae6eea7fe3ca146c16
4
- data.tar.gz: d5ad35824a1aee5489bc9b1f873fdc43ef7dd1cd
3
+ metadata.gz: 634c72e5f68dc1798887cb2c73b41ea57d2367d4
4
+ data.tar.gz: 2862cd38499e3cbd1a96e23fb5c2b0bb2ab998f5
5
5
  SHA512:
6
- metadata.gz: 5d293fa8227f7f118cdf25956f31edaad75a8e5612e80e1f00ef636d543253a716d5f66d41e400bc7a69a2f07c4193915a2ccde0b8ae9c2e97f3998453f08b69
7
- data.tar.gz: 5fe380d209496d1ffeb912a4e6e0d4c71f74dc90b482c5591db31f111fa092e2abd3599fe3fe4fa2fa8b2dd60bc9db98aa5a9b587f738c966791ad73011fce82
6
+ metadata.gz: aac7e8efb0a5d7a38919d683e09dcaae72701a63007e39f4a6abc02ac587738b46d33a6429154edd198a8301763296617a05048ddca6e73ddbc2480469132d80
7
+ data.tar.gz: b6984ef09f1fa1dcced0074503960b5929540a4917c6b15a5665cbe3ae59dfda4a5d081f6c2934220462f206dd458107bfc30dd872f1a1b03400ab3c5bd6e98b
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'opal-virtual-dom'
3
- s.version = '0.4.2'
3
+ s.version = '0.4.3'
4
4
  s.authors = ['Michał Kalbarczyk']
5
5
  s.email = 'fazibear@gmail.com'
6
6
  s.homepage = 'http://github.com/fazibear/opal-virtual-dom'
@@ -18,6 +18,8 @@ module VirtualDOM
18
18
  result = block.call || ''
19
19
  vnode = VirtualNode.new(tag, process_params(params), @__virtual_nodes__.count == 0 ? result : @__virtual_nodes__).to_n
20
20
  @__virtual_nodes__ = current
21
+ elsif params.is_a?(String)
22
+ vnode = VirtualNode.new(tag, {}, [params]).to_n
21
23
  else
22
24
  vnode = VirtualNode.new(tag, process_params(params), []).to_n
23
25
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opal-virtual-dom
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michał Kalbarczyk
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-09 00:00:00.000000000 Z
11
+ date: 2016-10-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opal