forest_admin_agent 1.0.0.pre.beta.67 → 1.0.0.pre.beta.68

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: 102bc16ac3f1558f735da11578c64f728e46a8d4fce2e5226e39446cbd3b83fd
4
- data.tar.gz: 9e6cf5a41c4cfdd84733bb2bba8ed63e2b176375e32be57f5c1372fdb1e703e2
3
+ metadata.gz: 1ec7cdc76e8ce7354d2680798ed7639e63494054a7c61edb7d68c64531065d9f
4
+ data.tar.gz: 46b7e3cf3f0c39750042cfb5c14abacf9f1a773cc7be045233941fc3a82530db
5
5
  SHA512:
6
- metadata.gz: 8be3201acf63fbc863320e1f663f15b18b556e0be542484081f4b0494abfa8f8d62180d6f481efb9db03ee3299da4e00d20b2d17e82b3b12da416b255e8f5996
7
- data.tar.gz: f0ff4f00e19244e8440791d9bae621b2616e33003a3467107c1a81bdd5a62900c9dd12c5f53eaacbe46394f17202c110c3dfdec625a4307c74fa04fba79760d6
6
+ metadata.gz: 9b8a421a9a493b1817fd7a9f6cfdfa870279963fa55d27c1f8aec7e6db901b387f729e6c52dacf5ee6e65574221992b23a326c5f45db91804f3c519bd2ec3ab0
7
+ data.tar.gz: cc960dcc8d061dd901550cf760a19159a32548efa2681ddcdb580749aa6ef65cdb5229b11754e54ec6994a763b3282e4de3e27c889af2a40c11097eb66bab715
@@ -29,6 +29,8 @@ module ForestAdminAgent
29
29
  data
30
30
  end
31
31
 
32
+ # Form data parser which extracts the data from what is provided by the frontend when
33
+ # change hooks are called.
32
34
  def self.make_form_data_from_fields(datasource, fields)
33
35
  data = {}
34
36
 
@@ -64,7 +64,7 @@ module ForestAdminAgent
64
64
  end
65
65
 
66
66
  def self.build_layout_schema(field)
67
- { **field.to_h, component: field.component.downcase }
67
+ { **field.to_h, component: field.component.camelize(:lower) }
68
68
  end
69
69
 
70
70
  def self.build_field_schema(datasource, field)
@@ -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.67"
10
+ LIANA_VERSION = "1.0.0-beta.68"
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.67"
2
+ VERSION = "1.0.0-beta.68"
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.67
4
+ version: 1.0.0.pre.beta.68
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-09-19 00:00:00.000000000 Z
12
+ date: 2024-09-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport