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: e1ca585a53f9ae9962b7bc9afde1ec975041667d8f0ceef1beb5cec1583bc6aa
4
- data.tar.gz: 5e0505773778caee8bcc6de0fc8c2ef869296e386a79f90c7373ef2a1d041b31
3
+ metadata.gz: 67d7519b59da317b24a75b0910024ee9d9824fa94dbc99b014111f2d966616c6
4
+ data.tar.gz: f789a626cc31b6facd75da4d2f4f0e5ae870cc900b1274591ff5d8beabe09ce9
5
5
  SHA512:
6
- metadata.gz: 4ef0ac3f980dfc7a604b792fb26795f793a5b2a43a3202e9490d9f2daa636b9862d05d01980a7f5eaf35f183a41cfec8b095c14ffada46b298b9e14f46835057
7
- data.tar.gz: 9e4cf5febcab382e153d3d2c25f758f5153f02cff0d34697b2c1f1b4f210e20cf2bb04dce777d6a4bfcd41988881bac8af9b41797f3be4fc93417257abda09b2
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: %i[create update]
10
- after_action :purge_attachments, only: %i[update]
9
+ after_action :attach_attachments, only: [:create, :update]
10
+ after_action :purge_attachments, only: [:update]
11
11
  end
12
12
 
13
13
  protected
@@ -1,5 +1,5 @@
1
1
  module Trestle
2
2
  module ActiveStorage
3
- VERSION = '0.0.1.pre.5'
3
+ VERSION = '0.0.1.pre.6'
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.5
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-17 00:00:00.000000000 Z
11
+ date: 2018-04-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails