recipiez 0.3.1 → 0.3.2

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.
@@ -1,3 +1,3 @@
1
1
  module Recipiez
2
- VERSION = '0.3.1'
2
+ VERSION = '0.3.2'
3
3
  end
data/recipes/foreman.rb CHANGED
@@ -1,22 +1,22 @@
1
1
  Capistrano::Configuration.instance(true).load do
2
2
  namespace :foreman do
3
3
  desc "Export the Procfile to Ubuntu's upstart scripts"
4
- task :export, roles: :app do
4
+ task :export, roles => :app do
5
5
  run "cd #{current_path} && sudo bundle exec foreman export upstart /etc/init -a #{application} -u #{user} -l #{shared_path}/log"
6
6
  end
7
7
 
8
8
  desc "Start the application services"
9
- task :start, roles: :app do
9
+ task :start, roles => :app do
10
10
  sudo "service #{application} start"
11
11
  end
12
12
 
13
13
  desc "Stop the application services"
14
- task :stop, roles: :app do
14
+ task :stop, roles => :app do
15
15
  sudo "service #{application} stop"
16
16
  end
17
17
 
18
18
  desc "Restart the application services"
19
- task :restart, roles: :app do
19
+ task :restart, roles => :app do
20
20
  run "sudo service #{application} start || sudo service #{application} restart"
21
21
  end
22
22
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: recipiez
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 23
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 1
10
- version: 0.3.1
9
+ - 2
10
+ version: 0.3.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Alastair Brunton