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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/has_one_attached_deletable.rb +2 -2
- data/lib/simple_form_bs5_file_input/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4c7f32784a219e9326ff640f76a864f434aa34d8bb2936ccc22e140bfe72f006
|
4
|
+
data.tar.gz: 465e669be8ed5a5060f00fae95ae7c571b32722fac8a9c3d57ada79bc805cd30
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 50c751cf9d272564b8b20361a5a5cb99cff4cded81ff3588628d401622c8e6629a867b54d2bcea6fb239c7d15c86ad6996902eac41b8fd44d3b5a4ecf19a7e38
|
7
|
+
data.tar.gz: 76f2cb77c249430a710c610d2586267e2d066c39f9febad088d830599cba0cdaed7d80a3013e963d653b75ecccb486619030fc2f17e9b4fcc86d9a8f16cb721b
|
data/Gemfile.lock
CHANGED
@@ -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
|