deimos-ruby 1.24.0 → 1.24.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/deimos-ruby.gemspec +1 -0
- data/lib/deimos/active_record_consume/mass_updater.rb +2 -1
- data/lib/deimos/version.rb +1 -1
- data/spec/spec_helper.rb +7 -0
- metadata +17 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d9f5a1b17f598db05ccd6c5086c3f7f34607c3272d15ba425a9a9af3d61fa6d2
|
4
|
+
data.tar.gz: 1324ecd619446398b84ce822f47ea73ffd7a7dfaed8d2b5a226194cda45ed86b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2a0e0fb2113acce5735ca3812a7dc3e5e5898880de2f81f406a5a68252c13a6ac9ca91b5906a0392ba5609db936c4c29c13458b5e2fefd18e0671738dafb5f0d
|
7
|
+
data.tar.gz: aa8104d7be9d74cf778decee10f73b4284ebb042772406efd6c24ec484331a1119495902d39e6e5b088a01503920658d01d24d0cdb537fbeef06cd645f02b43d
|
data/CHANGELOG.md
CHANGED
@@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
7
7
|
|
8
8
|
## UNRELEASED
|
9
9
|
|
10
|
+
# 1.24.1 - 2024-03-26
|
11
|
+
- Fix: ActiveRecordConsumer batch consumption was not working with the trilogy adapter.
|
12
|
+
|
10
13
|
# 1.24.0 - 2024-02-26
|
11
14
|
|
12
15
|
***BREAKING CHANGE****
|
data/deimos-ruby.gemspec
CHANGED
@@ -25,6 +25,7 @@ Gem::Specification.new do |spec|
|
|
25
25
|
spec.add_runtime_dependency('sigurd', '>= 0.1.0', '< 1.0')
|
26
26
|
|
27
27
|
spec.add_development_dependency('activerecord-import')
|
28
|
+
spec.add_development_dependency('activerecord-trilogy-adapter')
|
28
29
|
spec.add_development_dependency('avro', '~> 1.9')
|
29
30
|
spec.add_development_dependency('database_cleaner', '~> 1.7')
|
30
31
|
spec.add_development_dependency('ddtrace', '>= 0.11')
|
@@ -50,7 +50,8 @@ module Deimos
|
|
50
50
|
|
51
51
|
options = if @key_cols.empty?
|
52
52
|
{} # Can't upsert with no key, just do regular insert
|
53
|
-
elsif ActiveRecord::Base.connection.adapter_name.downcase =~ /mysql/
|
53
|
+
elsif ActiveRecord::Base.connection.adapter_name.downcase =~ /mysql/ ||
|
54
|
+
ActiveRecord::Base.connection.adapter_name.downcase =~ /trilogy/
|
54
55
|
{
|
55
56
|
on_duplicate_key_update: columns
|
56
57
|
}
|
data/lib/deimos/version.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
@@ -94,6 +94,13 @@ module DbConfigs
|
|
94
94
|
database: 'test',
|
95
95
|
host: ENV['MYSQL_HOST'] || '127.0.0.1'
|
96
96
|
},
|
97
|
+
{
|
98
|
+
adapter: 'trilogy',
|
99
|
+
port: 3306,
|
100
|
+
username: 'root',
|
101
|
+
database: 'test',
|
102
|
+
host: ENV['MYSQL_HOST'] || '127.0.0.1'
|
103
|
+
},
|
97
104
|
{
|
98
105
|
adapter: 'sqlite3',
|
99
106
|
database: 'test.sqlite3'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: deimos-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.24.
|
4
|
+
version: 1.24.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Orner
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-03-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: avro_turf
|
@@ -112,6 +112,20 @@ dependencies:
|
|
112
112
|
- - ">="
|
113
113
|
- !ruby/object:Gem::Version
|
114
114
|
version: '0'
|
115
|
+
- !ruby/object:Gem::Dependency
|
116
|
+
name: activerecord-trilogy-adapter
|
117
|
+
requirement: !ruby/object:Gem::Requirement
|
118
|
+
requirements:
|
119
|
+
- - ">="
|
120
|
+
- !ruby/object:Gem::Version
|
121
|
+
version: '0'
|
122
|
+
type: :development
|
123
|
+
prerelease: false
|
124
|
+
version_requirements: !ruby/object:Gem::Requirement
|
125
|
+
requirements:
|
126
|
+
- - ">="
|
127
|
+
- !ruby/object:Gem::Version
|
128
|
+
version: '0'
|
115
129
|
- !ruby/object:Gem::Dependency
|
116
130
|
name: avro
|
117
131
|
requirement: !ruby/object:Gem::Requirement
|
@@ -636,7 +650,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
636
650
|
- !ruby/object:Gem::Version
|
637
651
|
version: '0'
|
638
652
|
requirements: []
|
639
|
-
rubygems_version: 3.
|
653
|
+
rubygems_version: 3.4.10
|
640
654
|
signing_key:
|
641
655
|
specification_version: 4
|
642
656
|
summary: Kafka libraries for Ruby.
|