oysters 1.0.3 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 284bc2709ba5573d07d3e99954cfc28741a82076
4
- data.tar.gz: d198356be08df384d913a37bcf2443b33a2769d0
3
+ metadata.gz: 6c760b8f2b9090877d126767b059cb73b2cb2e06
4
+ data.tar.gz: 0aa64fb5f2f64f7b1bbc8b3e9d13ab592ac8f7df
5
5
  SHA512:
6
- metadata.gz: 7f90a48a1c2c94f240a0bb1ad755be980c4b5b699967cd53ad36a9d76fa2685249187ad6f4247a08263b5afd5b2798d2250b2d6b059a8a2530716d6b589ab86a
7
- data.tar.gz: 6cde4163e906b218d6d55d973b5b3076bf71c6292ee967ea1ae6fd40edd3815b8e28ba8595ad8842d983d41079c5c59ac7743cee562fd83affb97c1a8680c5f8
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
@@ -1,3 +1,3 @@
1
1
  module Oysters
2
- VERSION = "1.0.3"
2
+ VERSION = "1.0.4"
3
3
  end
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.3
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-04-29 00:00:00.000000000 Z
11
+ date: 2015-08-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler