webficient-capistrano-recipes 0.1.1 → 0.2.0

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.
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
- :patch: 1
2
+ :minor: 2
3
+ :patch: 0
3
4
  :major: 0
4
- :minor: 1
data/lib/recipes/log.rb CHANGED
@@ -22,7 +22,7 @@
22
22
  missingok
23
23
  }}
24
24
  put rotate_script, "#{shared_path}/logrotate_script"
25
- sudo "cp #{shared_path}/logrotate_script /etc/logrotate.d/#{application}"
25
+ "#{sudo} cp #{shared_path}/logrotate_script /etc/logrotate.d/#{application}"
26
26
  run "rm #{shared_path}/logrotate_script"
27
27
  end
28
28
 
@@ -3,7 +3,7 @@
3
3
 
4
4
  desc "Restart Rails app running under Phusion Passenger by touching restart.txt"
5
5
  task :bounce, :roles => :app do
6
- run "touch #{current_path}/tmp/restart.txt"
6
+ run "#{sudo} touch #{current_path}/tmp/restart.txt"
7
7
  end
8
8
 
9
9
  desc "Inspect Phusion Passenger's memory usage. Assumes binaries are located in /opt/ruby-enterprise."
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: webficient-capistrano-recipes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Phil Misiowiec