multiwoven-integrations 0.1.60 → 0.1.61

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: c196c94e7a1a1cbd91855c1a6ecaa0759152f9c7ad07002a2dc124d4ba06f8b1
4
- data.tar.gz: 84947109e0dbdc82ff22a3ea30e93b369d92edf099562b4d5026e6fbb2690f88
3
+ metadata.gz: a5efde87ecb1cfd15171d17bdc92a3248e9ab7b5400542c7e8650e1e3eac2651
4
+ data.tar.gz: ad8179cddd26bd47638e4f9b117a99fe762aae1c3772439622962f6a4c8741a7
5
5
  SHA512:
6
- metadata.gz: 28904dc824d4178096d6a5ae08477967c32854c86d727822c59956696d75d36c563f53e3300d557b3fe73256d071398eefb81efde323cecd5b704c060560051c
7
- data.tar.gz: ae5c528985092ab05773752822b85bae3ea8753a42019d4cb33933f4f1fcaec6d616c7edb2dd94e541f3c1fde8d7502b201014fdfdeb8453973cd64349b034f0
6
+ metadata.gz: f989346268782ec65ce95c33a299755bda4b947fab7fa845c10223856e982742f9940ba9c9ea5d2fb71f2bfdf5f7d6f0e98a8f729c93d17922d363dbf14c04ac
7
+ data.tar.gz: 8ecc6a3bfeaa2d9c62bdd58305715672ceede40a75b12fb003a50a4928c5e76522fa2c371a6cbe105053df2a3dbb240cab5a03c22a45b81a419b0d811ef948af
@@ -62,12 +62,12 @@ module Multiwoven
62
62
  when "picklist", "multipicklist", "Picklist (Multi-select)"
63
63
  if sf_field[:picklistValues] && sf_field["nillable"]
64
64
  enum_values = sf_field[:picklistValues].map { |val| val["value"] }
65
- { "type": %w[array null], "items": { "type": "string" }, "enum": enum_values }
65
+ { "type": %w[string null], "items": { "type": "string" }, "enum": enum_values }
66
66
  elsif sf_field[:picklistValues]
67
67
  enum_values = sf_field[:picklistValues].map { |val| val["value"] }
68
- { "type": "array", "items": { "type": "string" }, "enum": enum_values }
68
+ { "type": "string", "items": { "type": "string" }, "enum": enum_values }
69
69
  else
70
- { "type": "array", "items": { "type": "string" } }
70
+ { "type": "string", "items": { "type": "string" } }
71
71
  end
72
72
  when "reference", "Reference (Lookup & Master-Detail)"
73
73
  if sf_field["nillable"]
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Multiwoven
4
4
  module Integrations
5
- VERSION = "0.1.60"
5
+ VERSION = "0.1.61"
6
6
 
7
7
  ENABLED_SOURCES = %w[
8
8
  Snowflake
@@ -62,12 +62,12 @@ module Multiwoven
62
62
  when "picklist", "multipicklist", "Picklist (Multi-select)"
63
63
  if sf_field[:picklistValues] && sf_field["nillable"]
64
64
  enum_values = sf_field[:picklistValues].map { |val| val["value"] }
65
- { "type": %w[array null], "items": { "type": "string" }, "enum": enum_values }
65
+ { "type": %w[string null], "items": { "type": "string" }, "enum": enum_values }
66
66
  elsif sf_field[:picklistValues]
67
67
  enum_values = sf_field[:picklistValues].map { |val| val["value"] }
68
- { "type": "array", "items": { "type": "string" }, "enum": enum_values }
68
+ { "type": "string", "items": { "type": "string" }, "enum": enum_values }
69
69
  else
70
- { "type": "array", "items": { "type": "string" } }
70
+ { "type": "string", "items": { "type": "string" } }
71
71
  end
72
72
  when "reference", "Reference (Lookup & Master-Detail)"
73
73
  if sf_field["nillable"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: multiwoven-integrations
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.60
4
+ version: 0.1.61
5
5
  platform: ruby
6
6
  authors:
7
7
  - Subin T P