trestle-active_storage 0.0.1.pre.8 → 0.0.1.pre.9
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: 3ee7417c14598bec051941be7fde0faf7ba8590cc996a40f718077986c34a651
|
4
|
+
data.tar.gz: 81f6f7312bec2711576309ff7311edf71b6d85574da5732add86b894c1deac58
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e20f61ea6bfbd1cb9798997d9d83b6a724dbf52800919e6b500e06585c3e5a7dbf5f901f7d82cccf72ff83c7128099c31993148e6f0491af879f01844068bfd8
|
7
|
+
data.tar.gz: df75642283827977edda8e9872e2da0fd3220661bb046c5ae85ad3f9c2b878cdf4aba67869532aadb38c14f711cad7baf6e615604991c64cc9bbeacee17029fc
|
@@ -4,7 +4,7 @@ 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, only: [:edit, :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.9
|
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-
|
11
|
+
date: 2018-05-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|