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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e343f61b542b2a65c0ff4ce43dd48193f067ab47
4
- data.tar.gz: 27438e12218629c900e5dfb5b66593ab68b3ade2
3
+ metadata.gz: 284bc2709ba5573d07d3e99954cfc28741a82076
4
+ data.tar.gz: d198356be08df384d913a37bcf2443b33a2769d0
5
5
  SHA512:
6
- metadata.gz: e991e520ae5d6b6c58edfb4affb6fe1549f551727deed9b646bc06e0084ecc0c1b493f67489c09af7133f1c6af82340b6e6828015f4f8c90e6f9c8b79a7abe7d
7
- data.tar.gz: a7bf6bf47f548dd087fbe84065afda6f1df73826477f0210c76c0033e1fb6ba24693573da71d56411b0998e08ffb7b93003fd71a897eafeda72f420b967aec16
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
- environment = Rails.env
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(#{environment}_delayed_job.log #{environment}_security_audit.log unicorn_#{environment}.stderr.log).each do |log|
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
@@ -1,3 +1,3 @@
1
1
  module Oysters
2
- VERSION = "1.0.2"
2
+ VERSION = "1.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oysters
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roman Samoilov