forest_admin_rails 1.0.0.pre.beta.99 → 1.0.0.pre.beta.101

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: 6e5104d0af34c37cf8183975218e13c279bcd3b33b0e8c13c300539a2fad0f96
4
- data.tar.gz: 05e9df10e23b6cdf53e9f6ce1e53cb12acc523b9c8fd31144d5586abfa9c89e0
3
+ metadata.gz: e481c025666b12087fd7a09a2d86d50a532eec80bdbe7f4ea380051782f30a61
4
+ data.tar.gz: 364cf884336c90c7894dfbcd11e44ca80f9b2179dcd44b2926674a1460001257
5
5
  SHA512:
6
- metadata.gz: 6289483efe23316d14a39724b4c6e605e7136ddbf8606d7a1b011941eb231ed5267118d88c36551e61f69aaf824de8ad9b65a7b69ee3b375642ac6056106de14
7
- data.tar.gz: e3b57b3a98185c0543cccca6c793f3cf7b98365fc53d2565599b0c27dd4fdf86f8182b146f8a3cb5c6891cf5ee938d8f29c4691f01beda3108d468fe9daa384c
6
+ metadata.gz: 7b4691ff4d85b1a37d63d982a3bf0b45328ef806e261ffe6402b05fdd045dfe60cb560fa1a01983bdc365e4c65888a61a3c988a3fee020e6518871c3ba03d3d7
7
+ data.tar.gz: dd06a22f4f3ba485e8581bae903f8abecdbf567632733c0c4f692ffe7837b3ddfec2bd7b74b790fbeaa799ab2765cb9f6826da3289746db5cae709fa979c4755
data/config/routes.rb CHANGED
@@ -7,7 +7,8 @@ ForestAdminRails::Engine.routes.draw do
7
7
  to: 'forest#index',
8
8
  via: agent_route[:method],
9
9
  as: name,
10
- route_alias: name
10
+ route_alias: name,
11
+ constraints: { id: /[a-zA-Z0-9\.]*+/ }
11
12
  end
12
13
  end
13
14
  end
@@ -43,7 +43,11 @@ module ForestAdminRails
43
43
  # force eager loading models
44
44
  Rails.application.eager_load!
45
45
 
46
- ForestAdminRails::CreateAgent.setup!
46
+ begin
47
+ ForestAdminRails::CreateAgent.setup!
48
+ rescue StandardError
49
+ # Ignored
50
+ end
47
51
 
48
52
  sse = ForestAdminAgent::Services::SSECacheInvalidation
49
53
  sse.run if ForestAdminRails.config[:instant_cache_refresh]
@@ -1,3 +1,3 @@
1
1
  module ForestAdminRails
2
- VERSION = "1.0.0-beta.99"
2
+ VERSION = "1.0.0-beta.101"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: forest_admin_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.pre.beta.99
4
+ version: 1.0.0.pre.beta.101
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthieu
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2025-02-27 00:00:00.000000000 Z
12
+ date: 2025-05-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: dry-configurable