Skip to content

Commit a820a52

Browse files
authored
Delete table_name and schema_name as required for TableSync::Publishing::Raw (#89)
* Fix TableSync::Publishing::Raw * Fix change log * Fix change log
1 parent ac8eb1f commit a820a52

File tree

6 files changed

+10
-5
lines changed

6 files changed

+10
-5
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
# Changelog
22
All notable changes to this project will be documented in this file.
33

4+
## [6.6.1] - 2025-01-30
5+
### Fixed
6+
- Delete table_name and schema_name as required for TableSync::Publishing::Raw
7+
- Delete table and schema as required for TableSync::Instrument#notify
8+
49
## [6.6.0] - 2024-12-06
510
### Added
611
- Add custom version attributes

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
table_sync (6.6.0)
4+
table_sync (6.6.1)
55
memery
66
rabbit_messaging (>= 1.1.0)
77
rails

lib/table_sync/instrument.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# frozen_string_literal: true
22

33
module TableSync::Instrument
4-
NOTIFIER_REQUIRED_ARGS = %i[table schema event count direction].freeze
4+
NOTIFIER_REQUIRED_ARGS = %i[event count direction].freeze
55

66
extend self
77

lib/table_sync/publishing/raw.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class TableSync::Publishing::Raw
1414

1515
attribute :event, default: :update
1616

17-
require_attributes :model_name, :original_attributes, :table_name, :schema_name
17+
require_attributes :model_name, :original_attributes
1818

1919
def publish_now
2020
message.publish

lib/table_sync/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module TableSync
4-
VERSION = "6.6.0"
4+
VERSION = "6.6.1"
55
end

spec/publishing/raw_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,5 @@
4242

4343
include_examples "publisher#new without expected fields",
4444
TableSync::Publishing::Raw,
45-
%i[model_name original_attributes table_name schema_name]
45+
%i[model_name original_attributes]
4646
end

0 commit comments

Comments
 (0)