recipiez 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/recipiez/version.rb +1 -1
- data/recipes/foreman.rb +6 -0
- metadata +3 -3
data/lib/recipiez/version.rb
CHANGED
data/recipes/foreman.rb
CHANGED
@@ -19,5 +19,11 @@ Capistrano::Configuration.instance(true).load do
|
|
19
19
|
task :restart, roles: :app do
|
20
20
|
run "sudo service #{application} start || sudo service #{application} restart"
|
21
21
|
end
|
22
|
+
|
23
|
+
desc "Rename Procfile for deployment."
|
24
|
+
task :rename_procfile do
|
25
|
+
run "cp #{release_path}/Procfile.#{rails_env} #{release_path}/Procfile"
|
26
|
+
end
|
27
|
+
|
22
28
|
end
|
23
29
|
end
|
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:
|
4
|
+
hash: 17
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 3
|
9
|
-
-
|
10
|
-
version: 0.3.
|
9
|
+
- 1
|
10
|
+
version: 0.3.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Alastair Brunton
|