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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4114cb50d41949abb29d2cddaa243fb53841fff22cd8c70cfb4981179bba0132
|
4
|
+
data.tar.gz: '009d6c15649e26789c70d50aef1baab58af837a7e1f02e838009227a517b1359'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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.
|
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
|
data/lib/platform_sdk/version.rb
CHANGED