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 +4 -4
- data/app/helpers/effective_assets_s3_helper.rb +3 -1
- 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: 6d86b151835a4b6d38f392747274fba680278ed4
|
4
|
+
data.tar.gz: 5b19883461c3df3048ebbe19aef15ca595c2c815
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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.
|
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:
|
11
|
+
date: 2016-01-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|