forest_admin_agent 1.0.0.pre.beta.41 → 1.0.0.pre.beta.43

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4cf2cf28452f96556dff2a234ba9583c9ee7dfd737e7a5b9950dc173e8806c40
4
- data.tar.gz: 99e9e3c1c7f3a490a6c92048951d698a6bf39401728db22caf4aec7a6020438c
3
+ metadata.gz: 0635abd1d4c76ee63ba9b736d36aba872c71edd1e7b0b302f4e564b37642e855
4
+ data.tar.gz: a0991ae3cce732cd2ba7c9effe50608d42e58a5db971e64199adc810234b44d9
5
5
  SHA512:
6
- metadata.gz: fb7093defaccc0c4e7cf6424a5605687501e763fd6b0fa74cfa931685084f344522c16d04797b0c59c448bf1bdbb5d8b80ba6215d52f585216f007c235f6e5ec
7
- data.tar.gz: dfeb108f3cf907718032c1817011805366ddc406f95f8b36485eb4871edc68549ab2e05100de4f27dc3a7caa418ed418236ec98fedfe531fc304fe19e697fde8
6
+ metadata.gz: 54fa3a264a003fa877cba87f2c815f89b15cf9e7a984a1653c4a5276f237c6de73f84e4e1f359c38bc4bb914e9352a5d6d3f9fb56a47949d3697205926806079
7
+ data.tar.gz: eaf48bb97a7d1fb16f837735fece8759581c34ea3fb2beec03fbcb52691d013bcdbff84fcb4b70af8fbd98c7d5410460bfec2942f9a9398c46543da1ace0dda9
@@ -0,0 +1,13 @@
1
+ module ForestAdminAgent
2
+ module Http
3
+ module Exceptions
4
+ class ValidationError < HttpException
5
+ attr_reader :name
6
+
7
+ def initialize(message, name = 'ValidationError')
8
+ super(400, message, name)
9
+ end
10
+ end
11
+ end
12
+ end
13
+ end
@@ -7,7 +7,7 @@ module ForestAdminAgent
7
7
  class SchemaEmitter
8
8
  LIANA_NAME = "forest-rails"
9
9
 
10
- LIANA_VERSION = "1.0.0-beta.41"
10
+ LIANA_VERSION = "1.0.0-beta.43"
11
11
 
12
12
  def self.get_serialized_schema(datasource)
13
13
  schema_path = Facades::Container.cache(:schema_path)
@@ -1,3 +1,3 @@
1
1
  module ForestAdminAgent
2
- VERSION = "1.0.0-beta.41"
2
+ VERSION = "1.0.0-beta.43"
3
3
  end
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.0.0.pre.beta.41
4
+ version: 1.0.0.pre.beta.43
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: 2024-04-08 00:00:00.000000000 Z
12
+ date: 2024-04-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
@@ -238,6 +238,7 @@ files:
238
238
  - lib/forest_admin_agent/http/Exceptions/not_found_error.rb
239
239
  - lib/forest_admin_agent/http/Exceptions/require_approval.rb
240
240
  - lib/forest_admin_agent/http/Exceptions/unprocessable_error.rb
241
+ - lib/forest_admin_agent/http/Exceptions/validation_error.rb
241
242
  - lib/forest_admin_agent/http/forest_admin_api_requester.rb
242
243
  - lib/forest_admin_agent/http/router.rb
243
244
  - lib/forest_admin_agent/routes/abstract_authenticated_route.rb