xgamerx-cap-recipes 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -60,8 +60,8 @@ Capistrano::Configuration.instance(true).load do
60
60
  desc "Repair permissions to allow user to perform all actions"
61
61
  task :repair_permissions, :role => :app do
62
62
  puts "Applying correct permissions to allow for proper command execution"
63
- sudo "chown -R nate:nate #{current_path}"
64
- sudo "chown -R nate:nate #{current_path}/tmp"
63
+ sudo "chown -R #{user}:#{user} #{current_path}"
64
+ sudo "chown -R #{user}:#{user} #{current_path}/tmp"
65
65
  end
66
66
  end
67
67
 
@@ -49,8 +49,8 @@ Capistrano::Configuration.instance(true).load do
49
49
  task :repair_permissions, :role => :app do
50
50
  puts "Applying correct permissions to allow for proper command execution"
51
51
  sudo "chmod -R 744 #{current_path}/log #{current_path}/tmp"
52
- sudo "chown -R nate:nate #{current_path}"
53
- sudo "chown -R nate:nate #{current_path}/tmp"
52
+ sudo "chown -R #{user}:#{user} #{current_path}"
53
+ sudo "chown -R #{user}:#{user} #{current_path}/tmp"
54
54
  end
55
55
 
56
56
  desc "Displays the production log from the server locally"
@@ -2,7 +2,7 @@ module CapRecipes #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 1
5
- TINY = 3
5
+ TINY = 4
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xgamerx-cap-recipes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Esquenazi