avo 2.11.2.pre.1 → 2.11.2.pre.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: 60431c5efb911209dd56de78864a1c68a8a3eba305041f645213cf56ae134d39
4
- data.tar.gz: eccc5df0754aa8a0dff6428333cb618cbe4ddeaefb0bf4e41ec7289d5338cf15
3
+ metadata.gz: ab1a9ef1d382202009c6238b84e53b78cde379babde8bbfbdf95c94d64f422ae
4
+ data.tar.gz: d73bd4cf8b9125695e835f41971eff6ea37a4e0df79fb802e8eeb87b62eeb4c9
5
5
  SHA512:
6
- metadata.gz: 553477576dc7c80f634a2cf2278143b6ba5668af418598160a5255f52be3ad04da78adc8c52a824ac70c48230a2470dd87a96604c83071f62f68ba89b59e865f
7
- data.tar.gz: 9d5fbd770fc8e6e8609e17a72745325df0e5056c3354e87e24a6e9c17707c42073da5dccfd87aae914f368e3c3c1546e6d83328caa6db54db2e394e0882ebe07
6
+ metadata.gz: 0b6d7c8732f5e27e6963ef7e660c55a92c32740449a09924a4f0b300bf98ccb64637eb662d9f111e24d6c1a46fe0ebaa4ffc91b2e667de2189de2ba9dfbfe0c9
7
+ data.tar.gz: 57c439b934e2ef860157cec05d4da4e2652d45b1da258cc4410911ef81c9e99f011acc9ef0c8fd06f5c0452a765ccb89b6c5d91af46ef3a94ca9a85fbf9cd8c0
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- avo (2.11.2.pre.1)
4
+ avo (2.11.2.pre.2)
5
5
  active_link_to
6
6
  addressable
7
7
  breadcrumbs_on_rails
@@ -11,7 +11,7 @@ module Avo
11
11
  before_action :set_edit_title_and_breadcrumbs, only: [:edit, :update]
12
12
  before_action :fill_model, only: [:create, :update]
13
13
  # Don't run base authorizations for associations
14
- before_action :authorize_base_action, if: -> {controller_name != "associations"}
14
+ before_action :authorize_base_action, if: -> { controller_name != "associations" }
15
15
 
16
16
  def index
17
17
  @page_title = @resource.plural_name.humanize
@@ -278,10 +278,10 @@ module Avo
278
278
  # if it's a nested array, use the key
279
279
  param_id = param_id.first.first if param_id.is_a? Hash
280
280
 
281
- next unless @model.respond_to? "#{param_id}="
281
+ next unless model.respond_to? "#{param_id}="
282
282
 
283
283
  param_value = params[param_id]
284
- @model.send("#{param_id}=", param_value)
284
+ model.send("#{param_id}=", param_value)
285
285
  end
286
286
  end
287
287
 
data/lib/avo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Avo
2
- VERSION = "2.11.2.pre.1" unless const_defined?(:VERSION)
2
+ VERSION = "2.11.2.pre.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.11.2.pre.1
4
+ version: 2.11.2.pre.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adrian Marin