forest_admin_agent 1.0.0.pre.beta.41 → 1.0.0.pre.beta.42

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: 3494ecf47fc3f27b6dbaec34e3445201f0ddbc126d5780a4f2d16986e5fb7609
4
+ data.tar.gz: 9372289e6df494173a364d2a4171f7d21307dee2b7ac13980abe475c42adadd9
5
5
  SHA512:
6
- metadata.gz: fb7093defaccc0c4e7cf6424a5605687501e763fd6b0fa74cfa931685084f344522c16d04797b0c59c448bf1bdbb5d8b80ba6215d52f585216f007c235f6e5ec
7
- data.tar.gz: dfeb108f3cf907718032c1817011805366ddc406f95f8b36485eb4871edc68549ab2e05100de4f27dc3a7caa418ed418236ec98fedfe531fc304fe19e697fde8
6
+ metadata.gz: a63de63b275e2af8dc092d332500fc684975f89832998300751b7caebda7592775523e35a60f3aa34bd6a5098f64c069d92818edd4a4a1b0a4b3c1b4c8386596
7
+ data.tar.gz: d28aa72a4ec134666a4a9334fde3bc8a0edf6746afc9505dcb552cd3ce25d250b6a40384ec123a8077f494071464c58cc77654587dd9f029b448724a9b401d95
@@ -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.42"
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.42"
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.42
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-11 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