oysters 1.0.3 → 1.0.4
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 +7 -2
- data/lib/oysters/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: 6c760b8f2b9090877d126767b059cb73b2cb2e06
|
4
|
+
data.tar.gz: 0aa64fb5f2f64f7b1bbc8b3e9d13ab592ac8f7df
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9eafcd5b7f7895c8118ebea878fd7482a7e8014f656dfa70db6224162952ff4ae9a2ea047b1115969411ab548c0a37b2426a4112d71c059dd572c96c94c3731c
|
7
|
+
data.tar.gz: c90bcddf0a2277b85bd87fb55c35aef3652ea58e75efac44722a0e90824a9da7a99a689349c8265477bf6ef93cad093a1f60104d10b5544b1c17fae147b9850c
|
@@ -10,7 +10,13 @@ Oysters.with_configuration do
|
|
10
10
|
log_path = [ Pathname.new(shared_path).join('log', "#{rails_env}.log").to_s ]
|
11
11
|
|
12
12
|
if application == 'oiv-ui'
|
13
|
-
%W(#{rails_env}_delayed_job.log #{rails_env}_security_audit.log unicorn_#{rails_env}.stderr.log).each do |log|
|
13
|
+
%W(#{rails_env}_delayed_job.log #{rails_env}_security_audit.log unicorn_#{rails_env}.stderr.log skylight.log).each do |log|
|
14
|
+
log_path << Pathname.new(shared_path).join('log', log).to_s
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
if application == 'oiv-api'
|
19
|
+
%W(skylight.log).each do |log|
|
14
20
|
log_path << Pathname.new(shared_path).join('log', log).to_s
|
15
21
|
end
|
16
22
|
end
|
@@ -23,7 +29,6 @@ Oysters.with_configuration do
|
|
23
29
|
|
24
30
|
put config.result(binding), tmp_file
|
25
31
|
sudo "mv #{tmp_file} #{conf_path}"
|
26
|
-
|
27
32
|
sudo "logrotate #{conf_path}"
|
28
33
|
end
|
29
34
|
end
|
data/lib/oysters/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: oysters
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Roman Samoilov
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-08-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|