avo 2.3.1.pre.3 → 2.3.1.pre.4

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of avo might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 18e1805ff89ebee46cd3c45191d38f8a8953e09f3521df78f8ef922ff471065c
4
- data.tar.gz: 8a290c25c54ddf3d3a0708f4f859df219d9c5766c331bafbaffbe5320e3b50a2
3
+ metadata.gz: 829e497897bd13502cbdbf0901e7f109f27000e98ee3cb6b666f5bca5c31ffec
4
+ data.tar.gz: 614c37aa1f1bba1961aa60a3da9039d25f9eb75e36b23c7feed009369658b934
5
5
  SHA512:
6
- metadata.gz: 4288cfcdc4072c1e6916a0ea1da1d93369544198e4aa0f91a018ba2ed656bdf9bf4f80493a96eedf4dea956c7258c6021f7badbbc954784c2dfbefedce32673b
7
- data.tar.gz: 205ccbae96213b426456acfa1495a00cd383a8fdf7e270a29979a046623bc0907caa85a43b9a0d4eb0207a5b705437bb974ef6d9a80cae66fabab74279420881
6
+ metadata.gz: a44907a9fd7be8de74edc5ce1e88f48972fdb3ed4c0280fbfb9de23f6aee56c28b26c3a84689f2b62d99e52eede7461dd334c6beb7fd42781a123dd193c98b08
7
+ data.tar.gz: 1a74d23d69ed8b71356d6b2e7934b7a928d0962f451023808567eb9255224892d49896d5282b59bd97b67ebb694dcbc4a925e768e08739fb2b8f742200658c66
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- avo (2.3.1.pre.3)
4
+ avo (2.3.1.pre.4)
5
5
  active_link_to
6
6
  addressable
7
7
  breadcrumbs_on_rails
@@ -248,8 +248,6 @@ GEM
248
248
  nokogiri (1.13.4)
249
249
  mini_portile2 (~> 2.8.0)
250
250
  racc (~> 1.4)
251
- nokogiri (1.13.4-x86_64-linux)
252
- racc (~> 1.4)
253
251
  orm_adapter (0.5.0)
254
252
  pagy (5.10.1)
255
253
  activesupport
@@ -69,7 +69,11 @@
69
69
  <div class="relative bg-white rounded shadow-panel p-4 space-y-4 col-span-2">
70
70
  <div class="font-semibold">Debug report</div>
71
71
  <div>
72
- <%== ap Avo::App.debug_report(request) %>
72
+ <% if defined?(ap) %>
73
+ <%== ap Avo::App.debug_report(request) %>
74
+ <% else %>
75
+ <pre><%== JSON.pretty_generate(Avo::App.debug_report(request)) %></pre>
76
+ <% end %>
73
77
  </div>
74
78
  <div class="flex justify-end">
75
79
  <%= a_button icon: 'heroicons/outline/clipboard',
data/config/routes.rb CHANGED
@@ -39,8 +39,10 @@ Avo::Engine.routes.draw do
39
39
  delete "/:resource_name/:id/:related_name/:related_id", to: "associations#destroy", as: "associations_destroy"
40
40
  end
41
41
 
42
- get "/debug", to: "debug#index", as: "debug_index"
43
- post "/debug/refresh_license", to: "debug#refresh_license"
42
+ scope "/avo_private", as: "avo_private" do
43
+ get "/debug", to: "debug#index", as: "debug_index"
44
+ post "/debug/refresh_license", to: "debug#refresh_license"
45
+ end
44
46
 
45
47
  if Rails.env.development? or Rails.env.staging?
46
48
  scope "/avo_private", as: "avo_private" do
data/lib/avo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Avo
2
- VERSION = "2.3.1.pre.3" unless const_defined?(:VERSION)
2
+ VERSION = "2.3.1.pre.4" unless const_defined?(:VERSION)
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: avo
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.1.pre.3
4
+ version: 2.3.1.pre.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adrian Marin