multiwoven-integrations 0.1.52 → 0.1.53
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/multiwoven/integrations/destination/sftp/client.rb +3 -2
- data/lib/multiwoven/integrations/destination/sftp/config/catalog.json +1 -1
- data/lib/multiwoven/integrations/destination/sftp/config/spec.json +6 -0
- data/lib/multiwoven/integrations/rollout.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 10f0a25152e661467514cbc7e3b449e214da2890592d9d8111b14859218c989d
|
4
|
+
data.tar.gz: 574bec487c681b925346609063f282590bb15ec047aa921d0159e485ac220f28
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0b05816f5b72663b2d96e6e01aace9bd78381c4d0044fc996236291f29ccea3b911f9684ccb071f7dd5aa2e64bdfad26b2c763ad1bbca65600d88e12c8519d0c
|
7
|
+
data.tar.gz: f1336d0173e6889e5cd4747ff072d17dfc28fa156eccc7bca9952a9f461b32a5210743f586186d64af27b9dda3c17d9b24caa4dfb3e5c73bd0c39bd6f94e64d5
|
@@ -82,13 +82,14 @@ module Multiwoven::Integrations::Destination
|
|
82
82
|
def generate_file_path(sync_config)
|
83
83
|
connection_specification = sync_config.destination.connection_specification.with_indifferent_access
|
84
84
|
timestamp = Time.now.strftime("%Y%m%d-%H%M%S")
|
85
|
-
file_name = "#{
|
85
|
+
file_name = "#{connection_specification[:file_name]}_#{timestamp}.csv"
|
86
86
|
File.join(connection_specification[:destination_path], file_name)
|
87
87
|
end
|
88
88
|
|
89
89
|
def generate_local_file_name(sync_config)
|
90
|
+
connection_specification = sync_config.destination.connection_specification.with_indifferent_access
|
90
91
|
timestamp = Time.now.strftime("%Y%m%d-%H%M%S")
|
91
|
-
"#{
|
92
|
+
"#{connection_specification[:file_name]}_#{timestamp}"
|
92
93
|
end
|
93
94
|
|
94
95
|
def generate_csv_content(records)
|
@@ -38,6 +38,12 @@
|
|
38
38
|
"type": "string",
|
39
39
|
"description": "Path to the directory where files will be written.",
|
40
40
|
"order": 4
|
41
|
+
},
|
42
|
+
"file_name": {
|
43
|
+
"title": "File Name",
|
44
|
+
"type": "string",
|
45
|
+
"description": "Name of the file to be written.",
|
46
|
+
"order": 5
|
41
47
|
}
|
42
48
|
}
|
43
49
|
}
|
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.1.
|
4
|
+
version: 0.1.53
|
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: 2024-
|
11
|
+
date: 2024-04-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|