strongmind-platform-sdk 3.19.7 → 3.19.8

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 754e564fcba0a20093713f1452d2176080b28436b73016aee77411312e53a09d
4
- data.tar.gz: 3d112842c9ee3ae995b58efcfc99b9250eaa33060bf848933c3975b24d84d3d6
3
+ metadata.gz: a96d5aa7945fd70fc71dc5bca7a00756038727655e4e007a9bfad83a7251b54b
4
+ data.tar.gz: de985f9fa3bb6e62c1f2be87b4a9b265d267b03d8635e4010b37725cd9920dbc
5
5
  SHA512:
6
- metadata.gz: 42cecb2285e9dd886c5ed3842732feba2689bfa5798d1e10ce2193fd68a7352976ce045ac8d6c93cd6120c8715c997020720500a0459835076bc53c3c491f5d0
7
- data.tar.gz: 4bb0a58642abe346ed4da68ff4b31a1bbaac0eb2800a257d0f4e32689189eb9654ac67118c2110e13f1b56c984178f5fc9e9fe420c191a75015996906a409055
6
+ metadata.gz: '07877c3c9e11727ca2ae0712cb7ba783d7ceafe713e2ab916bc7b6c1dd25a8d3b8ba2a047c2007707454e9bacdb3a4df984df6221ee5d3459d132ee5bd25ff73'
7
+ data.tar.gz: 1aeefbe7d613d46efc392043ea769567a1da826e7f9aa3abe6dfb5e6d318e10cfe990be636bc87b259dc20737ad4399b5c2fc0bcbc0629b4fee6c2d93ecb826f
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- strongmind-platform-sdk (3.19.7)
4
+ strongmind-platform-sdk (3.19.8)
5
5
  activesupport (~> 7.1)
6
6
  aws-sdk-secretsmanager (~> 1.66)
7
7
  faraday (~> 2.5, >= 2.5.2)
@@ -95,7 +95,7 @@ GEM
95
95
  public_suffix (>= 2.0.2, < 6.0)
96
96
  ast (2.4.2)
97
97
  aws-eventstream (1.3.0)
98
- aws-partitions (1.933.0)
98
+ aws-partitions (1.934.0)
99
99
  aws-sdk-cloudwatch (1.91.0)
100
100
  aws-sdk-core (~> 3, >= 3.193.0)
101
101
  aws-sigv4 (~> 1.1)
@@ -68,10 +68,12 @@ module PlatformSdk
68
68
  end
69
69
 
70
70
  def update_record(record, column)
71
+ new_record = build(described_class.to_s.underscore.to_sym)
72
+
71
73
  column_class = record[column]
72
74
  case column_class
73
75
  when String
74
- record.update!(column => 'new value')
76
+ record.update!(column => new_record[column])
75
77
  when Integer
76
78
  record.update!(column => 69)
77
79
  when Boolean
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PlatformSdk
4
- VERSION = "3.19.7"
4
+ VERSION = "3.19.8"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: strongmind-platform-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.19.7
4
+ version: 3.19.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Platform Team