inesita 0.2.1 → 0.2.2

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: d28277c2df0f1066c1ac4e90e1fa635818a6ac34
4
- data.tar.gz: 3af7d67dd0c861446803d4456f953e9ff7314149
3
+ metadata.gz: ff65362266e3c5840d3fe6088720f14eb582c1b9
4
+ data.tar.gz: a555b70ec19817cd12e5ed89c05331e26d70480c
5
5
  SHA512:
6
- metadata.gz: 5020e2a1ff4ccfd32450a8a8c44fce5fc7f18f08afa413764ef3c24e1a81ffb643cc6835b5f5234ee91ee25f90ef1fa38966b14232d00151a09cd759ec8bbea1
7
- data.tar.gz: 4828053c40152c0068e5420c19954190d3a7366419445fa99d7f97d4878267b6588c643092788f8fa73844439de0914bb578cac380cd6dd969dde738814a2dec
6
+ metadata.gz: 11399cd80dab06f1d6ac5931ec3f97c19f043a08e11820d525a4e3b885f8c1d4be14033f927abc7e9841750e0063a1778042a56401119056a02f34d6811bbabf
7
+ data.tar.gz: cb433a336a17ffb8699de701d514575e0d7e8d9e652279892060f37804531e930ff1feb8606814e349a1b8baec14f5fc425cf260b3bd334c374f103cdafc23de
data/inesita.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'inesita'
3
- s.version = '0.2.1'
3
+ s.version = '0.2.2'
4
4
  s.authors = [ 'Michał Kalbarczyk' ]
5
5
  s.email = 'fazibear@gmail.com'
6
6
  s.homepage = 'http://github.com/inesita-rb/inesita'
@@ -22,7 +22,7 @@ module Inesita
22
22
  def render_virtual_dom
23
23
  @__virtual_nodes__ = []
24
24
  render
25
- if @__virtual_nodes__.length == 0
25
+ if @__virtual_nodes__.length == 1
26
26
  @__virtual_nodes__.first
27
27
  else
28
28
  VirtualDOM::VirtualNode.new('div', {}, @__virtual_nodes__).vnode
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inesita
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michał Kalbarczyk