strongmind-platform-sdk 3.18.0 → 3.19.0

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: 7668529f3c043bc204f69d3f0776e6e8c9e8abea6bdf1c69a335d3f5705cc2e8
4
- data.tar.gz: 9e6058cd354f53a39e4e6bceacaf172ab616af924683fcfd40c332c6bf8b07b6
3
+ metadata.gz: a116ab2dded0c9438031825118549bba4f66437bba41e21a05f5b10eee34f0f9
4
+ data.tar.gz: cf95cc4393e3718a60f57a41348f11be5b2a5e7e850ba0476a69e9d0a6a604e3
5
5
  SHA512:
6
- metadata.gz: fbf1c4f53c4c88ea9eb66a825e44a30219ef3e39501293ac13630d05b10bdff29821ef0d18ce7a54948db807eb8c16ef74d79c44f8ac7bcb6e91887348dfb071
7
- data.tar.gz: d12b1686aeb1e5ab614fe844205476607b14c4e68b682e55375a829f07a17104ea9dbd05c9305fa9d3b75ee24a7f99f061b6415b1a733782048b25850a23f91e
6
+ metadata.gz: 6789b299100a35dc404bd7d9628949efe05e12c3eedf1642f3dd22d419e43c7f16555f6ac1ffe245e338b06fbb10a22fbb4a1ef2cdec81efb44fb5272402ad55
7
+ data.tar.gz: bc04bdfc93c81a2a5c843f70b34d8dc1d7a224771bd31ed17bb3bfed3bf0c9cc60cc85f8f872f6d2e4e1eb2e7dbb11f3b1f217d6982add5599f2a230972ac102
data/.rubocop.yml CHANGED
@@ -3,7 +3,7 @@ AllCops:
3
3
 
4
4
  Style/StringLiterals:
5
5
  Enabled: true
6
- EnforcedStyle: double_quotes
6
+ EnforcedStyle: single_quotes
7
7
 
8
8
  Style/StringLiteralsInInterpolation:
9
9
  Enabled: true
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- strongmind-platform-sdk (3.18.0)
4
+ strongmind-platform-sdk (3.19.0)
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.929.0)
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.93.0)
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
- "StrongMind.Central.#{self.class.name}"
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": "StrongMind.Central.#{described_class.name}",
6
+ "noun": described_class.pipeline_noun,
7
7
  "identifiers": { "id": record.id },
8
8
  "meta": { "source": 'strongmind-central' },
9
9
  "data": data || default_data,
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PlatformSdk
4
- VERSION = "3.18.0"
4
+ VERSION = "3.19.0"
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.18.0
4
+ version: 3.19.0
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-16 00:00:00.000000000 Z
11
+ date: 2024-05-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday