effective_assets 1.5.7 → 1.5.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: 51e88e847616f9284bad1bde339f2ac6f0c74646
4
- data.tar.gz: dcf81fbed5b894d8b8aaccf6c42812318243719c
3
+ metadata.gz: 6d86b151835a4b6d38f392747274fba680278ed4
4
+ data.tar.gz: 5b19883461c3df3048ebbe19aef15ca595c2c815
5
5
  SHA512:
6
- metadata.gz: 76c89eee06c7205957b09572240e0aaf1f07a2c7bebd00c07510aa823c8fdca1473e3c00878894181cbde8abf31d87d3957685039ef7fefc22e8f427b4e532f7
7
- data.tar.gz: fab8369c48f34a931b69e7b4c10997c4d0a2d192bfdeaef37102849942b800a9c9d29a6823b53451bab2634e273c7f4f27f81d860af865251873d8607fd3ceac
6
+ metadata.gz: 903e43da59a2c98767ce03d6279a659c5810235c7cdcf9e8485415b019d003dfb4b59a3b90c09ff47a5899649f67a7db4b18c10c56938470e9941e3f0e339720
7
+ data.tar.gz: d1bb9bc0d95f799730122d6761808879080553c4b0c104815a71ff55ceb71218e680a7a93c80fc7d58fb35760396bc898010bd0172b0128c41b67fc89d3d15ea
@@ -57,10 +57,12 @@ module EffectiveAssetsS3Helper
57
57
  end
58
58
 
59
59
  def signature
60
+ Rails.logger.info 'WARNING: effective_assets config.aws_secret_access_key is blank. Please provide a value in config/initializers/effective_assets.rb' if @options[:aws_secret_access_key].blank?
61
+
60
62
  Base64.encode64(
61
63
  OpenSSL::HMAC.digest(
62
64
  OpenSSL::Digest::SHA1.new(),
63
- @options[:aws_secret_access_key], policy
65
+ @options[:aws_secret_access_key].to_s, policy
64
66
  )
65
67
  ).gsub("\n", "")
66
68
  end
@@ -1,3 +1,3 @@
1
1
  module EffectiveAssets
2
- VERSION = '1.5.7'.freeze
2
+ VERSION = '1.5.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.5.7
4
+ version: 1.5.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: 2015-12-08 00:00:00.000000000 Z
11
+ date: 2016-01-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails