capistrano-hivequeen 7.3.1 → 7.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.rdoc +6 -0
- data/capistrano-hivequeen.gemspec +1 -0
- data/lib/capistrano/hivequeen/deploy.rb +6 -2
- data/lib/capistrano/hivequeen/version.rb +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 67f903743b80936b84b7805fb2696cc374f8cce0
|
4
|
+
data.tar.gz: 236886bf3acf2d21c448110b8dd199fd9ce7ff10
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2dbeb44a087ed1cf83309119aa99720c06c098093f37af06b101f0886a2d63cef9ccb50a766418917ecff474cf113cb678bd6a8802111ada46acc7c8dbbf9ad0
|
7
|
+
data.tar.gz: a5e4df1174d6c591143ee1451caa23d713b9f0cdfe28771c3c7bfba78f4cc620ec6cd25f31163e6f00c04244dc38f6a37edda16da276a164100b61b7c8b4f1fb
|
data/README.rdoc
CHANGED
@@ -111,8 +111,12 @@ Capistrano::Configuration.instance.load do
|
|
111
111
|
end
|
112
112
|
|
113
113
|
desc "restarts all rails services concurrently"
|
114
|
-
task :restart do
|
115
|
-
|
114
|
+
task :restart, max_hosts: 3 do
|
115
|
+
restart_cmd = "if [ -x /etc/init.d/rails_services ]; then /etc/init.d/rails_services upgrade; fi"
|
116
|
+
# Restart non-app servers all-at-once
|
117
|
+
run restart_cmd, roles: (roles.keys - [:app])
|
118
|
+
# Restart app servers in batchs of 3
|
119
|
+
run restart_cmd, max_hosts: 10, roles: :app
|
116
120
|
end
|
117
121
|
end
|
118
122
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-hivequeen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.
|
4
|
+
version: 7.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aaron Suggs
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-10-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|
@@ -97,7 +97,8 @@ files:
|
|
97
97
|
- lib/capistrano/hivequeen/setup.rb
|
98
98
|
- lib/capistrano/hivequeen/version.rb
|
99
99
|
homepage: http://github.com/kickstarter/capistrano-hivequeen
|
100
|
-
licenses:
|
100
|
+
licenses:
|
101
|
+
- MIT
|
101
102
|
metadata: {}
|
102
103
|
post_install_message:
|
103
104
|
rdoc_options:
|
@@ -116,7 +117,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
116
117
|
version: '0'
|
117
118
|
requirements: []
|
118
119
|
rubyforge_project:
|
119
|
-
rubygems_version: 2.
|
120
|
+
rubygems_version: 2.5.1
|
120
121
|
signing_key:
|
121
122
|
specification_version: 2
|
122
123
|
summary: Capistrano extensions for interacting with HiveQueen
|