Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AS-AlStar committed Dec 6, 2024
1 parent 3071dd1 commit 32f4592
Show file tree
Hide file tree
Showing 13 changed files with 17 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: ["3.0", "3.1", "3.2", "3.3"]
ruby: ["3.1", "3.2", "3.3"]

name: ${{ matrix.ruby }}

Expand Down
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ inherit_gem:
rubocop-config-umbrellio: lib/rubocop.yml

AllCops:
TargetRubyVersion: 3.0
TargetRubyVersion: 3.1
Include:
- bin/*
- lib/**/*.rb
Expand Down
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
PATH
remote: .
specs:
table_sync (6.5.1)
table_sync (6.6.0)
memery
rabbit_messaging (>= 0.13)
rabbit_messaging (>= 1.1.0)
rails
self_data

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.5.1"
VERSION = "6.6.0"
end
1 change: 1 addition & 0 deletions spec/publishing/batch_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
event: event,
headers: headers,
routing_key: routing_key,
custom_version: nil,
}
end

Expand Down
1 change: 1 addition & 0 deletions spec/publishing/data/objects_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
{
objects: objects,
event: event,
custom_version: nil,
}
end

Expand Down
1 change: 1 addition & 0 deletions spec/publishing/data/raw_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
model_name: model_name,
attributes_for_sync: attributes_for_sync,
event: event,
custom_version: nil,
}
end

Expand Down
1 change: 1 addition & 0 deletions spec/publishing/message/batch_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
{
objects: collection_of_objects,
event: attributes[:event],
custom_version: nil,
}
end

Expand Down
2 changes: 2 additions & 0 deletions spec/publishing/message/raw_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
routing_key: "users",
headers: { kek: 1 },
event: :update,
custom_version: nil,
}
end

Expand All @@ -24,6 +25,7 @@
model_name: attributes[:model_name],
attributes_for_sync: attributes[:original_attributes],
event: attributes[:event],
custom_version: attributes[:custom_version],
}
end

Expand Down
2 changes: 2 additions & 0 deletions spec/publishing/message/single_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
routing_key: "users",
headers: { kek: 1 },
event: event,
custom_version: nil,
}
end

Expand All @@ -33,6 +34,7 @@
{
objects: collection_of_objects,
event: attributes[:event],
custom_version: attributes[:custom_version],
}
end

Expand Down
1 change: 1 addition & 0 deletions spec/publishing/raw_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
event: event,
table_name: nil,
schema_name: nil,
custom_version: nil,
}
end

Expand Down
1 change: 1 addition & 0 deletions spec/publishing/single_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
original_attributes: original_attributes,
event: event,
debounce_time: debounce_time,
custom_version: nil,
}
end

Expand Down
4 changes: 2 additions & 2 deletions table_sync.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "table_sync/version"

Gem::Specification.new do |spec|
spec.required_ruby_version = ">= 3.0.0"
spec.required_ruby_version = ">= 3.1.0"

spec.name = "table_sync"
spec.version = TableSync::VERSION
Expand All @@ -27,7 +27,7 @@ Gem::Specification.new do |spec|
end

spec.add_runtime_dependency "memery"
spec.add_runtime_dependency "rabbit_messaging", ">= 0.13"
spec.add_runtime_dependency "rabbit_messaging", ">= 1.1.0"
spec.add_runtime_dependency "rails"
spec.add_runtime_dependency "self_data"
end

0 comments on commit 32f4592

Please sign in to comment.