luban-nginx 0.2.3 → 0.2.4

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: 6aa1ccfa3ab4c34c58263f2521b9382930c6c945
4
- data.tar.gz: 5611f1fdc1a4dd09fac19ce07eef3aab07d9a4a3
3
+ metadata.gz: 0005f7f384d301a1ae233df6c5b94652f600e92e
4
+ data.tar.gz: eebc77e19cad500a94ed667d20a961d60b718842
5
5
  SHA512:
6
- metadata.gz: 77f6f4d4269d591c1f42478567beb05984031749298b6887a93e1acfad8f93d4f57cd4eda9b4266216309d926159d6fac67366180e951da7e30018608fbfe5ea
7
- data.tar.gz: c767a1b7e8c041190fe383c7360483bd5606c850ece799868df453f31d0da514bf77d4c5e27c69190087f1a557a01e2987e607497f71f1df821e0bee0724e0ad
6
+ metadata.gz: 0257d25573c85f075ad0b0be1259da52101f9d876396a0f3e7fb32daf1f6d744aab9b5cbdbbf74abcf5ddfdb66c86ce26f70c03eee43b4ed93b06cca02270cac
7
+ data.tar.gz: 7ddf4357c4164b5d4ba01563b983771d82925cf8897bcfa7996efdcf0f6346e59a9c971001a4b3a22bae0e218527caec7f6bc16d86bc419d352885d0b69da9f9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Change log
2
2
 
3
+ ## Version 0.2.4 (Oct 12, 2016)
4
+
5
+ Minor enhancements:
6
+ * Updated logrotate configuration
7
+ * Bump up gem dependency of Luban to version 0.9.0
8
+
3
9
  ## Version 0.2.3 (Sept 28, 2016)
4
10
 
5
11
  Minor enhancements:
@@ -1,12 +1,16 @@
1
1
  # Nginx logrotate configuration
2
2
 
3
- <%= log_path.join('*.log') %> {
4
- daily
3
+ <%= log_path.join('nginx.*.log') %> {
4
+ hourly
5
+ maxsize 5M
6
+ maxage 14
7
+ rotate <%= 14 * 24 * (60 / 10) %>
5
8
  missingok
6
- rotate 14
7
9
  compress
10
+ compresscmd <%= `which gzip`.chomp %>
8
11
  dateext
9
- notifempty
12
+ dateformat -%Y%m%d-%H%M%S
13
+ olddir archived_logs
10
14
  sharedscripts
11
15
  postrotate
12
16
  [ ! -f <%= pid_file_path %> ] || kill -USR1 $(cat <%= pid_file_path %>) 2>/dev/null || true
@@ -2,7 +2,7 @@ module Luban
2
2
  module Deployment
3
3
  module Packages
4
4
  class Nginx
5
- VERSION = '0.2.3'
5
+ VERSION = '0.2.4'
6
6
  end
7
7
  end
8
8
  end
data/luban-nginx.gemspec CHANGED
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
20
20
  spec.require_paths = ["lib"]
21
21
 
22
22
  spec.required_ruby_version = ">= 2.1.0"
23
- spec.add_dependency 'luban', ">= 0.8.8"
23
+ spec.add_dependency 'luban', ">= 0.9.0"
24
24
 
25
25
  spec.add_development_dependency "bundler", "~> 1.11"
26
26
  spec.add_development_dependency "rake", "~> 10.0"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: luban-nginx
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rubyist Chi
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-09-27 00:00:00.000000000 Z
11
+ date: 2016-10-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: luban
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.8.8
19
+ version: 0.9.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 0.8.8
26
+ version: 0.9.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -117,7 +117,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
117
117
  version: '0'
118
118
  requirements: []
119
119
  rubyforge_project:
120
- rubygems_version: 2.5.1
120
+ rubygems_version: 2.6.7
121
121
  signing_key:
122
122
  specification_version: 4
123
123
  summary: Monit support for Luban