forest_admin_rails 1.32.0 → 1.32.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 +4 -4
- data/lib/forest_admin_rails/engine.rb +7 -8
- data/lib/forest_admin_rails/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f771924568c9732112d2181cb36d2db0f4d4c91328a8b2c06b9a4c634d5dbc53
|
|
4
|
+
data.tar.gz: 0a77b39ab6ef3a92b2d0506a0f4e6dd053836b0e196c13aba831ce16982eb8b9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d303f5b21b353cff3bfb6c55160cac231f8d253f8f4f32a36e4260d41110d5af400f41e9421721214fa11efac9a0239463a3fd2c73b455cddca3b508efa89ea0
|
|
7
|
+
data.tar.gz: efd02430c08ab4010433dfade826a95afbffbb61f042484fb84685c70e7c37601d03bb8b2a940e980e609dcefd7988208414b2fe5373372ddb5c9b0debac1976
|
|
@@ -24,11 +24,6 @@ module ForestAdminRails
|
|
|
24
24
|
|
|
25
25
|
extend ActiveSupport::Concern
|
|
26
26
|
|
|
27
|
-
initializer 'forest_admin_rails.add_autoload_paths', before: :set_autoload_paths do |app|
|
|
28
|
-
lib_path = Rails.root.join('lib')
|
|
29
|
-
app.config.autoload_paths << lib_path unless app.config.autoload_paths.frozen?
|
|
30
|
-
end
|
|
31
|
-
|
|
32
27
|
initializer 'forest_admin_rails.error_subscribe' do
|
|
33
28
|
Rails.error.subscribe(ForestAdminErrorSubscriber.new)
|
|
34
29
|
end
|
|
@@ -49,16 +44,20 @@ module ForestAdminRails
|
|
|
49
44
|
# force eager loading models
|
|
50
45
|
Rails.application.eager_load!
|
|
51
46
|
|
|
47
|
+
require create_agent_path.to_s
|
|
48
|
+
|
|
52
49
|
setup_agent_and_cache_routes
|
|
53
50
|
|
|
54
51
|
sse = ForestAdminAgent::Services::SSECacheInvalidation
|
|
55
52
|
sse.run if ForestAdminRails.config[:instant_cache_refresh]
|
|
56
53
|
end
|
|
57
54
|
|
|
58
|
-
def
|
|
59
|
-
|
|
55
|
+
def create_agent_path
|
|
56
|
+
Rails.root.join('lib', 'forest_admin_rails', 'create_agent.rb')
|
|
57
|
+
end
|
|
60
58
|
|
|
61
|
-
|
|
59
|
+
def create_agent_file_exists?
|
|
60
|
+
File.exist?(create_agent_path)
|
|
62
61
|
end
|
|
63
62
|
|
|
64
63
|
def setup_agent_and_cache_routes
|
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.32.
|
|
4
|
+
version: 1.32.1
|
|
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: 2026-06-
|
|
12
|
+
date: 2026-06-11 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: base64
|