avo 2.36.2 → 2.36.3

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: fffcc60aed6880403561693f173334188a36f9528b5b08e60440fa265160e4bf
4
- data.tar.gz: e7466e2b084c0e3d77d3394985809bb8fd8b886d359c4f436c361e67b6cac17e
3
+ metadata.gz: 27f20585320045ee577bd03be710186c9567d5c074ee46fe02be7d9c75c9ddb4
4
+ data.tar.gz: f4feef65d5ec1e9c32c008248a66be6b3648c05e81f3788e3e44cdbb4ae11d25
5
5
  SHA512:
6
- metadata.gz: 2a7210a6165fb84856c409d9b43715e2a389573dce214f5c5a8d35efeab13720bc1261b997fb07b38149019a9f7e80e7fa22ff4897860c676b0e079330f8f088
7
- data.tar.gz: f02f82e66aa157a8406a7ba7439bf8fc669b6c11f79c2bb8c71d162d4112bc9b0f43e9cfbf407b38bc5f9cd8a20802330ada3365419d3138680b7305c960e0fd
6
+ metadata.gz: c6091673e94cc0c5dc4f80c7fb5d9d51d26dcb217f63a4c9cb348a8c95613dcec876c9d3f531e97be9afe6bdf3ae4663749c7ed906b68462cef2ca3bd7dba8fc
7
+ data.tar.gz: 6b4534ab29b1c76db996a58a4374fbfeba989bf8a8c390d2692335a2e03d176465364d32bb96cd0b2c3a0b3f0bb26330341f47794047d65df7049b16c15f97e2
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- avo (2.36.2)
4
+ avo (2.36.3)
5
5
  actionview (>= 6.0)
6
6
  active_link_to
7
7
  activerecord (>= 6.0)
@@ -7,7 +7,7 @@ module Avo
7
7
  before_action :set_model, only: [:destroy, :create]
8
8
 
9
9
  def create
10
- blob = ActiveStorage::Blob.create_and_upload! io: params[:file], filename: params[:filename]
10
+ blob = ActiveStorage::Blob.create_and_upload! io: params[:file].to_io, filename: params[:filename]
11
11
  association_name = BaseResource.valid_attachment_name(@model, params[:attachment_key])
12
12
 
13
13
  if association_name.blank?
data/lib/avo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Avo
2
- VERSION = "2.36.2" unless const_defined?(:VERSION)
2
+ VERSION = "2.36.3" 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.36.2
4
+ version: 2.36.3
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: 2023-07-14 00:00:00.000000000 Z
12
+ date: 2023-07-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activerecord