strongmind-platform-sdk 3.10.2 → 3.10.3

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: fca9cc6c8dcf5d60413ccaade1fe75d0d1c3034984d26f4fbfd2a72ec7eeee6b
4
- data.tar.gz: 66c6e120f49d0898618ca43879f09808b3e4042c25e3a57c14b5c65b21935372
3
+ metadata.gz: c54bdffdbc7b3419bc8098a873515ae18e3ed9a5a71e9f59779f633d029a37bd
4
+ data.tar.gz: 0a414cf9994dc87344960f47e21813c24633200c0f274bc3158a0783143959dc
5
5
  SHA512:
6
- metadata.gz: 74ca995cf7efa813996ff36cd0d260376a0964d54f30abaeecc90841ef2cd716c9ee58f2f2cf7af4546e65f5a21b0266930657b493c5c7e4556b25335e18402c
7
- data.tar.gz: 4355b9b306fd3cbdae3bf12cf956677eb8ed58c4a276afc0abc5e8954c5f335c966518bac240f9fd5956d19651f99fa208108fb3ec7df2c996f921fb5a7961c5
6
+ metadata.gz: ca18372549c1271f58322ede653e46160354d73448dab97789bc57ad8485e12f16d81378c536ae6cfb2c222cc31bdcfedce9035cf84e5b07496abd8593537600
7
+ data.tar.gz: 9747e4ca7a24f088e208ded3b9b6e3a36de49a8431946b9cdf76727ce54d4f4b031a6febaeea38c589ee74fe04496cd513aba03704e53da645afb027c6fd9662
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- strongmind-platform-sdk (3.10.2)
4
+ strongmind-platform-sdk (3.10.3)
5
5
  aws-sdk-secretsmanager (~> 1.66)
6
6
  devise
7
7
  faraday (~> 2.5, >= 2.5.2)
@@ -46,7 +46,7 @@ GEM
46
46
  ast (2.4.2)
47
47
  attr_required (1.0.2)
48
48
  aws-eventstream (1.3.0)
49
- aws-partitions (1.894.0)
49
+ aws-partitions (1.896.0)
50
50
  aws-sdk-core (3.191.3)
51
51
  aws-eventstream (~> 1, >= 1.3.0)
52
52
  aws-partitions (~> 1, >= 1.651.0)
@@ -134,6 +134,10 @@ GEM
134
134
  nokogiri (1.16.2)
135
135
  mini_portile2 (~> 2.8.2)
136
136
  racc (~> 1.4)
137
+ nokogiri (1.16.2-x86_64-darwin)
138
+ racc (~> 1.4)
139
+ nokogiri (1.16.2-x86_64-linux)
140
+ racc (~> 1.4)
137
141
  omniauth (2.1.2)
138
142
  hashie (>= 3.4.6)
139
143
  rack (>= 2.2.3)
@@ -235,7 +239,7 @@ GEM
235
239
  faraday-follow_redirects
236
240
  sys-uname (1.2.3)
237
241
  ffi (~> 1.1)
238
- thor (1.3.0)
242
+ thor (1.3.1)
239
243
  timeout (0.4.1)
240
244
  typhoeus (1.4.0)
241
245
  ethon (>= 0.9.0)
@@ -17,7 +17,7 @@ module PlatformSdk
17
17
 
18
18
  def with_rescue
19
19
  yield
20
- rescue IdentityNotFoundError => e
20
+ rescue ResourceNotFound => e
21
21
  puts e
22
22
  end
23
23
  end
@@ -40,9 +40,9 @@ module PlatformSdk
40
40
  def with_rescue
41
41
  yield
42
42
  rescue Faraday::ServerError => e
43
- raise_error_with_payload(IdentityServerError, e)
43
+ raise_error_with_payload(ServerError, e)
44
44
  rescue Faraday::ClientError => e
45
- raise_error_with_payload(IdentityClientError, e)
45
+ raise_error_with_payload(ClientError, e)
46
46
  end
47
47
 
48
48
  def post_payload(path, body)
@@ -10,8 +10,8 @@ require "platform_sdk/identity/clients"
10
10
 
11
11
  module PlatformSdk
12
12
  module Identity
13
- class IdentityNotFoundError < StandardError; end
14
- class IdentityServerError < Faraday::ServerError; end
15
- class IdentityClientError < Faraday::ClientError; end
13
+ class ResourceNotFound < Faraday::ResourceNotFound; end
14
+ class ServerError < Faraday::ServerError; end
15
+ class ClientError < Faraday::ClientError; end
16
16
  end
17
17
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PlatformSdk
4
- VERSION = "3.10.2"
4
+ VERSION = "3.10.3"
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.10.2
4
+ version: 3.10.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Platform Team