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: 872c2f680311bb580f4ec7a094e7f00b34b05553da40fccb6a36736bdcfbb40b
4
- data.tar.gz: eabbacecae65081cd3cbecd9f775433377d9a410f32a24d05d55ba18f022d612
3
+ metadata.gz: 3ee7417c14598bec051941be7fde0faf7ba8590cc996a40f718077986c34a651
4
+ data.tar.gz: 81f6f7312bec2711576309ff7311edf71b6d85574da5732add86b894c1deac58
5
5
  SHA512:
6
- metadata.gz: 6857179a85e738f7fb90c633ba2ef7965bb693a989cfda37d3b7f11b44d4c89e62b711bade910b9aba524d0d1f37021ff5e7c7d6557c125c393c6c9218047ace
7
- data.tar.gz: 78389c3d00ec156adfebce659bd5b3862682f575f2337ff38f15c81bbe9954ce4e094c6a86d29cfd8b606b25d4ae232df6141aaf3ff9381a21b85d8b0c162215
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, except: [:index, :new]
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]
@@ -1,5 +1,5 @@
1
1
  module Trestle
2
2
  module ActiveStorage
3
- VERSION = '0.0.1.pre.8'
3
+ VERSION = '0.0.1.pre.9'
4
4
  end
5
5
  end
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.8
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-04-20 00:00:00.000000000 Z
11
+ date: 2018-05-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails