strongmind-platform-sdk 3.19.23 → 3.19.24

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: 2a0dd2dfbcea1c47ba2e8b77400a094d430f6f2c356954b5ef7e2d545bc6e625
4
- data.tar.gz: 3007ddad8c3e645963a6b3a5e351dbd1588b5972f0d4db07774b145f9b2a2b59
3
+ metadata.gz: 4114cb50d41949abb29d2cddaa243fb53841fff22cd8c70cfb4981179bba0132
4
+ data.tar.gz: '009d6c15649e26789c70d50aef1baab58af837a7e1f02e838009227a517b1359'
5
5
  SHA512:
6
- metadata.gz: 5967a5ab236db4f37f576a2186ddfba365bbd9bd9d0e7bd15f32a38e7a4ce222060139bdceb8863f0e79e2a4997343a0ad781106c61d26ec9fde79cc6861b71e
7
- data.tar.gz: 8f112796259b9b3eed42f6918f969997e24d5523e445486ff504df1d2fe1aede6e0f1742e375169be05f497697d0966d937a117b90975cc39901935ad42cceec
6
+ metadata.gz: ddc3285e6bee1ca774d875932e989bd62eac287788d182d45bae8d156d2f87d51592415f5e736bb57ebe40d82c1c974c0608816ae3dc0b6a94f42cbb02005caf
7
+ data.tar.gz: aedda545a1e97d1c8563650d14707d9ad133e1d4e1a95a59941d0cad1a5cb3d367994d1cfc7c8c4e8972fe04d8677df89d124e564b7487c54d0afdd79f4a87dc
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- strongmind-platform-sdk (3.19.23)
4
+ strongmind-platform-sdk (3.19.24)
5
5
  activesupport (~> 7.1)
6
6
  asset_sync
7
7
  aws-sdk-secretsmanager (~> 1.66)
@@ -103,7 +103,7 @@ GEM
103
103
  unf
104
104
  ast (2.4.2)
105
105
  aws-eventstream (1.3.0)
106
- aws-partitions (1.950.0)
106
+ aws-partitions (1.951.0)
107
107
  aws-sdk-cloudwatch (1.96.0)
108
108
  aws-sdk-core (~> 3, >= 3.201.0)
109
109
  aws-sigv4 (~> 1.5)
@@ -64,7 +64,7 @@ module PlatformSdk
64
64
 
65
65
  def column_to_update(record)
66
66
  [:string, :integer, :boolean].each do |type|
67
- columns_to_update = record.class.columns.select { |c| c.sql_type_metadata.type == type && !c.name.match?(/_type$/) && c.name != 'id' }
67
+ columns_to_update = record.class.columns.select { |c| c.sql_type_metadata.type == type && !c.name.match?(/(_id|_type)$/) && c.name != 'id' }
68
68
  return columns_to_update.first.name if columns_to_update.any?
69
69
  end
70
70
  end
@@ -84,4 +84,4 @@ module PlatformSdk
84
84
  end
85
85
  end
86
86
  end
87
- end
87
+ end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PlatformSdk
4
- VERSION = '3.19.23'
4
+ VERSION = '3.19.24'
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.23
4
+ version: 3.19.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - Platform Team