avo 2.10.0 → 2.10.2

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: 75872d452d6a4918c39857b6dbc0075477f13a87fa42d6bba3cc1da5fa924be0
4
- data.tar.gz: e3b24ecd70d7fc005a33fd4b4fd34b79fd1c228db6125be80574968f639677b8
3
+ metadata.gz: 1fcc28841e21f49a9ad7146589f8e280f352d160106bc67539630a819a2fea14
4
+ data.tar.gz: 7d0049458872fa7a81003d1358673b65ff29d38256b6d2d20c8fdaf757b09d8f
5
5
  SHA512:
6
- metadata.gz: 88ba446afaeca394f7231314e12e87d535c995fc92009f1f9010729a43a817680fd2290e8513bc643a5b4c446c3f4323b4db15f3f073b536b138ca8751a8d2dc
7
- data.tar.gz: f3e4ca2474e497d4693c68cb899d724ce511bba93a55db8d2c9666658c3f46c4744d635ed489001e9a9ca4e3921979fc503329a64b8686e875e2072a3033ce84
6
+ metadata.gz: aa278bfe2a28f7f441239455246af82da628b9d699e7a583e6da65972305c75e407fce432341b11d21ec5225ff67c8558b6017bb75a1d42e7be42f3653e0d259
7
+ data.tar.gz: 8a6ff3c392ce98703272555aabe01ae005f8df10081c7a1bde90e5a7ef99063144d5d573b4012b31b44d0b0c585334ee69fabf5f4414d1e053c2abaa61fe6ae6
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- avo (2.10.0)
4
+ avo (2.10.2)
5
5
  active_link_to
6
6
  addressable
7
7
  breadcrumbs_on_rails
@@ -219,7 +219,7 @@ GEM
219
219
  listen (3.7.1)
220
220
  rb-fsevent (~> 0.10, >= 0.10.3)
221
221
  rb-inotify (~> 0.9, >= 0.9.10)
222
- loofah (2.14.0)
222
+ loofah (2.18.0)
223
223
  crass (~> 1.0.2)
224
224
  nokogiri (>= 1.5.9)
225
225
  mail (2.7.1)
@@ -249,7 +249,7 @@ GEM
249
249
  net-protocol
250
250
  timeout
251
251
  nio4r (2.5.8)
252
- nokogiri (1.13.4)
252
+ nokogiri (1.13.6)
253
253
  mini_portile2 (~> 2.8.0)
254
254
  racc (~> 1.4)
255
255
  orm_adapter (0.5.0)
@@ -290,7 +290,7 @@ GEM
290
290
  rails-dom-testing (2.0.3)
291
291
  activesupport (>= 4.2.0)
292
292
  nokogiri (>= 1.6)
293
- rails-html-sanitizer (1.4.2)
293
+ rails-html-sanitizer (1.4.3)
294
294
  loofah (~> 2.3)
295
295
  railties (6.1.4.6)
296
296
  actionpack (= 6.1.4.6)
@@ -261,23 +261,23 @@ module Avo
261
261
  end
262
262
 
263
263
  def on_root_path
264
- [Avo::App.root_path, "#{Avo::App.root_path}/"].include?(request.original_fullpath)
264
+ [Avo.configuration.root_path, "#{Avo.configuration.root_path}/"].include?(request.original_fullpath)
265
265
  end
266
266
 
267
267
  def on_resources_path
268
- request.original_url.match?(/.*#{Avo::App.root_path}\/resources\/.*/)
268
+ request.original_url.match?(/.*#{Avo.configuration.root_path}\/resources\/.*/)
269
269
  end
270
270
 
271
271
  def on_api_path
272
- request.original_url.match?(/.*#{Avo::App.root_path}\/avo_api\/.*/)
272
+ request.original_url.match?(/.*#{Avo.configuration.root_path}\/avo_api\/.*/)
273
273
  end
274
274
 
275
275
  def on_dashboards_path
276
- request.original_url.match?(/.*#{Avo::App.root_path}\/dashboards\/.*/)
276
+ request.original_url.match?(/.*#{Avo.configuration.root_path}\/dashboards\/.*/)
277
277
  end
278
278
 
279
279
  def on_debug_path
280
- request.original_url.match?(/.*#{Avo::App.root_path}\/avo_private\/debug.*/)
280
+ request.original_url.match?(/.*#{Avo.configuration.root_path}\/avo_private\/debug.*/)
281
281
  end
282
282
 
283
283
  def on_custom_tool_page
@@ -64,10 +64,10 @@ module Avo
64
64
 
65
65
  def options
66
66
  {
67
- key_label: @key_label,
68
- value_label: @value_label,
69
- action_text: @action_text,
70
- delete_text: @delete_text,
67
+ key_label: key_label,
68
+ value_label: value_label,
69
+ action_text: action_text,
70
+ delete_text: delete_text,
71
71
  disable_editing_keys: @disable_editing_keys,
72
72
  disable_adding_rows: @disable_adding_rows,
73
73
  disable_deleting_rows: @disable_deleting_rows
data/lib/avo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Avo
2
- VERSION = "2.10.0" unless const_defined?(:VERSION)
2
+ VERSION = "2.10.2" 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.10.0
4
+ version: 2.10.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adrian Marin
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2022-07-05 00:00:00.000000000 Z
12
+ date: 2022-07-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails