trestle-active_storage 0.0.1.pre.11 → 0.0.1.pre.12

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: 17892034ac7dea4ecfb5cd65aa3af6a1f867f6a2b3c6a7cad37645e37b0bdd68
4
- data.tar.gz: 9b080381fd79404533cd6dd31615d9e840c3804d33a0fa92a8b45b50e1dcd439
3
+ metadata.gz: c3196bd3489dd19c5c1b7753367428a3327ecda806183e86320c4a7cea6ca929
4
+ data.tar.gz: f3c1b13efe20904fed18e2dd760f2029144cd5aabe524c4552eb57542267e3b4
5
5
  SHA512:
6
- metadata.gz: eec5e25da26a1b833571b738792ecd4ff5bd898db6f024795e25b0929ff7af7acf49dd5c01b96a8536e323d83aa5524229b4dd154e7e4ae39994e1ac50a62530
7
- data.tar.gz: 8acbba322d4d5905a7177768623769b311b05e05339a38f2f5f50fe0d9732ce3577af1e6a49c594952a5b3568e66bea30b2b18b52b0953e55c99fd44cff7a31e
6
+ metadata.gz: c1f2e41ba552bedc9b728dbd092dd4ca9a7178a27801f9a56c79673fe1721c9a943e8113ec8c969d6a62a07a61a58e45a9db2d070e8c86f38ab5c5a6b20a301c
7
+ data.tar.gz: 7a8970337bcaf20f6b54789a2b51fec542927a21c5fa2ce9e2b105b8887e031a112da2318352c3cea98a08984d21e6d38006d61164551f318b0fa97246dceac6
@@ -25,6 +25,7 @@ module Trestle
25
25
  end
26
26
 
27
27
  def attach_attachments
28
+ instance = admin.build_instance(permitted_params, params)
28
29
  instance_params = admin.permitted_params(params)
29
30
 
30
31
  admin.active_storage_fields.each do |field|
@@ -1,5 +1,5 @@
1
1
  module Trestle
2
2
  module ActiveStorage
3
- VERSION = '0.0.1.pre.11'
3
+ VERSION = '0.0.1.pre.12'
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.11
4
+ version: 0.0.1.pre.12
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-05-12 00:00:00.000000000 Z
11
+ date: 2018-05-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails