Skip to content
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
8 changes: 6 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
# Changelog
All notable changes to this project will be documented in this file.

## [6.9.1] - 2025-10-02
### Fixed
- DateTime can be String now

## [6.9.0] - 2025-10-02
### Changed
- Add check of data scalar types in order to provide readable error text.
### Added
- Add check of data scalar types in order to provide readable error text

## [6.8.0] - 2025-08-25
### Changed
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.9.0)
table_sync (6.9.1)
memery
rabbit_messaging (>= 1.7.0)
rails
Expand Down
2 changes: 1 addition & 1 deletion lib/table_sync/utils/schema/validator/type.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def initialize(display_name, klasses)

# rubocop:disable Layout/ClassStructure
STRING = new("String", [String]).freeze
DATETIME = new("DateTime", [::Sequel::SQLTime, Date, Time, DateTime]).freeze
DATETIME = new("DateTime", [String, ::Sequel::SQLTime, Date, Time, DateTime]).freeze
INTEGER = new("Integer", [Integer]).freeze
DECIMAL = new("Decimal", [Numeric]).freeze
BOOLEAN = new("Boolean", [TrueClass, FalseClass]).freeze
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.9.0"
VERSION = "6.9.1"
end
1 change: 0 additions & 1 deletion spec/receiving/models_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,6 @@
end
let(:error) do
{
datetime: "expected DateTime, got: String",
integer: "expected Integer, got: Float",
decimal: "expected Decimal, got: String",
boolean: "expected Boolean, got: String",
Expand Down