effective_assets 1.6.7 → 1.6.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/effective/delayed_job.rb +5 -0
- data/lib/effective_assets/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 003d67f2fca12aac7d73aa78af0e97706171d464
|
4
|
+
data.tar.gz: 1e7dfa42d876aa010c39308be1dd4ba86d7a3b3b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e4e5637aaeb539261a7039d28489b2856f90e500de201ac793ea44b22506e0baf2a99a36b958902d13afc0ed2cca2bf0e1a5b317c8ecdea5b3bd02e8b409756b
|
7
|
+
data.tar.gz: 377868fc8724114fa626cc952c6aaf5258fa759fe9a40808134782f35b568ad8b5b3ea10e07f1c69808f2ccb5322c8c5ae47a01786a14991a06e7486eadcc3dd
|
@@ -13,6 +13,11 @@ module Effective
|
|
13
13
|
if asset.present? && !asset.processed? && asset.upload_file.present? && asset.upload_file != 'placeholder'
|
14
14
|
puts "Processing asset ##{asset.id} from #{asset.upload_file}."
|
15
15
|
|
16
|
+
if asset.data.respond_to?(:aws_acl)
|
17
|
+
asset.data.aws_acl = asset.aws_acl
|
18
|
+
asset.data.versions.each { |_, data| data.aws_acl = asset.aws_acl }
|
19
|
+
end
|
20
|
+
|
16
21
|
if asset.upload_file.include?(Effective::Asset.string_base_path)
|
17
22
|
puts "String-based Asset processing and uploading..."
|
18
23
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: effective_assets
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Code and Effect
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-06-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|