trestle-active_storage 0.0.1.pre.5 → 0.0.1.pre.6
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: 67d7519b59da317b24a75b0910024ee9d9824fa94dbc99b014111f2d966616c6
|
4
|
+
data.tar.gz: f789a626cc31b6facd75da4d2f4f0e5ae870cc900b1274591ff5d8beabe09ce9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 89909130608c4bfa636213ea1983a0d434dd74f9bbf32d0fc4d4276c64557ab737594364a166bda8f7ccd27b30bfe2907fc84e020e8aa81722c3c442466aebc6
|
7
|
+
data.tar.gz: cd801d6a0500e75f4a19259c3690d102eb367926951bf719fb0d474908b0150c3afbcc77fa09848d9b322bf33496e75addecf39c60c20a3ca81d1dd78a8e28fe
|
@@ -4,10 +4,10 @@ module Trestle
|
|
4
4
|
extend ActiveSupport::Concern
|
5
5
|
|
6
6
|
included do
|
7
|
-
before_action :define_attachment_accessors
|
7
|
+
before_action :define_attachment_accessors, except: [:index]
|
8
8
|
before_action :delete_attachment_params, only: [:create, :update]
|
9
|
-
after_action :attach_attachments, only:
|
10
|
-
after_action :purge_attachments, only:
|
9
|
+
after_action :attach_attachments, only: [:create, :update]
|
10
|
+
after_action :purge_attachments, only: [:update]
|
11
11
|
end
|
12
12
|
|
13
13
|
protected
|
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.6
|
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-04-
|
11
|
+
date: 2018-04-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|