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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f13f35dc7b30bc9eeef6dc6bb011aa50997f8b45
4
- data.tar.gz: b2560175b271caa6abeb72821a88595c81a44226
3
+ metadata.gz: 67f903743b80936b84b7805fb2696cc374f8cce0
4
+ data.tar.gz: 236886bf3acf2d21c448110b8dd199fd9ce7ff10
5
5
  SHA512:
6
- metadata.gz: 90cec59f37dce2efa4aacf9609fce2ac11613fe29b06079613dbaf467bd636f1a661f827ed14fec01b0f78478dc3cdbde4bbc3106606169925ddfa59386e4450
7
- data.tar.gz: 16159549f1808d50a52957e19bc853dd8bf5158d1dcdce1e3129fc0a1e3ba0dfc00863e50a3db43bd9cc5e022b4a32a0b36686d9a7170e96c37bd5b20746e93a
6
+ metadata.gz: 2dbeb44a087ed1cf83309119aa99720c06c098093f37af06b101f0886a2d63cef9ccb50a766418917ecff474cf113cb678bd6a8802111ada46acc7c8dbbf9ad0
7
+ data.tar.gz: a5e4df1174d6c591143ee1451caa23d713b9f0cdfe28771c3c7bfba78f4cc620ec6cd25f31163e6f00c04244dc38f6a37edda16da276a164100b61b7c8b4f1fb
@@ -26,3 +26,9 @@ And in your config/deploy.rb:
26
26
  Use a specific branch, rather than the default for the Hivequeen environment:
27
27
 
28
28
  cap staging deploy -s branch=some_feature
29
+
30
+ == License
31
+
32
+ @copy; Copyright Kickstarter, PBC.
33
+
34
+ Released under an MIT License.
@@ -10,6 +10,7 @@ Gem::Specification.new do |s|
10
10
  s.name = 'capistrano-hivequeen'
11
11
  s.version = HiveQueen::Version.to_s
12
12
  s.date = Time.now.strftime("%Y-%m-%d")
13
+ s.license = 'MIT'
13
14
 
14
15
  ## Make sure your summary is short. The description may be as long
15
16
  ## as you like.
@@ -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
- run "if [ -x /etc/init.d/rails_services ]; then /etc/init.d/rails_services upgrade; fi"
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
 
@@ -1,6 +1,6 @@
1
1
  class HiveQueen
2
2
  class Version
3
- @@version = '7.3.1'
3
+ @@version = '7.4.0'
4
4
 
5
5
  def self.to_s
6
6
  @@version
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.3.1
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-01-28 00:00:00.000000000 Z
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.4.5
120
+ rubygems_version: 2.5.1
120
121
  signing_key:
121
122
  specification_version: 2
122
123
  summary: Capistrano extensions for interacting with HiveQueen