lalala 4.0.0.dev.78 → 4.0.0.dev.79
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/initializers/carrierwave.rb +10 -2
- data/lib/lalala/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d4bd0f95518cf34aefe4e652704362b4fdf0a957
|
4
|
+
data.tar.gz: aaaf9732d0e9f12d1ba249fbf35564c841b3677b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f0588b084d6b5bce6b3bba214963b89f549af34aef4422a192fb478a8ba90d6db8605d1d202d5d4b7bfcc6897ea93717caf38de4ee23fc808deca0fdb9cd4570
|
7
|
+
data.tar.gz: 9b18b50834a7194ac61bac09a80b0b9a43505aadc65413a1bd1bf86de21e647cde94d3e0bb015329ee60be5c92b576c75ea204c175395cc7a1cf507a1272b4e4
|
@@ -15,8 +15,16 @@ CarrierWave.configure do |config|
|
|
15
15
|
aws_secret_access_key: ENV["LALALA_S3_SECRET_KEY"]
|
16
16
|
}
|
17
17
|
|
18
|
-
config.fog_directory
|
19
|
-
|
18
|
+
config.fog_directory = File.join(
|
19
|
+
ENV["LALALA_S3_BUCKET"],
|
20
|
+
"storage",
|
21
|
+
ENV["APP_NAME"],
|
22
|
+
Rails.env.to_s,
|
23
|
+
"assets"
|
24
|
+
)
|
25
|
+
|
26
|
+
config.fog_attributes = {'Cache-Control'=>'max-age=315576000'}
|
27
|
+
config.asset_host = nil
|
20
28
|
|
21
29
|
|
22
30
|
else # dev
|
data/lib/lalala/version.rb
CHANGED