kstrano 1.0.2 → 1.0.3
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/lib/kstrano.rb +0 -2
- metadata +2 -2
data/lib/kstrano.rb
CHANGED
|
@@ -219,11 +219,9 @@ after "deploy:update_code" do
|
|
|
219
219
|
end
|
|
220
220
|
|
|
221
221
|
# Before finalize_update:
|
|
222
|
-
## Create the parameters.ini if it's a symfony project
|
|
223
222
|
## Fix the permissions of the latest release, so that it's readable for the project user
|
|
224
223
|
before "deploy:finalize_update" do
|
|
225
224
|
on_rollback { sudo "rm -rf #{release_path}; true" } # by default capistrano will use the run command, but everything has project user rights in our server setup, so use try_sudo in stead of run.
|
|
226
|
-
sudo "sh -c 'if [ -f #{release_path}/paramDecode ] ; then chmod -R ug+rx #{latest_release}/paramDecode && cd #{release_path} && ./paramDecode; elif [ -f #{release_path}/param ] ; then chmod -R ug+rx #{latest_release}/param && cd #{release_path} && ./param decode; fi'" # Symfony specific: will generate the parameters.ini
|
|
227
225
|
sudo "chown -R #{application}:#{application} #{latest_release}"
|
|
228
226
|
sudo "setfacl -R -m group:admin:rwx #{latest_release}"
|
|
229
227
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: kstrano
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.3
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2013-02-
|
|
12
|
+
date: 2013-02-26 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: capifony
|