trestle-active_storage 0.0.1.pre.10 → 0.0.1.pre.11
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 17892034ac7dea4ecfb5cd65aa3af6a1f867f6a2b3c6a7cad37645e37b0bdd68
|
4
|
+
data.tar.gz: 9b080381fd79404533cd6dd31615d9e840c3804d33a0fa92a8b45b50e1dcd439
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eec5e25da26a1b833571b738792ecd4ff5bd898db6f024795e25b0929ff7af7acf49dd5c01b96a8536e323d83aa5524229b4dd154e7e4ae39994e1ac50a62530
|
7
|
+
data.tar.gz: 8acbba322d4d5905a7177768623769b311b05e05339a38f2f5f50fe0d9732ce3577af1e6a49c594952a5b3568e66bea30b2b18b52b0953e55c99fd44cff7a31e
|
@@ -4,7 +4,7 @@ module Trestle
|
|
4
4
|
extend ActiveSupport::Concern
|
5
5
|
|
6
6
|
included do
|
7
|
-
before_action :define_attachment_accessors, only: [:show, :edit, :destroy]
|
7
|
+
before_action :define_attachment_accessors, only: [:show, :edit, :update, :destroy]
|
8
8
|
before_action :delete_attachment_params, only: [:create, :update]
|
9
9
|
before_action :attach_attachments, only: [:create, :update]
|
10
10
|
after_action :purge_attachments, only: [:update]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trestle-active_storage
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.1.pre.
|
4
|
+
version: 0.0.1.pre.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Richard Venneman
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-05-
|
11
|
+
date: 2018-05-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|