forest_admin_rails 1.18.2 → 1.18.3

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: 4066efcbc68192f61811bf6ec28846b1cb645e8342840378c372e54accf2b09f
4
- data.tar.gz: eed796d9be40dafe02ee1b300b004ec3a622ce805c914cf02312ed678459c02c
3
+ metadata.gz: 2aba1d66b4e1a736504b1f4196bf0931c443d514a587449886e42eba0bec8192
4
+ data.tar.gz: e92c2bbeeb85bd312b38907ed1cf9704fa22573efa148dd8e907c95c0ce9c8cb
5
5
  SHA512:
6
- metadata.gz: 612896269c44ec73015382cb29f5a7db25548d23b0aaee961d936bd5b005123d89e5d01013783ad3235e39081ce62802f305f6be87e4896f4ada79ef259966ec
7
- data.tar.gz: 3c3be4a854387fa5f1672424b58bd93b30f4413d9b0bece555880ef76ede967367f68a7eefbe63b8da5ed89b7ead5f270da288ca0e856f3b280f979a9f26146d
6
+ metadata.gz: 01d16228698ac6b381c2e19fec5ae17be42612984fa66cbdfa847fc8fd096f7e5a9da2fbc9a711fb71bd5d7da1ef4cba5a9eb14f42aa56adfed5200ce3f9b4e9
7
+ data.tar.gz: d765039b4ffbf6ef166456f454fed104113a9f7bb05c3d6236a8a21cd1d2e9545b1ac0e745ce62d29470299c89d4406d58c6464dcaacc7f2ced45fe20850bb46
@@ -43,8 +43,6 @@ module ForestAdminRails
43
43
 
44
44
  def load_configuration
45
45
  return unless running_web_server?
46
-
47
- check_create_agent_location
48
46
  return unless create_agent_file_exists?
49
47
 
50
48
  # force eager loading models
@@ -56,32 +54,10 @@ module ForestAdminRails
56
54
  sse.run if ForestAdminRails.config[:instant_cache_refresh]
57
55
  end
58
56
 
59
- def check_create_agent_location
60
- old_path = Rails.root.join('app', 'lib', 'forest_admin_rails', 'create_agent.rb')
61
- new_path = Rails.root.join('lib', 'forest_admin_rails', 'create_agent.rb')
62
-
63
- return unless File.exist?(old_path) && !File.exist?(new_path)
64
-
65
- logger = ActiveSupport::Logger.new($stdout)
66
- logger.warn <<~WARNING
67
- ⚠️ DEPRECATION WARNING: create_agent.rb detected in old location!
68
-
69
- The file 'app/lib/forest_admin_rails/create_agent.rb' should now be located at:
70
- 'lib/forest_admin_rails/create_agent.rb'
71
-
72
- Please move your file to the new location:
73
- mkdir -p lib/forest_admin_rails
74
- mv app/lib/forest_admin_rails/create_agent.rb lib/forest_admin_rails/create_agent.rb
75
-
76
- This will become a hard requirement in a future version.
77
- WARNING
78
- end
79
-
80
57
  def create_agent_file_exists?
81
- old_path = Rails.root.join('app', 'lib', 'forest_admin_rails', 'create_agent.rb')
82
- new_path = Rails.root.join('lib', 'forest_admin_rails', 'create_agent.rb')
58
+ path = Rails.root.join('lib', 'forest_admin_rails', 'create_agent.rb')
83
59
 
84
- File.exist?(new_path) || File.exist?(old_path)
60
+ File.exist?(path)
85
61
  end
86
62
 
87
63
  def setup_agent_and_cache_routes
@@ -1,3 +1,3 @@
1
1
  module ForestAdminRails
2
- VERSION = "1.18.2"
2
+ VERSION = "1.18.3"
3
3
  end
@@ -32,6 +32,7 @@ module ForestAdminRails
32
32
  setting :append_schema_path, default: nil
33
33
  setting :skip_schema_update, default: false
34
34
  setting :disable_route_cache, default: false
35
+ setting :rpc_max_polling_threads, default: nil
35
36
 
36
37
  if defined?(Rails::Railtie)
37
38
  # logic for cors middleware,... here // or it might be into Engine
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.18.2
4
+ version: 1.18.3
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-12-12 00:00:00.000000000 Z
12
+ date: 2025-12-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: base64