multiwoven-integrations 0.1.55 → 0.1.57

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: b763f6c3738761ea3eaa61aa1d594254a39b94c61f74a583128adb7191d5c9f7
4
- data.tar.gz: 77c83babe07876b9d513af183135052ca855723d0dd11a512e572ebd135a0e2d
3
+ metadata.gz: 666408f13deb9be28b8067bd0726bcbb14e51cf0369d0928ba66dfa2bca70de9
4
+ data.tar.gz: 1d1c5dbdaa492a3e6da6fa529a66fe9fd85d3cae6e8a4830c846298950cf544e
5
5
  SHA512:
6
- metadata.gz: 489c7f4a39060f1722454ce262fe1258b60342ba8c81ea147297fb489c4bb03645bb3801da19f2c1fbad889b909fc1a8a140f92e51368f5915dabbfd919025f5
7
- data.tar.gz: 2619705432e4bf46454334c48850472078fe085be62eb0fb712e3633d36995d1686a0f9a399a0e647adce82a916f83a4a3433029154f346918c989c3440d8ed2
6
+ metadata.gz: e638768bdf3fa7d942ea69d1bc1e6d2c0ea154bd0a0df8a84a6c40872f689ad22cca5d7dc67e403a1e3bb90876ca5b28af7064a91ddaf3339733e80f25a521ad
7
+ data.tar.gz: a8162286c1257c99cf7ecd1c0c257ac25a9c2e0c483e0aeaa67e9bf19532d50a7ed04f545b34186f3feecd759999d42629bcd6419b5ca2819bb628ec7f919258
@@ -18,7 +18,7 @@ module Multiwoven
18
18
  def meta_data
19
19
  client_meta_data = read_json(META_DATA_PATH).deep_symbolize_keys
20
20
  icon_name = client_meta_data[:data][:icon]
21
- icon_url = "https://raw.githubusercontent.com/Multiwoven/multiwoven-integrations/#{MAIN_BRANCH_SHA}#{relative_path}/#{icon_name}"
21
+ icon_url = "https://raw.githubusercontent.com/Multiwoven/multiwoven/main/integrations#{relative_path}/#{icon_name}"
22
22
  client_meta_data[:data][:icon] = icon_url
23
23
  # returns hash
24
24
  @meta_data ||= client_meta_data
@@ -4,16 +4,11 @@ module Multiwoven
4
4
  module Integrations::Core
5
5
  module Constants
6
6
  # CONFIG
7
- INTEGRATIONS_PATH = File.join(
8
- Gem.loaded_specs["multiwoven-integrations"].full_gem_path,
9
- "/lib/multiwoven/integrations"
10
- )
11
7
  META_DATA_PATH = "config/meta.json"
12
8
  CONNECTOR_SPEC_PATH = "config/spec.json"
13
9
  CATALOG_SPEC_PATH = "config/catalog.json"
14
10
  SNOWFLAKE_MAC_DRIVER_PATH = "/opt/snowflake/snowflakeodbc/lib/universal/libSnowflake.dylib"
15
11
  DATABRICKS_MAC_DRIVER_PATH = "/Library/simba/spark/lib/libsparkodbc_sb64-universal.dylib"
16
- MAIN_BRANCH_SHA = Git.ls_remote("https://github.com/Multiwoven/multiwoven-integrations")["head"][:sha]
17
12
 
18
13
  SNOWFLAKE_DRIVER_PATH = ENV["SNOWFLAKE_DRIVER_PATH"] || SNOWFLAKE_MAC_DRIVER_PATH
19
14
  DATABRICKS_DRIVER_PATH = ENV["DATABRICKS_DRIVER_PATH"] || DATABRICKS_MAC_DRIVER_PATH
@@ -114,7 +114,7 @@ module Multiwoven
114
114
  attribute? :supported_sync_modes, Types::Array.of(SyncMode).optional.default(["incremental"])
115
115
 
116
116
  # Applicable for database streams
117
- attribute? :source_defined_cursor, Types::Bool.optional
117
+ attribute? :source_defined_cursor, Types::Bool.default(false).optional
118
118
  attribute? :default_cursor_field, Types::Array.of(Types::String).optional
119
119
  attribute? :source_defined_primary_key, Types::Array.of(Types::Array.of(Types::String)).optional
120
120
  attribute? :namespace, Types::String.optional
@@ -168,6 +168,7 @@ module Multiwoven
168
168
  attribute :stream, Stream
169
169
  attribute :sync_mode, SyncMode
170
170
  attribute? :cursor_field, Types::String.optional
171
+ attribute? :current_cursor_field, Types::String.optional
171
172
  attribute :destination_sync_mode, DestinationSyncMode
172
173
  end
173
174
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Multiwoven
4
4
  module Integrations
5
- VERSION = "0.1.55"
5
+ VERSION = "0.1.57"
6
6
 
7
7
  ENABLED_SOURCES = %w[
8
8
  Snowflake
@@ -16,10 +16,10 @@ Gem::Specification.new do |spec|
16
16
  spec.required_ruby_version = ">= 2.6.0"
17
17
 
18
18
  # spec.metadata["allowed_push_host"] = nil
19
- spec.metadata["github_repo"] = "https://github.com/Multiwoven/multiwoven-integrations"
19
+ spec.metadata["github_repo"] = "https://github.com/Multiwoven/multiwoven"
20
20
  spec.metadata["homepage_uri"] = spec.homepage
21
- spec.metadata["source_code_uri"] = "https://github.com/Multiwoven/multiwoven-integrations"
22
- spec.metadata["changelog_uri"] = "https://github.com/Multiwoven/multiwoven-integrations/blob/master/CHANGELOG.md"
21
+ spec.metadata["source_code_uri"] = "https://github.com/Multiwoven/multiwoven/tree/main/integrations"
22
+ spec.metadata["changelog_uri"] = "https://github.com/Multiwoven/multiwoven/blob/main/integrations/CHANGELOG.md"
23
23
 
24
24
  # Specify which files should be added to the gem when it is released.
25
25
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
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.55
4
+ version: 0.1.57
5
5
  platform: ruby
6
6
  authors:
7
7
  - Subin T P
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-04-09 00:00:00.000000000 Z
11
+ date: 2024-04-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -480,11 +480,11 @@ homepage: https://www.multiwoven.com/
480
480
  licenses:
481
481
  - MIT
482
482
  metadata:
483
- github_repo: https://github.com/Multiwoven/multiwoven-integrations
483
+ github_repo: https://github.com/Multiwoven/multiwoven
484
484
  homepage_uri: https://www.multiwoven.com/
485
- source_code_uri: https://github.com/Multiwoven/multiwoven-integrations
486
- changelog_uri: https://github.com/Multiwoven/multiwoven-integrations/blob/master/CHANGELOG.md
487
- post_install_message:
485
+ source_code_uri: https://github.com/Multiwoven/multiwoven/tree/main/integrations
486
+ changelog_uri: https://github.com/Multiwoven/multiwoven/blob/main/integrations/CHANGELOG.md
487
+ post_install_message:
488
488
  rdoc_options: []
489
489
  require_paths:
490
490
  - lib
@@ -500,7 +500,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
500
500
  version: '0'
501
501
  requirements: []
502
502
  rubygems_version: 3.4.1
503
- signing_key:
503
+ signing_key:
504
504
  specification_version: 4
505
505
  summary: Integration suite for open source reverse ETL platform
506
506
  test_files: []