strongmind-platform-sdk 3.18.0 → 3.19.1
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 +4 -4
- data/.rubocop.yml +1 -1
- data/Gemfile.lock +3 -3
- data/lib/platform_sdk/active_record/data_pipelineable.rb +3 -3
- data/lib/platform_sdk/identity/clients.rb +2 -0
- data/lib/platform_sdk/identity.rb +1 -0
- data/lib/platform_sdk/spec_support/shared_examples/data_pipelineable_examples.rb +1 -1
- data/lib/platform_sdk/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 146cf71cc22b8b62287022ecfe1a4139c74302d1d6d08fa22c6a25b02628e443
|
4
|
+
data.tar.gz: fac3ee5ea48523de5f246976613d4e0d0dd03b8f72877484735d92ddb83190f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6380d9e638bb28f53d33a12c65e948a3928b38fd28148fcbad0c0c471ad2c2fc26ae76645d824ec88c947467425a1cb6c0025bb55dbb0ff1f83d5561d8f001c5
|
7
|
+
data.tar.gz: 4d9cef2cd2731c221f48010a3e7aec6f94ccfe064df951c3cb66f3f72acf1b4d222e989a0f122c589bef80cbd9c5e0c2108b55430c4b3de7337ad2f25b3db405
|
data/.rubocop.yml
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
strongmind-platform-sdk (3.
|
4
|
+
strongmind-platform-sdk (3.19.1)
|
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.
|
98
|
+
aws-partitions (1.931.0)
|
99
99
|
aws-sdk-cloudwatch (1.91.0)
|
100
100
|
aws-sdk-core (~> 3, >= 3.193.0)
|
101
101
|
aws-sigv4 (~> 1.1)
|
@@ -104,7 +104,7 @@ GEM
|
|
104
104
|
aws-partitions (~> 1, >= 1.651.0)
|
105
105
|
aws-sigv4 (~> 1.8)
|
106
106
|
jmespath (~> 1, >= 1.6.1)
|
107
|
-
aws-sdk-secretsmanager (1.
|
107
|
+
aws-sdk-secretsmanager (1.94.0)
|
108
108
|
aws-sdk-core (~> 3, >= 3.193.0)
|
109
109
|
aws-sigv4 (~> 1.1)
|
110
110
|
aws-sigv4 (1.8.0)
|
@@ -14,7 +14,7 @@ module PlatformSdk
|
|
14
14
|
|
15
15
|
def pipeline_payload(action)
|
16
16
|
{
|
17
|
-
"noun": pipeline_noun,
|
17
|
+
"noun": self.class.pipeline_noun,
|
18
18
|
"identifiers": pipeline_identifiers,
|
19
19
|
"meta": pipeline_meta,
|
20
20
|
"data": pipeline_data(action),
|
@@ -23,8 +23,8 @@ module PlatformSdk
|
|
23
23
|
}
|
24
24
|
end
|
25
25
|
|
26
|
-
def pipeline_noun
|
27
|
-
|
26
|
+
def self.pipeline_noun
|
27
|
+
raise NotImplementedError, 'You must implement the pipeline_noun class method'
|
28
28
|
end
|
29
29
|
|
30
30
|
def pipeline_identifiers
|
@@ -3,7 +3,7 @@ module PlatformSdk
|
|
3
3
|
RSpec.shared_examples "DataPipelineable" do | data = nil|
|
4
4
|
let(:pipeline_payload) do
|
5
5
|
{
|
6
|
-
"noun":
|
6
|
+
"noun": described_class.pipeline_noun,
|
7
7
|
"identifiers": { "id": record.id },
|
8
8
|
"meta": { "source": 'strongmind-central' },
|
9
9
|
"data": data || default_data,
|
data/lib/platform_sdk/version.rb
CHANGED
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.
|
4
|
+
version: 3.19.1
|
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-05-
|
11
|
+
date: 2024-05-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|