strongmind-platform-sdk 3.19.5 → 3.19.7

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: 7d308d12a94ac038d5941d6fd082c88fb68e5a7a64e9817c35ff61645e8ee516
4
- data.tar.gz: '09ce6d8ff5f55dfbdc1f45946fac3af36ff4d08c0da35a65d804eda5d73ac26e'
3
+ metadata.gz: 754e564fcba0a20093713f1452d2176080b28436b73016aee77411312e53a09d
4
+ data.tar.gz: 3d112842c9ee3ae995b58efcfc99b9250eaa33060bf848933c3975b24d84d3d6
5
5
  SHA512:
6
- metadata.gz: ae1de644a295ad0f7caebb1d5d2eeb7c80c826ec5244afe599d8a63d08966c97fc4a72bac350bf69b1f16ec271edc1af5ab56cd4dc05deb9ebd4091cf868b5ce
7
- data.tar.gz: 4d420f8df7a06237252e33d6b8d995416beaa06e7a29dd111015d14df45689c4708610dae67edb2d713bcc58f69e47beb3931101b9b0a4cc216b2c16ce05129c
6
+ metadata.gz: 42cecb2285e9dd886c5ed3842732feba2689bfa5798d1e10ce2193fd68a7352976ce045ac8d6c93cd6120c8715c997020720500a0459835076bc53c3c491f5d0
7
+ data.tar.gz: 4bb0a58642abe346ed4da68ff4b31a1bbaac0eb2800a257d0f4e32689189eb9654ac67118c2110e13f1b56c984178f5fc9e9fe420c191a75015996906a409055
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- strongmind-platform-sdk (3.19.5)
4
+ strongmind-platform-sdk (3.19.7)
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.931.0)
98
+ aws-partitions (1.933.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.94.0)
107
+ aws-sdk-secretsmanager (1.95.0)
108
108
  aws-sdk-core (~> 3, >= 3.193.0)
109
109
  aws-sigv4 (~> 1.1)
110
110
  aws-sigv4 (1.8.0)
@@ -232,7 +232,7 @@ GEM
232
232
  rake (13.2.1)
233
233
  rdoc (6.6.3.1)
234
234
  psych (>= 4.0.0)
235
- redis-client (0.22.1)
235
+ redis-client (0.22.2)
236
236
  connection_pool
237
237
  regexp_parser (2.9.1)
238
238
  reline (0.5.7)
@@ -289,7 +289,7 @@ GEM
289
289
  strongmind-oneroster-client (2.0.3)
290
290
  json (~> 2.1, >= 2.1.0)
291
291
  typhoeus (~> 1.0, >= 1.0.1)
292
- strongmind-sidekiq-cloudwatchmetrics (2.6.3)
292
+ strongmind-sidekiq-cloudwatchmetrics (2.6.4)
293
293
  aws-sdk-cloudwatch (~> 1.6)
294
294
  sidekiq (>= 5.0, < 8.0)
295
295
  sys-uname (1.2.3)
data/README.md CHANGED
@@ -153,6 +153,13 @@ class MyModel < ApplicationRecord
153
153
  end
154
154
  ```
155
155
 
156
+ ### Configuration
157
+ You will need the following ENV variables set in your application to send data to the Data Pipeline (found in bitwarden):
158
+ * DATA_PIPELINE_HOST
159
+ * DATA_PIPELINE_USERNAME
160
+ * DATA_PIPELINE_PASSWORD
161
+
162
+
156
163
  ### Testing
157
164
 
158
165
  To test the `DataPipelineable` concern for a model, include the common shared examples in the model's spec file:
@@ -165,6 +172,13 @@ RSpec.describe MyModel, type: :model do
165
172
  end
166
173
  ```
167
174
 
175
+ Make sure to stub the call to the Data Pipeline in `rails_helper.rb`
176
+
177
+ ```ruby
178
+ config.before(:each) do
179
+ allow_any_instance_of(PlatformSdk::DataPipeline::Client).to receive(:post)
180
+ end
181
+ ```
168
182
 
169
183
 
170
184
  ## Setting up IRB for API Client Testing
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PlatformSdk
4
- VERSION = "3.19.5"
4
+ VERSION = "3.19.7"
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.5
4
+ version: 3.19.7
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-20 00:00:00.000000000 Z
11
+ date: 2024-05-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday