procman 1.3.1 → 1.3.2

Sign up to get free protection for your applications and to get access to all the features.
data/lib/proc_man.rb CHANGED
@@ -4,7 +4,7 @@ require 'proc_man/constraint'
4
4
 
5
5
  module ProcMan
6
6
 
7
- VERSION = '1.3.1'
7
+ VERSION = '1.3.2'
8
8
 
9
9
  class Error < StandardError; end
10
10
 
@@ -21,7 +21,7 @@ Capistrano::Configuration.instance(:must_exist).load do
21
21
 
22
22
  def procman_command(command)
23
23
  command = "sh -c \"cd #{current_path} && bundle exec procman #{command} --environment #{fetch(:rails_env, 'production')}\""
24
- if user = fetch(:procman_user, 'app')
24
+ if user = fetch(:procman_user, nil)
25
25
  command = "sudo -u #{user} #{command}"
26
26
  end
27
27
  command
data/procman-1.3.1.gem ADDED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: procman
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ version: 1.3.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -28,6 +28,7 @@ files:
28
28
  - LICENCE
29
29
  - Procfile.template
30
30
  - procman-1.3.0.gem
31
+ - procman-1.3.1.gem
31
32
  - procman.gemspec
32
33
  - README.md
33
34
  homepage: http://atechmedia.com