capistrano-sidekiq-sic 0.4.3 → 0.4.4

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: a71cc4cc5f71d5fe531c0c0eaa3ae2bcea8d3524
4
- data.tar.gz: 66997ad06a40f5cc2d51b7a706d22c47263f5cd8
3
+ metadata.gz: 2fe77e5cd188fac48600b14b732f301829273bb2
4
+ data.tar.gz: ad2f8bd6c3e5053b0e2656ee994055c7a0462eef
5
5
  SHA512:
6
- metadata.gz: e3127408035b12b5399ae3d16a45894fce5dd7964c4e93dbcbe19014a9be9f4a065f6287885db790a6a7fb6de55895a86b88040ae6fc8f0be89ed2269b9dc402
7
- data.tar.gz: a1cba19d09ecb0a175b7f7f5d646a3a5551d21515893fb0ec95bb2a94db22d47872ecd86eb2f7265db380c52d1bb14d63364ffe6899140f7044968c3a1848609
6
+ metadata.gz: 466987a7fd3ce7ddaa7983af4bde11f9f777875f99282aa241c22e290304623283ff59c10f125b67d3267abafcde2fedb7f51bd5d01acc86d36ce3c602544470
7
+ data.tar.gz: d83227a3d82fe9559a4faac58bfb1e095f5dbe81f264501f832c4851bfba9e3444e97a8b8ef8f5d9169654915046438db80a7a0e3d039a53b6c083508c79e07d
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module Sidekiq
3
- VERSION = '0.4.3'
3
+ VERSION = '0.4.4'
4
4
  end
5
5
  end
@@ -42,14 +42,13 @@ namespace :sidekiq do
42
42
 
43
43
  run_in_background = options.delete(:background)
44
44
 
45
- cmd = []
46
- command = "bash -l -c \"#{args.join(' ')}\""
45
+ command = [:bash, '-l', '-c', "\"#{args.join(' ')}\""]
47
46
 
47
+ cmd = []
48
48
  if sidekiq_user = fetch(:sidekiq_user)
49
- cmd += [:sudo, '-u', sidekiq_user, command]
50
- else
51
- cmd += args
49
+ cmd += [:sudo, '-u', sidekiq_user]
52
50
  end
51
+ cmd += command
53
52
 
54
53
  within release_path do
55
54
  with rails_env: fetch(:rails_env) do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-sidekiq-sic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3
4
+ version: 0.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Abdelkader Boudih