forest_admin_agent 1.0.0.pre.beta.72 → 1.0.0.pre.beta.73

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: c94f2a856dbe3fb0b7ab5968ccb91d1f1ea0894d84b60a9076a5a8fd98b5663a
4
- data.tar.gz: 63706206c126f7fb68807e94ccf6b971b40a47f52eb37094c190d5694b874dd8
3
+ metadata.gz: 8385a8e1d1bd3e8e36406f075651eb27c569f5cc36bb77a45de4997e1906d50e
4
+ data.tar.gz: e9d4e298573a65ee07b77d2990b32735d0794d396155c914ac5e137a88b39e00
5
5
  SHA512:
6
- metadata.gz: f77e8e90b43a20e9a3b8ca08b98670d4a2f7ee4489cbfb26da5f1be11255d7048882a0a9aede0dc1ae9589d693adc4b0f89add527fc42e5884407fe7a16ab761
7
- data.tar.gz: 51a25721acb463d04e93d31f86d4c595b91c887540c0c8bb272a9440fecfa410760578962dd2bf561f1d6bb6add323302d5779b5a9b25059ee04bd8b12434f27
6
+ metadata.gz: f09f2f0e4fa273f40c4bd34490df9da149c8b78c38df4048182737ad8aafab60bc6da401aa69c4825b6b6be7729d46878f4c97bce1328f52b4b60bd0705cbe6e
7
+ data.tar.gz: 15890288c8b93068bcb20680dbc8eccd3bdc25b09a073a1b492cdf008a3633c7a8e1e5d6d5514d44a422cac302487d8de940929c70a6093220fceb20ced205ae
@@ -35,7 +35,7 @@ module ForestAdminAgent
35
35
  layout = form_elements[:layout]
36
36
  else
37
37
  fields = DEFAULT_FIELDS
38
- layout = nil
38
+ layout = []
39
39
  end
40
40
 
41
41
  schema = {
@@ -57,9 +57,9 @@ module ForestAdminAgent
57
57
  }
58
58
  }
59
59
 
60
- return schema unless layout && !layout.empty?
60
+ return schema if layout.all? { |element| element.component == 'Input' }
61
61
 
62
- # schema[:layout] = build_layout(layout)
62
+ schema[:layout] = build_layout(layout)
63
63
 
64
64
  schema
65
65
  end
@@ -7,7 +7,7 @@ module ForestAdminAgent
7
7
  class SchemaEmitter
8
8
  LIANA_NAME = "agent-ruby"
9
9
 
10
- LIANA_VERSION = "1.0.0-beta.72"
10
+ LIANA_VERSION = "1.0.0-beta.73"
11
11
 
12
12
  def self.get_serialized_schema(datasource)
13
13
  schema_path = Facades::Container.cache(:schema_path)
@@ -1,3 +1,3 @@
1
1
  module ForestAdminAgent
2
- VERSION = "1.0.0-beta.72"
2
+ VERSION = "1.0.0-beta.73"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: forest_admin_agent
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.pre.beta.72
4
+ version: 1.0.0.pre.beta.73
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthieu
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2024-10-09 00:00:00.000000000 Z
12
+ date: 2024-10-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport