deimos-ruby 1.11.1 → 1.11.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +2 -2
- data/Gemfile.lock +1 -1
- data/lib/deimos/active_record_consume/batch_consumption.rb +4 -0
- data/lib/deimos/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a5424d471910dffc66acead04734420173b69b41dae286fac03edb60825936fe
|
|
4
|
+
data.tar.gz: fe424e2929984d971cb1f48cd88e6a1d78c83783c0b81fd8b8376571ebcf5634
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9a5f53681cc8fdc79c39c2b42ae11c40f44246ffdf7bcfaeff6dac7b5b1e0cd21de4bc4a931615c1c4c944c0516dcc663a4638ad90d8e8ddf2a4ae9669b4fadc
|
|
7
|
+
data.tar.gz: fc21c854ebebce35ab5ecf7a113ca24d7ba4c1a0a880dc225d53b3fdf99823f9a1b06a039159a1a0fe0b7acedd45eec29f3b84af09a847efb329b03eef9f46bd
|
data/CHANGELOG.md
CHANGED
|
@@ -7,10 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## UNRELEASED
|
|
9
9
|
|
|
10
|
-
## 1.11.
|
|
10
|
+
## 1.11.2 - 2021-08-27
|
|
11
11
|
|
|
12
12
|
- ### Fixes :wrench:
|
|
13
|
-
- Fixed
|
|
13
|
+
- Fixed ActiveRecord batch consumption on MySQL.
|
|
14
14
|
|
|
15
15
|
- ### Roadmap :car:
|
|
16
16
|
- TestHelper does not automatically reset Deimos config before each test. [#120](https://github.com/flipp-oss/deimos/pull/120).
|
data/Gemfile.lock
CHANGED
|
@@ -100,6 +100,10 @@ module Deimos
|
|
|
100
100
|
|
|
101
101
|
options = if key_cols.empty?
|
|
102
102
|
{} # Can't upsert with no key, just do regular insert
|
|
103
|
+
elsif ActiveRecord::Base.connection.adapter_name =~ /mysql/i
|
|
104
|
+
{
|
|
105
|
+
on_duplicate_key_update: :all
|
|
106
|
+
}
|
|
103
107
|
else
|
|
104
108
|
{
|
|
105
109
|
on_duplicate_key_update: {
|
data/lib/deimos/version.rb
CHANGED