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 +4 -4
- data/Gemfile.lock +7 -3
- data/lib/platform_sdk/identity/clients.rb +3 -3
- data/lib/platform_sdk/identity.rb +3 -3
- data/lib/platform_sdk/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c54bdffdbc7b3419bc8098a873515ae18e3ed9a5a71e9f59779f633d029a37bd
|
4
|
+
data.tar.gz: 0a414cf9994dc87344960f47e21813c24633200c0f274bc3158a0783143959dc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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.
|
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.
|
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
|
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(
|
43
|
+
raise_error_with_payload(ServerError, e)
|
44
44
|
rescue Faraday::ClientError => e
|
45
|
-
raise_error_with_payload(
|
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
|
14
|
-
class
|
15
|
-
class
|
13
|
+
class ResourceNotFound < Faraday::ResourceNotFound; end
|
14
|
+
class ServerError < Faraday::ServerError; end
|
15
|
+
class ClientError < Faraday::ClientError; end
|
16
16
|
end
|
17
17
|
end
|
data/lib/platform_sdk/version.rb
CHANGED