oysters 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/oysters/initd/logrotate.rb +2 -3
- data/lib/oysters/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: 284bc2709ba5573d07d3e99954cfc28741a82076
|
4
|
+
data.tar.gz: d198356be08df384d913a37bcf2443b33a2769d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7f90a48a1c2c94f240a0bb1ad755be980c4b5b699967cd53ad36a9d76fa2685249187ad6f4247a08263b5afd5b2798d2250b2d6b059a8a2530716d6b589ab86a
|
7
|
+
data.tar.gz: 6cde4163e906b218d6d55d973b5b3076bf71c6292ee967ea1ae6fd40edd3815b8e28ba8595ad8842d983d41079c5c59ac7743cee562fd83affb97c1a8680c5f8
|
@@ -7,11 +7,10 @@ Oysters.with_configuration do
|
|
7
7
|
namespace :logrotate do
|
8
8
|
desc 'Install logrotate config'
|
9
9
|
task :install, roles: :app do
|
10
|
-
|
11
|
-
log_path = [ Pathname.new(shared_path).join('log', "#{environment}.log").to_s ]
|
10
|
+
log_path = [ Pathname.new(shared_path).join('log', "#{rails_env}.log").to_s ]
|
12
11
|
|
13
12
|
if application == 'oiv-ui'
|
14
|
-
%W(#{
|
13
|
+
%W(#{rails_env}_delayed_job.log #{rails_env}_security_audit.log unicorn_#{rails_env}.stderr.log).each do |log|
|
15
14
|
log_path << Pathname.new(shared_path).join('log', log).to_s
|
16
15
|
end
|
17
16
|
end
|
data/lib/oysters/version.rb
CHANGED