deimos-ruby 1.18.0 → 1.18.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 93b418353fa710fd90425980ec2772f6cb4249b1d4e43c3cadd9fb7a099eb387
4
- data.tar.gz: b319ef0e32b2e147b7ec0a3b131d8d8269e9818faa5313b6f56745498a2942c3
3
+ metadata.gz: 823450875be7162e712e18a4ef8dbfc2cb42b7891196eef87ca3052521eb59c1
4
+ data.tar.gz: f1eb07016db4e812342fadbaa2efbea29244a32207a5f472fc4c4f2d35961a88
5
5
  SHA512:
6
- metadata.gz: 60bd9c6f8cb7e4a63d791312b2fb784cfed4f2b0c60f679d71f1fff1adeac8ca86cbf285e42bf24fb1e65748fe5c1a0127710925d068c5d6bf6feeb4753ed203
7
- data.tar.gz: 9e30a8666f75d62fcee4c5f99de3737af5b58c6bafc9c54f786784785472233dc6a9135c525b288d04320acb716b58274b9dcaeeba90965a04721e0e77588c83
6
+ metadata.gz: 3f078251cf32655b278c0e1d8e9e32e436bb3ff2c15e669c5243e8134541ba581915cd0e94780abe6447e659ad95a20b4241250d14c32b7198832742651d56fe
7
+ data.tar.gz: a11952adb501faac033e594942a7fb5c1607c6f7bdbb54e0632fd344d151883ad0c415df3016f15b489df6be4d0c3fd2ff196d7565ad55238e64220acd0169fa
data/CHANGELOG.md CHANGED
@@ -7,6 +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.18.1 - 2022-11-01
11
+
12
+ - Fix the primary_key detection way in `state_based` mode
13
+
10
14
  # 1.18.0 - 2022-11-01
11
15
 
12
16
  ### Features :star:
@@ -39,7 +39,7 @@ module Deimos
39
39
 
40
40
  state = success ? @config.published_state : @config.failed_state
41
41
  klass = batch.first.class
42
- id_col = record.class.primary_key
42
+ id_col = klass.primary_key.to_sym
43
43
  timestamp_col = @config.timestamp_column
44
44
 
45
45
  attrs = { timestamp_col => Time.zone.now }
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Deimos
4
- VERSION = '1.18.0'
4
+ VERSION = '1.18.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deimos-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.18.0
4
+ version: 1.18.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Orner