strongmind-platform-sdk 3.19.28 → 3.19.29

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: fb238507ca4a9bda09f14bf05de01a72f00309593098b2edf9ab10e64a7f98eb
4
- data.tar.gz: 3e2ff07b9a83e68f6dc8a02f087507efda3820c51318342f80b6f9e4878180cb
3
+ metadata.gz: 320e36c7dd55685d757865b29fa004be3f60f97e7bd808b60f27c9eb2ef49d56
4
+ data.tar.gz: 2c2f7a47508a7c10668607a51944a72024fcade8e45450611232e27cc0de1e4b
5
5
  SHA512:
6
- metadata.gz: 3f861788db41a15d59d4e557b5e84534765d040f76abaae1f7b60db81628eabf264a2e05634a0e5a9c75ca2c32ace7a92c3aecfee59346befff842826fc2c623
7
- data.tar.gz: 9c6feb6436d5feb5b2288bfec00253e7aecc91caa131a85fa93c4eaba899ffb9a042cd902be95252e3a21e623f96649c98846baf307fa33db54d4519da0fc1fc
6
+ metadata.gz: a759953660daf91ade1193a4e58b4fa6bc69ed5af634c99a0c1b0364af7d863822a0ed0c28c90070b6891d49d7029bb546b2caad4b5625ef6eb376f7b409d367
7
+ data.tar.gz: e424a0ac570c46672851ae57a61f5e7230d86182f83944fca59829eedc4b92c67625e54b6d0bc5c7ea8a16eaea90223564f5c4fc7b130b328a80013c70923286
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- strongmind-platform-sdk (3.19.28)
4
+ strongmind-platform-sdk (3.19.29)
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.961.0)
106
+ aws-partitions (1.962.0)
107
107
  aws-sdk-cloudwatch (1.97.0)
108
108
  aws-sdk-core (~> 3, >= 3.201.0)
109
109
  aws-sigv4 (~> 1.5)
@@ -192,7 +192,7 @@ GEM
192
192
  method_source (1.1.0)
193
193
  mime-types (3.5.2)
194
194
  mime-types-data (~> 3.2015)
195
- mime-types-data (3.2024.0702)
195
+ mime-types-data (3.2024.0806)
196
196
  mini_mime (1.1.5)
197
197
  mini_portile2 (2.8.7)
198
198
  minitest (5.24.1)
@@ -54,11 +54,10 @@ module PlatformSdk
54
54
  end
55
55
 
56
56
  def pipeline_data(action)
57
- data_hash = { action: }.merge!(attributes.symbolize_keys)
58
-
59
- data_hash.merge!(pipeline_additional_attributes)
60
-
61
- data_hash.except(*pipeline_excluded_attributes)
57
+ attributes.symbolize_keys
58
+ .merge(pipeline_additional_attributes)
59
+ .except(*pipeline_excluded_attributes)
60
+ .merge(action:)
62
61
  end
63
62
 
64
63
  def pipeline_additional_attributes
@@ -87,12 +87,14 @@ module PlatformSdk
87
87
  "message_timestamp": Time.current.utc.iso8601
88
88
  }
89
89
  end
90
+
90
91
  let(:data) do
91
- { action: }
92
- .merge(record.attributes.symbolize_keys)
92
+ record.attributes.symbolize_keys
93
93
  .merge(record.pipeline_additional_attributes)
94
94
  .except(*record.pipeline_excluded_attributes)
95
+ .merge(action:)
95
96
  end
97
+
96
98
  it 'returns the expected payload' do
97
99
  expect(record.pipeline_payload(action)).to eq(pipeline_payload)
98
100
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PlatformSdk
4
- VERSION = '3.19.28'
4
+ VERSION = '3.19.29'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: strongmind-platform-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.19.28
4
+ version: 3.19.29
5
5
  platform: ruby
6
6
  authors:
7
7
  - Platform Team
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-08-05 00:00:00.000000000 Z
11
+ date: 2024-08-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday