Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete table_name and schema_name as required for TableSync::Publishing::Raw #89

Merged
merged 3 commits into from
Jan 30, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Changelog
All notable changes to this project will be documented in this file.

## [6.6.1] - 2025-01-30
### Fixed
- Delete table_name and schema_name as required for TableSync::Publishing::Raw
- Delete table and schema as required for TableSync::Instrument#notify

## [6.6.0] - 2024-12-06
### Added
- Add custom version attributes
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
table_sync (6.6.0)
table_sync (6.6.1)
memery
rabbit_messaging (>= 1.1.0)
rails
Expand Down
2 changes: 1 addition & 1 deletion lib/table_sync/instrument.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# frozen_string_literal: true

module TableSync::Instrument
NOTIFIER_REQUIRED_ARGS = %i[table schema event count direction].freeze
NOTIFIER_REQUIRED_ARGS = %i[event count direction].freeze

extend self

Expand Down
2 changes: 1 addition & 1 deletion lib/table_sync/publishing/raw.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class TableSync::Publishing::Raw

attribute :event, default: :update

require_attributes :model_name, :original_attributes, :table_name, :schema_name
require_attributes :model_name, :original_attributes

def publish_now
message.publish
Expand Down
2 changes: 1 addition & 1 deletion lib/table_sync/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module TableSync
VERSION = "6.6.0"
VERSION = "6.6.1"
end
2 changes: 1 addition & 1 deletion spec/publishing/raw_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,5 @@

include_examples "publisher#new without expected fields",
TableSync::Publishing::Raw,
%i[model_name original_attributes table_name schema_name]
%i[model_name original_attributes]
end