morse_assetable 0.1.2 → 0.1.3

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: fa35531756bfeff63bbb6352679418ef56e5b101
4
- data.tar.gz: 64b9f41461b47abf5ccf1788b47f93c84bb92618
3
+ metadata.gz: 7aa8a280d07c433cb22cd4db45ef5254b9b99d65
4
+ data.tar.gz: a071e09907e6ddd289a5c582767346d3d5504459
5
5
  SHA512:
6
- metadata.gz: 550605474b4d8306dbfe7f6682d5dec1cedf2777ed60ee1c9c2cf3c67dfe623aea210ecf79e771791c05fd57bd3fd66f8da37448108f9a61cc09b5f8f1b33609
7
- data.tar.gz: 8176bd84fa7fda4c8f7a99aae3af16a75bb99f058e4401a85f51d06aa9f1cb426cc97cc9aa911fce64e0f5bb3a6ef7a5f94bf6871cb20aefcc477371c945ebdf
6
+ metadata.gz: cd570e054aea0c5bce7e5d2ef9dd121d7b24e6d426db01d70eb413fc4e9859eff795f59437f59aa82b30476367c786e8f4ad20b7ec7615d17546dbc33b6d818d
7
+ data.tar.gz: 067227033d3824b8a8e2e67b17db09b51b76eed5775e2eea7cb4d41bfa27e43f8c9b697d42c47923567a7f3a859c8ecb72d9f65cadcb4649fcf225cf00f14a67
@@ -17,8 +17,8 @@ module MorseAssetable # rubocop:disable Metrics/ModuleLength
17
17
  validate :process_attachments, unless: :new_record?
18
18
  validate :process_multiple_attachments, unless: :new_record?
19
19
 
20
- after_save :process_attachments, if: :new_record?
21
- after_save :process_multiple_attachments, if: :new_record?
20
+ after_save :process_attachments
21
+ after_save :process_multiple_attachments
22
22
  end
23
23
 
24
24
  # ClassMethods
@@ -1,3 +1,3 @@
1
1
  module MorseAssetable
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: morse_assetable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Terry S