simple_form_bs5_file_input 0.0.7 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a8d494c48e5c5e83b8eb9ceecddff74c2326585a270dad9af472b1a3c3dfcca0
4
- data.tar.gz: 0b4dfe0fc0d349880060d23d98ff402d2cb54b75a293a62264ada3b8f3f48762
3
+ metadata.gz: 4c7f32784a219e9326ff640f76a864f434aa34d8bb2936ccc22e140bfe72f006
4
+ data.tar.gz: 465e669be8ed5a5060f00fae95ae7c571b32722fac8a9c3d57ada79bc805cd30
5
5
  SHA512:
6
- metadata.gz: d7a46f3bf31605f9232fcc9a29081471fdac8a89734212b165afdc965759708dbdcfd3a1f16ac23118e5105c0b7f260617f4d18a52990fdc6d1ce208a813aa26
7
- data.tar.gz: cb14c8ce8f5b21d73a02719ec51e935ae4b2e79e84c7e7eaeb106991623cb19add4237a39f67f1c936f6cddf0148cb135787dc8d6c876dc38ca4431a42f6616f
6
+ metadata.gz: 50c751cf9d272564b8b20361a5a5cb99cff4cded81ff3588628d401622c8e6629a867b54d2bcea6fb239c7d15c86ad6996902eac41b8fd44d3b5a4ecf19a7e38
7
+ data.tar.gz: 76f2cb77c249430a710c610d2586267e2d066c39f9febad088d830599cba0cdaed7d80a3013e963d653b75ecccb486619030fc2f17e9b4fcc86d9a8f16cb721b
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- simple_form_bs5_file_input (0.0.7)
4
+ simple_form_bs5_file_input (0.1.0)
5
5
  rails
6
6
  simple_form
7
7
 
@@ -1,5 +1,5 @@
1
1
  class ActiveRecord::Base
2
- def self.has_one_attached_deletable(name, **options)
2
+ def self.has_one_attached_deletable(name, **options, &block)
3
3
  class_eval do
4
4
  attr_accessor :"#{name}_delete"
5
5
  attr_accessor :"#{name}_infos"
@@ -49,6 +49,6 @@ class ActiveRecord::Base
49
49
  end
50
50
  end
51
51
 
52
- has_one_attached name, **options
52
+ has_one_attached name, **options, &block
53
53
  end
54
54
  end
@@ -1,3 +1,3 @@
1
1
  module SimpleFormBs5FileInput
2
- VERSION = "0.0.7".freeze
2
+ VERSION = "0.1.0".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_form_bs5_file_input
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pierre-andré Boissinot