pushapp 0.0.3 → 0.0.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.
- checksums.yaml +4 -4
- data/lib/pushapp/commands.rb +1 -0
- data/lib/pushapp/hook.rb +1 -1
- data/lib/pushapp/tasks/nginx_export.rb +1 -1
- data/lib/pushapp/tasks/upstart.rb +2 -2
- data/lib/pushapp/version.rb +1 -1
- data/templates/hook/base.erb +4 -0
- data/templates/hook/tasks.erb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1f0350ae01e3025935899744b2a50baecffb8d66
|
|
4
|
+
data.tar.gz: ceb92cb8030bfac6d17b294ce0ab13e632e933c2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 704bfbd4c0ec5bd280c7cc6d445d21788eb8aab8251019a5fb678d098b6b07ccb3d8937f3b9b3b57698fe551f3ca6d5c5d80bc876dbf0e7e59cf9efb7eae103e
|
|
7
|
+
data.tar.gz: e7871a1228f353ffb85a78f6a7bfda03ba6596c7bda8671183e2d4af65063e286b56efc12fb5fbf1378a70520373af8f2bc541f54f034e033dbbe2822346b7ac
|
data/lib/pushapp/commands.rb
CHANGED
data/lib/pushapp/hook.rb
CHANGED
|
@@ -45,7 +45,7 @@ module Pushapp
|
|
|
45
45
|
|
|
46
46
|
class UpstartRestart < Upstart
|
|
47
47
|
def run_on job
|
|
48
|
-
system "#{sudo} initctl start #{job} || initctl restart #{job}"
|
|
48
|
+
system "#{sudo} initctl start #{job} || #{sudo} initctl restart #{job}"
|
|
49
49
|
end
|
|
50
50
|
|
|
51
51
|
register_as :upstart_restart
|
|
@@ -53,7 +53,7 @@ module Pushapp
|
|
|
53
53
|
|
|
54
54
|
class UpstartReload < Upstart
|
|
55
55
|
def run_on job
|
|
56
|
-
system "#{sudo} initctl start #{job} || initctl restart #{job}"
|
|
56
|
+
system "#{sudo} initctl start #{job} || #{sudo} initctl restart #{job}"
|
|
57
57
|
end
|
|
58
58
|
|
|
59
59
|
register_as :upstart_reload
|
data/lib/pushapp/version.rb
CHANGED
data/templates/hook/base.erb
CHANGED
data/templates/hook/tasks.erb
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
if [ -
|
|
1
|
+
if [ -f ".git/.pushapp.setup.flag" ]; then
|
|
2
2
|
bundle exec pushapp trigger setup $PAP_REMOTE --local true <%= colorize %>
|
|
3
|
-
rm "
|
|
3
|
+
rm ".git/.pushapp.setup.flag"
|
|
4
4
|
fi
|
|
5
5
|
|
|
6
6
|
bundle exec pushapp trigger push $PAP_REMOTE --local true <%= colorize %>
|