strongmind-platform-sdk 3.19.13 → 3.19.14

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: e7c3c712c2fc562f84a6c9c689aff656811166a69fd465c8c7be28fc5f74b9de
4
- data.tar.gz: c4ee9b6c0a9431888b896be1a10e16784a484a73581d5df3d55a6cfc1a981319
3
+ metadata.gz: 98bd52927d7e5a891a5f0d08859b3a93cfb972b139d32fd6a60eb7d4dc560318
4
+ data.tar.gz: 9961afa772f7f38b60dc22a7eee82faffaaad308f37d3e152b3213bc58b18f39
5
5
  SHA512:
6
- metadata.gz: 7283e747a0e4bdb2b91cefe583fa871b4d3a232a4898b4b1e63f1764b0c692da2cf102302963afd4b3b12c536a84e9a3ec25968165464f1d2aeb5f92f88cc0dd
7
- data.tar.gz: 3951f91be2df18a8ac2fcf8f18699df96516cb78beae5fb21547383a2ffa19561bd88121abd621b9490a7ee29b537d40cbb863d52849e40a793b77b49576c337
6
+ metadata.gz: '08ddd728575d5b9bdf091d0b085d1055e19d0e7ad1a08d4f37413aa3f03c77145f1d2cca2ca31c44b24ab2201631a67d175ff7241dfe68667205adf238b7dbfb'
7
+ data.tar.gz: 92b4be7d302beef485bf7998fb35f3072680cce9bc3b266275791f08e4d2fda898cc5c67368a266fd814831beabbd7d9a80f5e1a712789e71005772edb5ed5da
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- strongmind-platform-sdk (3.19.13)
4
+ strongmind-platform-sdk (3.19.14)
5
5
  activesupport (~> 7.1)
6
6
  aws-sdk-secretsmanager (~> 1.66)
7
7
  faraday (~> 2.5, >= 2.5.2)
data/README.md CHANGED
@@ -142,7 +142,7 @@ class MyModel < ApplicationRecord
142
142
  include PlatformSdk::ActiveRecord::DataPipelineable
143
143
 
144
144
  def self.pipeline_noun
145
- "StrongMind.Central.#{name}}"
145
+ "StrongMind.Central.#{name}"
146
146
  end
147
147
 
148
148
  def self.pipeline_meta
@@ -45,11 +45,9 @@ module PlatformSdk
45
45
  data_hash = { action: }.merge!(attributes.symbolize_keys)
46
46
 
47
47
  data_hash.merge!(pipeline_additional_attributes)
48
- Rails.logger.info("Data Hash after merge of additional attrs: #{data_hash}")
49
48
 
50
49
  data_hash = data_hash.except(*pipeline_excluded_attributes)
51
50
 
52
- Rails.logger.info("Data Pipeline Payload: #{data_hash}")
53
51
  data_hash
54
52
  end
55
53
 
@@ -69,16 +67,9 @@ module PlatformSdk
69
67
  }
70
68
  client = PlatformSdk::DataPipeline::Client.new(credentials)
71
69
 
72
- begin
73
- client.post(pipeline_payload(action)) unless Rails.env.development?
74
- rescue => e
75
- Rails.logger.info("Error posting to data pipeline: #{e.message}")
76
- end
77
-
70
+ client.post(pipeline_payload(action)) unless Rails.env.development?
78
71
  return unless respond_to?(:one_roster_data_type) && !Rails.env.development?
79
72
 
80
- Rails.logger.info('POSTING TO ONE ROSTER...')
81
-
82
73
  client.post(one_roster_pipeline_payload(deleted: action == "destroyed"))
83
74
  end
84
75
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PlatformSdk
4
- VERSION = "3.19.13"
4
+ VERSION = "3.19.14"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: strongmind-platform-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.19.13
4
+ version: 3.19.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Platform Team