luban-nginx 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/luban/deployment/packages/nginx/base.rb +23 -21
- data/lib/luban/deployment/packages/nginx/version.rb +1 -1
- data/luban-nginx.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6aa1ccfa3ab4c34c58263f2521b9382930c6c945
|
4
|
+
data.tar.gz: 5611f1fdc1a4dd09fac19ce07eef3aab07d9a4a3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 77f6f4d4269d591c1f42478567beb05984031749298b6887a93e1acfad8f93d4f57cd4eda9b4266216309d926159d6fac67366180e951da7e30018608fbfe5ea
|
7
|
+
data.tar.gz: c767a1b7e8c041190fe383c7360483bd5606c850ece799868df453f31d0da514bf77d4c5e27c69190087f1a557a01e2987e607497f71f1df821e0bee0724e0ad
|
data/CHANGELOG.md
CHANGED
@@ -25,33 +25,35 @@ module Luban
|
|
25
25
|
end
|
26
26
|
end
|
27
27
|
|
28
|
-
def
|
28
|
+
def setup_provision_tasks
|
29
29
|
super
|
30
|
-
|
31
|
-
|
30
|
+
provision_tasks[:install].option :pcre, "PCRE version"
|
31
|
+
provision_tasks[:install].option :openssl, "OpenSSL version"
|
32
32
|
end
|
33
33
|
|
34
34
|
def setup_control_tasks
|
35
35
|
super
|
36
36
|
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
37
|
+
commands[:control].alter do
|
38
|
+
task :config_test do
|
39
|
+
desc "Syntax check on config file"
|
40
|
+
action! :config_test
|
41
|
+
end
|
42
|
+
|
43
|
+
task :quit do
|
44
|
+
desc "Stop process gracefully"
|
45
|
+
action! :quit_process
|
46
|
+
end
|
47
|
+
|
48
|
+
task :reload do
|
49
|
+
desc "Reload process"
|
50
|
+
action! :reload_process
|
51
|
+
end
|
52
|
+
|
53
|
+
task :reopen do
|
54
|
+
desc "Reopen log files"
|
55
|
+
action! :reopen_logs
|
56
|
+
end
|
55
57
|
end
|
56
58
|
end
|
57
59
|
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.
|
23
|
+
spec.add_dependency 'luban', ">= 0.8.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
|
+
version: 0.2.3
|
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-
|
11
|
+
date: 2016-09-27 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.
|
19
|
+
version: 0.8.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.8.
|
26
|
+
version: 0.8.8
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|