luban-nginx 0.2.4 → 0.2.5

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: 0005f7f384d301a1ae233df6c5b94652f600e92e
4
- data.tar.gz: eebc77e19cad500a94ed667d20a961d60b718842
3
+ metadata.gz: 71e47fe60cecbe6302f888cdc9a8b7e9ba02779b
4
+ data.tar.gz: 0c1ac20828c683d1f62040b604b11036e40cc08a
5
5
  SHA512:
6
- metadata.gz: 0257d25573c85f075ad0b0be1259da52101f9d876396a0f3e7fb32daf1f6d744aab9b5cbdbbf74abcf5ddfdb66c86ce26f70c03eee43b4ed93b06cca02270cac
7
- data.tar.gz: 7ddf4357c4164b5d4ba01563b983771d82925cf8897bcfa7996efdcf0f6346e59a9c971001a4b3a22bae0e218527caec7f6bc16d86bc419d352885d0b69da9f9
6
+ metadata.gz: 2daf0e4212c66779d149f7111860ef96721b21b7e5b6801c5b4b7243adbdaf8f7696899643f5435cd49797a604c1be6da4296fa3f9d68b4c233a6b64ca02fb0c
7
+ data.tar.gz: a068b3ce0b8dd7b95b16470720eb31da68acba4834d5e80fa360848dd334c1d8dbe78b91e1fbe94760f97ef23ca34c6b4801b2e954ed5e02695becf43233d7bb
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Change log
2
2
 
3
+ ## Version 0.2.5 (Oct 19, 2016)
4
+
5
+ Minor enhancements:
6
+ * Utilized new parameters, #logrotate_max_age, #logrotate_count, from Luban to unify logrotate setup
7
+ * Bump up gem dependency of Luban to version 0.9.8
8
+
3
9
  ## Version 0.2.4 (Oct 12, 2016)
4
10
 
5
11
  Minor enhancements:
@@ -3,8 +3,8 @@
3
3
  <%= log_path.join('nginx.*.log') %> {
4
4
  hourly
5
5
  maxsize 5M
6
- maxage 14
7
- rotate <%= 14 * 24 * (60 / 10) %>
6
+ maxage <%= logrotate_max_age %>
7
+ rotate <%= logrotate_count %>
8
8
  missingok
9
9
  compress
10
10
  compresscmd <%= `which gzip`.chomp %>
@@ -2,7 +2,7 @@ module Luban
2
2
  module Deployment
3
3
  module Packages
4
4
  class Nginx
5
- VERSION = '0.2.4'
5
+ VERSION = '0.2.5'
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.9.0"
23
+ spec.add_dependency 'luban', ">= 0.9.8"
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.4
4
+ version: 0.2.5
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-10-12 00:00:00.000000000 Z
11
+ date: 2016-10-19 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.9.0
19
+ version: 0.9.8
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.9.0
26
+ version: 0.9.8
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement