multiwoven-integrations 0.34.11 → 0.34.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9cab4c47cb2b8615acb9490ca83db71fe20c32d78c7a5f72820bb69d7ed2b51b
|
|
4
|
+
data.tar.gz: 5273027c214e7610696f51b20bc9d5fa19f3a00aab0b78db444aba86fcf22d41
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1edaa71f204bcc4c98fdb6b9b26d698f6dfd8402ee2bdc404c613335b3fa2e7c8c56ce8eef1786b2ad4a0952d24fc420ffe423b7a7d8ba337eaae2fa44aa23a4
|
|
7
|
+
data.tar.gz: 4573c6094113222d69ff96dda49567152a78ea54ae408c2653fc2cd309bee7059b85ccc577bd85d83dd459e8d56d0573ed9caf8ad20eb098f098bcff31fa7c2a
|
|
@@ -47,7 +47,8 @@ module Multiwoven::Integrations::Destination
|
|
|
47
47
|
|
|
48
48
|
def write(sync_config, records, action = "destination_insert")
|
|
49
49
|
connection_config = sync_config.destination.connection_specification.with_indifferent_access
|
|
50
|
-
|
|
50
|
+
raw_table = sync_config.stream.name
|
|
51
|
+
table_name = qualify_table(connection_config[:schema], raw_table)
|
|
51
52
|
primary_key = sync_config.model.primary_key
|
|
52
53
|
log_message_array = []
|
|
53
54
|
db = create_connection(connection_config)
|
|
@@ -125,6 +126,12 @@ module Multiwoven::Integrations::Destination
|
|
|
125
126
|
}
|
|
126
127
|
end
|
|
127
128
|
end
|
|
129
|
+
|
|
130
|
+
def qualify_table(schema, table)
|
|
131
|
+
return table if schema.blank? || schema == "public"
|
|
132
|
+
|
|
133
|
+
%("#{schema}"."#{table}")
|
|
134
|
+
end
|
|
128
135
|
end
|
|
129
136
|
end
|
|
130
137
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: multiwoven-integrations
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.34.
|
|
4
|
+
version: 0.34.12
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Subin T P
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-11-
|
|
11
|
+
date: 2025-11-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|