trestle-active_storage 0.0.1.pre.6 → 0.0.1.pre.7

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: 67d7519b59da317b24a75b0910024ee9d9824fa94dbc99b014111f2d966616c6
4
- data.tar.gz: f789a626cc31b6facd75da4d2f4f0e5ae870cc900b1274591ff5d8beabe09ce9
3
+ metadata.gz: ed4306163464d9fb96a988c7ddb069acbc1219b2a52a1e8cbc8c89431d1e469a
4
+ data.tar.gz: 9b9a076aa717b7223b05efb21fb0d8fe4d51d8da91aecdcfe159f97f9a6d9609
5
5
  SHA512:
6
- metadata.gz: 89909130608c4bfa636213ea1983a0d434dd74f9bbf32d0fc4d4276c64557ab737594364a166bda8f7ccd27b30bfe2907fc84e020e8aa81722c3c442466aebc6
7
- data.tar.gz: cd801d6a0500e75f4a19259c3690d102eb367926951bf719fb0d474908b0150c3afbcc77fa09848d9b322bf33496e75addecf39c60c20a3ca81d1dd78a8e28fe
6
+ metadata.gz: 884ce3b90560a534b8fe83534981fdad6711abfd9d6e98fd0668d86b2ebfaab77456ebf6f2b2e036adbf39ceb0cc601659ff70f247c7c494a92dd7d2abdafce2
7
+ data.tar.gz: 3906619481f6ec39a73dc27a76e31b28e4e7cd6e6cadc5ceefdbe432eeb803b3360e113b263415aec1993c33ab31e87ea6b0e2850c10e0148ad80132f4636cac
@@ -4,9 +4,9 @@ module Trestle
4
4
  extend ActiveSupport::Concern
5
5
 
6
6
  included do
7
- before_action :define_attachment_accessors, except: [:index]
7
+ before_action :define_attachment_accessors, except: [:index, :index]
8
8
  before_action :delete_attachment_params, only: [:create, :update]
9
- after_action :attach_attachments, only: [:create, :update]
9
+ before_action :attach_attachments, only: [:create, :update]
10
10
  after_action :purge_attachments, only: [:update]
11
11
  end
12
12
 
@@ -1,5 +1,5 @@
1
1
  module Trestle
2
2
  module ActiveStorage
3
- VERSION = '0.0.1.pre.6'
3
+ VERSION = '0.0.1.pre.7'
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.6
4
+ version: 0.0.1.pre.7
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-18 00:00:00.000000000 Z
11
+ date: 2018-04-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails