forest_admin_agent 1.0.0.pre.beta.25 → 1.0.0.pre.beta.26

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: 99124b74e8108992635d7c4932b1e1a3e670cdef851df6af0174b1b13434845e
4
- data.tar.gz: a4fb88fed216fd288ff7a2d89e13216ed21f576482f450b08300dc22ed805579
3
+ metadata.gz: 20188623cbbdcb4d7ce701bfda5d0c4f841d547bf6fe38612f4276182eaa437a
4
+ data.tar.gz: 73f8b529249cc8be259e628f1c8e75721b59c2fb645cc544246c19130ecd1106
5
5
  SHA512:
6
- metadata.gz: ef8333542d36d50484ede07d6bee4923e777eba881b6c49678e803387c271b8b4487ebf9b9f37697f8e23381c07e6a05af1a4eee07b8ead80277904fda28baf4
7
- data.tar.gz: c32a53f151d3135e98349148e214f5ef90f9134a5cdf74fe3ac6bb072c241d7aef7a99a9cd3d8f8295d8acfa517bcae54567bf8b389ce533dfc1b3fe4c295f1f
6
+ metadata.gz: 3d5a14eb9fa6b8d8af91a7ad6efb33927d5773b762ff82fb73574a858a7d46c252aaad3cc19a2ba026dc1ed65ec0548ba360b90b4fb7baf357a588a66fe442d1
7
+ data.tar.gz: 4822e1f4b72633515287e9a5637d4a42914ae233f5baca6f912ffaa90d15db0141c6dc783dd141f23cc3fccebca79552d95a0c3ee829b469ecb6b43f1e089209
@@ -40,6 +40,8 @@ module ForestAdminAgent
40
40
  return values.map { |item| !%w[false 0 no].include?(item) } if schema.column_type == 'Boolean'
41
41
 
42
42
  return values.map(&:to_f).select { |item| item.is_a? Numeric } if schema.column_type == 'Number'
43
+
44
+ return values
43
45
  end
44
46
 
45
47
  leaf['value']
@@ -63,7 +63,7 @@ module ForestAdminAgent
63
63
  def self.get_required_operators(type)
64
64
  return OPERATOR_BY_TYPE[type] if type.is_a?(String) && OPERATOR_BY_TYPE.key?(type)
65
65
 
66
- return ['Includes_All'] if type.is_a? Array
66
+ return [Operators::INCLUDES_ALL] if type.is_a? Array
67
67
 
68
68
  []
69
69
  end
@@ -7,7 +7,7 @@ module ForestAdminAgent
7
7
  class SchemaEmitter
8
8
  LIANA_NAME = "forest-rails"
9
9
 
10
- LIANA_VERSION = "1.0.0-beta.25"
10
+ LIANA_VERSION = "1.0.0-beta.26"
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.25"
2
+ VERSION = "1.0.0-beta.26"
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.25
4
+ version: 1.0.0.pre.beta.26
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: 2023-12-20 00:00:00.000000000 Z
12
+ date: 2024-01-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport