apiotics 0.1.136 → 0.1.137

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: c28e759659a3968c412f7ea8c78ea29ce0fd22a6
4
- data.tar.gz: c451dca76587b3f8baed501a67a7b4da7d7a242f
3
+ metadata.gz: 492edaf4f10ea5c9dcb04eb1ca3db509d1de0c70
4
+ data.tar.gz: 4527a559cb22d08774661570f08216273088c09e
5
5
  SHA512:
6
- metadata.gz: 78b6a614e0cdfc07f95766dc2f7a4df2cc7b85c6387608f59920f332761ff6ad97dfd4e7cf31b567a0539a1a1903281a5718f06d3c96a20ba543239f3c6f8b5b
7
- data.tar.gz: 4d25eb313ad36dda922beba206e8ce939b4ba0a9d7565aefd4ff64a5575f33f6a635d7fa5b60f879cca24dfdf10b3dfea71147559633621082a30f913324a799
6
+ metadata.gz: 4668e46e6f0e3932bd4d551c511538d76d8fc3f8861cd7ca0cd883014d1b91580efb79b258ba5362ba6717e1444de064ecfbb53aab1bac61e3209ba21accfaa7
7
+ data.tar.gz: 4bb36491213379f7235249be4dacbff6d719be0f68a85c746f4d58e2da02ae8f0b2d66d8b44894850135b07991d73288f232033a20ef7a3383b8a8c205a9e044
@@ -1,3 +1,3 @@
1
1
  module Apiotics
2
- VERSION = '0.1.136'
2
+ VERSION = '0.1.137'
3
3
  end
@@ -18,28 +18,20 @@
18
18
  </tr>
19
19
  <% Apiotics.configuration.targets[module_name].keys.each do |key| %>
20
20
  <tr>
21
- <th rowspan='<%= Apiotics.configuration.targets[module_name][key].count %>'>
21
+ <th>
22
22
  <%= key %>
23
23
  </th>
24
24
  <%%= form.simple_fields_for :<%= key.underscore.downcase %> do |fields| %>
25
- <% n = 0 %>
26
- <% Apiotics.configuration.targets[module_name][key].each do |interface| %>
27
- <% a = Apiotics.get_attributes(module_name,key) %>
28
- <% if n != 0 %>
29
- <tr>
30
- <% end %>
31
- <td>
32
- <% if a[:attributes][interface][:type] == "enum" %>
33
- <%%= fields.input :<%= interface %>, collection: <%= a[:attributes][interface][:values] %> %>
34
- <% else %>
35
- <%%= fields.input :<%= interface %> %>
36
- <% end %>
37
- </td>
38
- <% if n != 0 %>
39
- </tr>
40
- <% end %>
41
- <% n += 1 %>
42
- <% end %>
25
+ <td>
26
+ <% Apiotics.configuration.targets[module_name][key].each do |interface| %>
27
+ <% a = Apiotics.get_attributes(module_name,key) %>
28
+ <% if a[:attributes][interface][:type] == "enum" %>
29
+ <%%= fields.input :<%= interface %>, collection: <%= a[:attributes][interface][:values] %> %>
30
+ <% else %>
31
+ <%%= fields.input :<%= interface %> %>
32
+ <% end %>
33
+ <% end %>
34
+ </td>
43
35
  <%% end %>
44
36
  </tr>
45
37
  <% end %>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: apiotics
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.136
4
+ version: 0.1.137
5
5
  platform: ruby
6
6
  authors:
7
7
  - MicroArx Corporation