Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
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