capsum 1.0.1 → 1.0.2

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: 85e3586a51966312fa8513bd41be439b09597a9c
4
- data.tar.gz: 26b249d06b461780fc79ba520e370a1414a2e789
3
+ metadata.gz: 27aed45b4b5a6ad540a9c8cb27d9b064dbf06372
4
+ data.tar.gz: e3a0f65f08963d2914e12a5c2315e3cc61ab9f44
5
5
  SHA512:
6
- metadata.gz: ac10142aa070ff49206ba9013439fa67c27f4297a1c453062c2ff643c861ca34b58cddc9ec4d33041a9bd121b1200b9fbe2ba3f824ba6fe042ef167ff7600532
7
- data.tar.gz: 573681b317e3c1626816e7616fcc7f895f920e05594744500629e24c6088e8076cb96bffe36814d69597ffe8ad8c24225ef44c9224d0a3fefbfc586d2246dddc
6
+ metadata.gz: 5973067dc7bb82e44c6bea05e7f16634b5914c05d3ec5041571efb2e1a14be4739f305bebdeae251fe9f10c25ee029dd0c7cca6e1262fd5fc2eacb75d0a96a90
7
+ data.tar.gz: b57cfdbf3887030e7778a1cf3666b0ac70ed5d8eb88ef552ef9c77a97c29d7b0e6e2295c1c10d9909618ac0bf0cce43399405c789e0d085bb065c896f704bb71
@@ -16,8 +16,7 @@ namespace :load do
16
16
  set :scm, :rsync
17
17
  set :rsync_options, %w[--archive --delete]
18
18
 
19
- default_env[:http_proxy] = ENV["http_proxy"] if ENV["http_proxy"]
20
- default_env[:https_proxy] = ENV["https_proxy"] if ENV["https_proxy"]
19
+ default_env[:https_proxy] = default_env[:http_proxy] = ENV["proxy"] if ENV["proxy"]
21
20
  end
22
21
  end
23
22
 
@@ -14,6 +14,7 @@ namespace :load do
14
14
  fetch(:linked_dirs).concat %w[
15
15
  log
16
16
  tmp/pids
17
+ tmp/cache
17
18
  ]
18
19
  end
19
20
  end
@@ -1,4 +1,4 @@
1
1
  module Capsum
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  CAPISTRANO_SIDEKIQ_REQUIREMENT = "~> 0.3.4"
4
4
  end
@@ -18,10 +18,10 @@ namespace :whenever do
18
18
  args = Array(fetch(:whenever_command)) + args
19
19
  on roles fetch(:whenever_roles) do |host|
20
20
  return if host.nil?
21
- host_args = Array(yield(host))
21
+ args = args + Array(yield(host)) if block_given?
22
22
  within release_path do
23
23
  with fetch(:whenever_command_environment_variables) do
24
- execute *(args + host_args)
24
+ execute *args
25
25
  end
26
26
  end
27
27
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capsum
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - sunteya
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-18 00:00:00.000000000 Z
11
+ date: 2014-10-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano