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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9c5ee5f2807d13679e772758b25ab0b45413fbc9
4
- data.tar.gz: 1b30d4486d6737881037d5135dc3880968352ae8
3
+ metadata.gz: 003d67f2fca12aac7d73aa78af0e97706171d464
4
+ data.tar.gz: 1e7dfa42d876aa010c39308be1dd4ba86d7a3b3b
5
5
  SHA512:
6
- metadata.gz: 104713703abd560980b592d8eb1f58427909620021fd0f584ed59e0b9d91e53d7a16a28d17114678c3b1d18fd4379ba2905b5319e5eb05e63e7d7852cc1feb9b
7
- data.tar.gz: 76162b8f6bbb2b4ab8b887c7a9b4a1acaf1b51861d808aaf7633fd6d7a463463647e614da91d5a643a5dc4529de0532171c289f9805616df122b02ce2f740d27
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
 
@@ -1,3 +1,3 @@
1
1
  module EffectiveAssets
2
- VERSION = '1.6.7'.freeze
2
+ VERSION = '1.6.8'.freeze
3
3
  end
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.7
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-05-10 00:00:00.000000000 Z
11
+ date: 2016-06-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails