capistrano-unicorn-sic 0.3.2 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/capistrano-unicorn.gemspec +1 -1
- data/lib/capistrano/tasks/unicorn.cap +9 -9
- data/lib/capistrano/unicorn/version.rb +1 -1
- metadata +8 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cac55a6ec2bcf13e252a08ee9d76595bd768eacc
|
4
|
+
data.tar.gz: 4c10093784934845eb6501655f24587ba966382f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 54529e4b607deed3bc8106a0a768d79d6a8b2cde64f1bdceebc1d048f283287e7ef222bfd08ef96d11f004a73f9149ce55fd98196231c0fd53de4c49fb431252
|
7
|
+
data.tar.gz: a938860e9756be11d82b41dd9b10479bbafffffa8c0a3f0a84cd11f2f5f838f0952485b1e22b06d6cae4a178d3d35c476fec2c09c99229c9f8d50b1e9087fd36
|
data/capistrano-unicorn.gemspec
CHANGED
@@ -64,7 +64,7 @@ namespace :unicorn do
|
|
64
64
|
unicorn_bin #{fetch :unicorn_bin}
|
65
65
|
unicorn_options #{fetch :unicorn_options}
|
66
66
|
unicorn_restart_sleep_time #{fetch :unicorn_restart_sleep_time}
|
67
|
-
|
67
|
+
|
68
68
|
# Relative paths
|
69
69
|
app_subdir #{fetch :app_subdir}
|
70
70
|
unicorn_config_rel_path #{fetch :unicorn_config_rel_path}
|
@@ -86,28 +86,28 @@ namespace :unicorn do
|
|
86
86
|
|
87
87
|
desc 'Start Unicorn master process'
|
88
88
|
task :start do
|
89
|
-
on roles unicorn_roles
|
89
|
+
on roles unicorn_roles do
|
90
90
|
execute start_unicorn
|
91
91
|
end
|
92
92
|
end
|
93
93
|
|
94
94
|
desc 'Stop Unicorn'
|
95
95
|
task :stop do
|
96
|
-
on roles unicorn_roles
|
96
|
+
on roles unicorn_roles do
|
97
97
|
execute kill_unicorn('QUIT')
|
98
98
|
end
|
99
99
|
end
|
100
100
|
|
101
101
|
desc 'Immediately shutdown Unicorn'
|
102
102
|
task :shutdown do
|
103
|
-
on roles unicorn_roles
|
103
|
+
on roles unicorn_roles do
|
104
104
|
execute kill_unicorn('TERM')
|
105
105
|
end
|
106
106
|
end
|
107
107
|
|
108
108
|
desc 'Restart Unicorn'
|
109
109
|
task :restart do
|
110
|
-
on roles unicorn_roles
|
110
|
+
on roles unicorn_roles do
|
111
111
|
duplicate_unicorn
|
112
112
|
execute :sleep, fetch(:unicorn_restart_sleep_time)
|
113
113
|
|
@@ -119,14 +119,14 @@ namespace :unicorn do
|
|
119
119
|
|
120
120
|
desc 'Duplicate Unicorn'
|
121
121
|
task :duplicate do
|
122
|
-
on roles unicorn_roles
|
122
|
+
on roles unicorn_roles do
|
123
123
|
duplicate_unicorn
|
124
124
|
end
|
125
125
|
end
|
126
126
|
|
127
127
|
desc 'Reload Unicorn'
|
128
128
|
task :reload do
|
129
|
-
on roles unicorn_roles
|
129
|
+
on roles unicorn_roles do
|
130
130
|
if unicorn_is_running?
|
131
131
|
unicorn_send_signal('HUP')
|
132
132
|
else
|
@@ -137,7 +137,7 @@ namespace :unicorn do
|
|
137
137
|
|
138
138
|
desc 'Add a new worker'
|
139
139
|
task :add_worker do
|
140
|
-
on roles unicorn_roles
|
140
|
+
on roles unicorn_roles do
|
141
141
|
if unicorn_is_running?
|
142
142
|
unicorn_send_signal('TTIN')
|
143
143
|
end
|
@@ -146,7 +146,7 @@ namespace :unicorn do
|
|
146
146
|
|
147
147
|
desc 'Remove amount of workers'
|
148
148
|
task :remove_worker do
|
149
|
-
on roles unicorn_roles
|
149
|
+
on roles unicorn_roles do
|
150
150
|
if unicorn_is_running?
|
151
151
|
unicorn_send_signal('TTOU')
|
152
152
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-unicorn-sic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sebastian Gassner, Dan Sosedoff, Florian Schwab
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-03-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -42,16 +42,16 @@ dependencies:
|
|
42
42
|
name: capistrano
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 3.0
|
47
|
+
version: '3.0'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - "
|
52
|
+
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 3.0
|
54
|
+
version: '3.0'
|
55
55
|
description: Capistrano 3.x plugin that integrates Unicorn server tasks.
|
56
56
|
email: sebastian.gassner@gmail.com
|
57
57
|
executables: []
|
@@ -97,7 +97,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
97
97
|
version: '0'
|
98
98
|
requirements: []
|
99
99
|
rubyforge_project:
|
100
|
-
rubygems_version: 2.
|
100
|
+
rubygems_version: 2.4.5
|
101
101
|
signing_key:
|
102
102
|
specification_version: 4
|
103
103
|
summary: Unicorn integration for Capistrano 3.x
|
@@ -105,3 +105,4 @@ test_files:
|
|
105
105
|
- spec/capistrano_integration_spec.rb
|
106
106
|
- spec/config_spec.rb
|
107
107
|
- spec/spec_helper.rb
|
108
|
+
has_rdoc:
|