dragonfly 1.1.4 → 1.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3173e1aab6116013a04d816d1d72f2fb8240c270
4
- data.tar.gz: e95788e8d9991755c3dade169c491aec280bb67b
3
+ metadata.gz: 4ffd2bb4d5173409df91ab216ffad595d9d92071
4
+ data.tar.gz: 20b8fe94c9af91ba77b18d990142c349c5eab9ef
5
5
  SHA512:
6
- metadata.gz: 298a37955543216a2621700a1e7f80558a580073e99665ff4eac98632095db517e8140581c495eb22eaef3034b0edb7510d6b272d5baf42c06455ddceee9ec08
7
- data.tar.gz: 8825e3ae315540658faf2874e394ebc83f43be665f01eb0be741b71687e59f54445e22163352765abcfafbf2a2b7a8d0ba513b6d9c3cc47b8cfa9746cdaf4223
6
+ metadata.gz: 9582f0a75464c24764a614a8c70a73a8889864eca6cebe1c47a4c1556b487c73414152c4c9db38c3c3d245c94c6808f7090d4f12d4f2d426fbd1d4d82ba6c6cb
7
+ data.tar.gz: 16553d6fbf78c3d7d30670c659f3725cdd33061f535b0d96fcd8bb4a733073aebae5df3a453dc434fcc1353a4b97b75db3d264969d9313bdf2d4710e4d7edaa6
data/History.md CHANGED
@@ -1,3 +1,9 @@
1
+ 1.1.5 (2018-03-23)
2
+ ===================
3
+ Fixes
4
+ -----
5
+ - Moved `destroy_dragonfly_attachments` into an `after_destroy` - issue #477 (eldotz)
6
+
1
7
  1.1.4 (2017-12-31)
2
8
  ===================
3
9
  Fixes
data/README.md CHANGED
@@ -47,7 +47,7 @@ Installation
47
47
 
48
48
  or in your Gemfile
49
49
  ```ruby
50
- gem 'dragonfly', '~> 1.1.4'
50
+ gem 'dragonfly', '~> 1.1.5'
51
51
  ```
52
52
 
53
53
  Require with
@@ -30,7 +30,7 @@ module Dragonfly
30
30
 
31
31
  # Add callbacks
32
32
  before_save :save_dragonfly_attachments if respond_to?(:before_save)
33
- before_destroy :destroy_dragonfly_attachments if respond_to?(:before_destroy)
33
+ after_destroy :destroy_dragonfly_attachments if respond_to?(:after_destroy)
34
34
 
35
35
  # Register the new attribute
36
36
  dragonfly_attachment_classes << new_dragonfly_attachment_class(attribute, app, config_block)
@@ -1,3 +1,3 @@
1
1
  module Dragonfly
2
- VERSION = '1.1.4'
2
+ VERSION = '1.1.5'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dragonfly
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.4
4
+ version: 1.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Evans
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-12-31 00:00:00.000000000 Z
11
+ date: 2018-03-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack