forest_admin_agent 1.16.0 → 1.16.1
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 15c6cbb6b1cb1d6c35475674167c413353fa3e5fedaf75822629fcfda8159435
|
|
4
|
+
data.tar.gz: a58d74e6e83eebf306c1db260eb09bc894664375f85a2278834c677f8262923c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ed9a6483fb2c21cf4309dc0b27a0877397d8f93e9fa1eeca5ee3a9a000b982c3893f3565a913f59c54916973a2da3066db26a6d60899f0f7937bd6fd80e8d0ce
|
|
7
|
+
data.tar.gz: 84c17c5af3728db42dc5ebf6f359d89b06f902f2da01889fe2bf84e2f2b5d76f2cc30a2de29a0192d00a7b439788ae1f251de943630adbf36179e74f5cdeba66
|
|
@@ -38,7 +38,7 @@ module ForestAdminAgent
|
|
|
38
38
|
return 400
|
|
39
39
|
end
|
|
40
40
|
|
|
41
|
-
error.status if error.respond_to?(:status) && error.status
|
|
41
|
+
return error.status if error.respond_to?(:status) && error.status
|
|
42
42
|
|
|
43
43
|
case error
|
|
44
44
|
when Exceptions::ValidationError, Exceptions::BadRequestError
|
|
@@ -11,7 +11,13 @@ module ForestAdminAgent
|
|
|
11
11
|
context.datasource = ForestAdminAgent::Facades::Container.datasource
|
|
12
12
|
|
|
13
13
|
if args[:params]['collection_name']
|
|
14
|
-
|
|
14
|
+
begin
|
|
15
|
+
context.collection = context.datasource.get_collection(args[:params]['collection_name'])
|
|
16
|
+
rescue ForestAdminDatasourceToolkit::Exceptions::ForestException => e
|
|
17
|
+
raise Http::Exceptions::NotFoundError, e.message if e.message.include?('not found')
|
|
18
|
+
|
|
19
|
+
raise
|
|
20
|
+
end
|
|
15
21
|
end
|
|
16
22
|
|
|
17
23
|
context
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: forest_admin_agent
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.16.
|
|
4
|
+
version: 1.16.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Matthieu
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: exe
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2025-12-
|
|
12
|
+
date: 2025-12-03 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: activesupport
|