kstrano 0.0.21 → 0.0.22

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/kstrano.rb +1 -2
  2. metadata +15 -15
data/lib/kstrano.rb CHANGED
@@ -131,8 +131,7 @@ end
131
131
  ## Fix the permissions of the latest release, so that it's readable for the project user
132
132
  before "deploy:finalize_update" do
133
133
  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.
134
- sudo "sh -c 'if [ -d #{shared_path}/cached-copy ] ; then chmod -R ug+rx #{latest_release}/paramDecode; fi'"
135
- sudo "sh -c 'if [ -f #{release_path}/paramDecode ] ; then cd #{release_path} && ./paramDecode; fi'" # Symfony specific: will generate the parameters.ini
134
+ 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
136
135
  sudo "chown -R #{application}:#{application} #{latest_release}"
137
136
  sudo "setfacl -R -m group:admin:rwx #{latest_release}"
138
137
  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: 0.0.21
4
+ version: 0.0.22
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-08-22 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: capistrano
16
- requirement: &70094306895020 !ruby/object:Gem::Requirement
16
+ requirement: &70317226063080 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 2.12.0
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70094306895020
24
+ version_requirements: *70317226063080
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: capistrano-ext
27
- requirement: &70094306894000 !ruby/object:Gem::Requirement
27
+ requirement: &70317226062560 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 1.2.1
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70094306894000
35
+ version_requirements: *70317226062560
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: capistrano_colors
38
- requirement: &70094306893060 !ruby/object:Gem::Requirement
38
+ requirement: &70317226062080 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: 0.5.5
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *70094306893060
46
+ version_requirements: *70317226062080
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: capifony
49
- requirement: &70094306886300 !ruby/object:Gem::Requirement
49
+ requirement: &70317226061600 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: 2.1.13
55
55
  type: :runtime
56
56
  prerelease: false
57
- version_requirements: *70094306886300
57
+ version_requirements: *70317226061600
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: json
60
- requirement: &70094306885100 !ruby/object:Gem::Requirement
60
+ requirement: &70317226061120 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ! '>='
@@ -65,10 +65,10 @@ dependencies:
65
65
  version: 1.6.6
66
66
  type: :runtime
67
67
  prerelease: false
68
- version_requirements: *70094306885100
68
+ version_requirements: *70317226061120
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: broach
71
- requirement: &70094306882080 !ruby/object:Gem::Requirement
71
+ requirement: &70317226054680 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ! '>='
@@ -76,10 +76,10 @@ dependencies:
76
76
  version: 0.2.1
77
77
  type: :runtime
78
78
  prerelease: false
79
- version_requirements: *70094306882080
79
+ version_requirements: *70317226054680
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: highline
82
- requirement: &70094306880760 !ruby/object:Gem::Requirement
82
+ requirement: &70317226054100 !ruby/object:Gem::Requirement
83
83
  none: false
84
84
  requirements:
85
85
  - - ! '>='
@@ -87,7 +87,7 @@ dependencies:
87
87
  version: 1.6.11
88
88
  type: :runtime
89
89
  prerelease: false
90
- version_requirements: *70094306880760
90
+ version_requirements: *70317226054100
91
91
  description: Deploying applications with Capistrano, Jenkins and GIT.
92
92
  email: support@kunstmaan.be
93
93
  executables: