luban-rack 0.2.11 → 0.2.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/lib/luban/deployment/applications/rack/configurator.rb +1 -1
- data/lib/luban/deployment/applications/rack/paths.rb +0 -4
- data/lib/luban/deployment/applications/rack/templates/puma/puma.logrotate.erb +7 -3
- data/lib/luban/deployment/applications/rack/templates/thin/thin.logrotate.erb +7 -3
- data/lib/luban/deployment/applications/rack/version.rb +1 -1
- data/luban-rack.gemspec +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3b38c30077ba5bf9bc5067eac5dae29947d18f7c
|
4
|
+
data.tar.gz: 8fd79c6a76f324f47a9d4836a8ca79cf84b87e16
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 388fe7f67863878304657b7eac04587c565efb910dd66e579d70b79d0b4de7f8e6fb9f7006131ae8d78eb736d59d80a456bad44d6bf1eeedd42a2931fc83470d
|
7
|
+
data.tar.gz: 33c405f04ac770230f3b9c9209e805d1ef44f05c107a785702e495d059d2211ab5b7ce76adf68b4d59a263262eff6ced49cdc60945ce2bec09b92aa7d56a14c7
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,15 @@
|
|
1
1
|
# Change log
|
2
2
|
|
3
|
+
## Version 0.2.12 (Oct 12, 2016)
|
4
|
+
|
5
|
+
Minor enhancements:
|
6
|
+
* Updated logrotate configuration
|
7
|
+
* Deprecated logrotate related paths because logrotate is managed in Uber
|
8
|
+
* As a result, bump up gem dependency of Luban to version 0.9.0
|
9
|
+
|
10
|
+
Bug fixes:
|
11
|
+
* Checked excluded templates from super in Configurator
|
12
|
+
|
3
13
|
## Version 0.2.11 (Sept 28, 2016)
|
4
14
|
|
5
15
|
Minor enhancements:
|
@@ -1,12 +1,16 @@
|
|
1
1
|
# Logrotate configuration for Puma
|
2
2
|
|
3
3
|
<%= log_path.join('puma*.log') %> {
|
4
|
-
|
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
|
-
|
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 -HUP $(cat <%= pid_file_path %>) 2>/dev/null || true
|
@@ -1,12 +1,16 @@
|
|
1
1
|
# Thin logrotate configuration
|
2
2
|
|
3
3
|
<%= log_path.join('thin.*.log') %> {
|
4
|
-
|
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
|
-
|
12
|
+
dateformat -%Y%m%d-%H%M%S
|
13
|
+
olddir archived_logs
|
10
14
|
sharedscripts
|
11
15
|
postrotate
|
12
16
|
pgrep -f "<%= process_pattern %>" >/dev/null 2>&1 || pkill -USR1 -f "<%= process_pattern %>" >/dev/null 2>&1 || true
|
data/luban-rack.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.
|
23
|
+
spec.add_dependency 'luban', ">= 0.9.0"
|
24
24
|
|
25
25
|
spec.add_development_dependency "bundler", "~> 1.12"
|
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-rack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.12
|
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-
|
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.
|
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.
|
26
|
+
version: 0.9.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -123,7 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
123
123
|
version: '0'
|
124
124
|
requirements: []
|
125
125
|
rubyforge_project:
|
126
|
-
rubygems_version: 2.
|
126
|
+
rubygems_version: 2.6.7
|
127
127
|
signing_key:
|
128
128
|
specification_version: 4
|
129
129
|
summary: Rack support for Luban
|