sibu 0.6.6 → 0.6.7

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: db5c9e53e7af3a3a4a93b78aedd5fba7a6a88a1c
4
- data.tar.gz: cb0cfcbd86d03a876ea3ff875a530a19ea49dac1
3
+ metadata.gz: ff397b82e6322f99d4615f86cc9be5d9bef9f1ea
4
+ data.tar.gz: 024c92f3a41dcf68dccabc13a93e1c2f94fa6f5e
5
5
  SHA512:
6
- metadata.gz: b4b53790db656a48e262d9371428618488c0687426ee3e520b6eebe613c0056be8585e9772ab6c57696b6dc5c91af613c7fb036183c222e041e22eeae399a220
7
- data.tar.gz: 342daebed0d022723f72679935da515e87dd2d83442a2e4014b295ab3fbf0f2f576ab1251044cb1e1f4bafad13246148940ba35fdf20fa4ab4aefbeeb1ede912
6
+ metadata.gz: 3cacc523c3106cf94856d997126d5bfbb9ea7015159baf9a23a17565a5c9f1de4c9ce343ce7a515aff0e91040817d20111072dd10f74510bed1490cf4987f46d
7
+ data.tar.gz: 7edfb73ea4c3221c95c721af8a075794712935f97f497983b5a94142c1ef2888f18e320302c66be908edac65399aa2efdde2d888aa06d5467f948e39070b1ed2
@@ -36,7 +36,7 @@
36
36
  <!-- Note : to be tested on multiple nested elements -->
37
37
  <% (@element["elements"] || []).each do |e| %>
38
38
  <% e.each_pair do |k, v| %>
39
- <%= hidden_field_tag "element[elements][][#{k}]", v %>
39
+ <%= hidden_field_tag("element[elements][][#{k}]", v) unless v.blank? %>
40
40
  <% end %>
41
41
  <% end %>
42
42
  <%= hidden_field_tag :element_id, @element_id %>
data/lib/sibu/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Sibu
2
- VERSION = '0.6.6'
2
+ VERSION = '0.6.7'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sibu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.6
4
+ version: 0.6.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jean-Baptiste Vilain
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-09 00:00:00.000000000 Z
11
+ date: 2018-10-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails