capifony 2.4.0 → 2.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.md +6 -0
- data/bin/capifony +1 -1
- data/lib/capifony_symfony2.rb +1 -1
- data/lib/symfony2/deploy.rb +5 -2
- data/lib/symfony2/symfony.rb +1 -1
- metadata +15 -32
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 77efc5f01473a9700f7ff156b1be77deb7367c2a
|
4
|
+
data.tar.gz: 18c3ef1bece626e2c7c8ec3a7cf7f76bb97be797
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 6eadfe24b25fc181e2aa5c6015ca3e02e80f5fbb9f68f58e95cd19ff65a735d6ecc228dd39f47ed2c99cbdf91b3a747abea27b56f485f7cb29f09418ebd1f8a1
|
7
|
+
data.tar.gz: 60f99b48345edf40167d702e1a24ac51ad67ce0dd7953fdec7b848453f3b841b2fb97636157b6238a12b1032a42d80d05aa1cf727e0a1bd2ffd40757c9028428
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
### 2.4.1 / November 19, 2013
|
2
|
+
|
3
|
+
* Fixed: Set facl permissions only once
|
4
|
+
* Fixed: error incompatible character encodings: UTF-8 and ASCII-8BIT
|
5
|
+
* Added: use SYMFONY_ENV for composer update call
|
6
|
+
|
1
7
|
### 2.4.0 / September 17, 2013
|
2
8
|
|
3
9
|
* Fixed: copy vendor dir to latest_release, not to latest_release/vendor
|
data/bin/capifony
CHANGED
data/lib/capifony_symfony2.rb
CHANGED
data/lib/symfony2/deploy.rb
CHANGED
@@ -43,8 +43,11 @@ namespace :deploy do
|
|
43
43
|
dirs.each do |dir|
|
44
44
|
is_owner = (capture "`echo stat #{dir} -c %U`").chomp == user
|
45
45
|
if is_owner && permission_method != :chown
|
46
|
-
|
47
|
-
|
46
|
+
has_facl = (capture "getfacl -p #{dir} | grep #{webserver_user} | wc -l").chomp != "0"
|
47
|
+
if (!has_facl)
|
48
|
+
methods[permission_method].each do |cmd|
|
49
|
+
try_sudo sprintf(cmd, dir)
|
50
|
+
end
|
48
51
|
end
|
49
52
|
else
|
50
53
|
puts " #{dir} is not owned by #{user} or you are using 'chown' method without ':use_sudo'"
|
data/lib/symfony2/symfony.rb
CHANGED
@@ -171,7 +171,7 @@ namespace :symfony do
|
|
171
171
|
end
|
172
172
|
|
173
173
|
capifony_pretty_print "--> Updating Composer dependencies"
|
174
|
-
run "#{try_sudo} sh -c 'cd #{latest_release} && #{composer_bin} update #{options}'"
|
174
|
+
run "#{try_sudo} sh -c 'cd #{latest_release} && SYMFONY_ENV=#{symfony_env_prod} #{composer_bin} update #{options}'"
|
175
175
|
capifony_puts_ok
|
176
176
|
end
|
177
177
|
|
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capifony
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.4.
|
5
|
-
prerelease:
|
4
|
+
version: 2.4.1
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Konstantin Kudryashov
|
@@ -10,14 +9,13 @@ authors:
|
|
10
9
|
autorequire:
|
11
10
|
bindir: bin
|
12
11
|
cert_chain: []
|
13
|
-
date: 2013-
|
12
|
+
date: 2013-11-19 00:00:00.000000000 Z
|
14
13
|
dependencies:
|
15
14
|
- !ruby/object:Gem::Dependency
|
16
15
|
name: capistrano
|
17
16
|
requirement: !ruby/object:Gem::Requirement
|
18
|
-
none: false
|
19
17
|
requirements:
|
20
|
-
- -
|
18
|
+
- - '>='
|
21
19
|
- !ruby/object:Gem::Version
|
22
20
|
version: 2.13.5
|
23
21
|
- - <=
|
@@ -26,9 +24,8 @@ dependencies:
|
|
26
24
|
type: :runtime
|
27
25
|
prerelease: false
|
28
26
|
version_requirements: !ruby/object:Gem::Requirement
|
29
|
-
none: false
|
30
27
|
requirements:
|
31
|
-
- -
|
28
|
+
- - '>='
|
32
29
|
- !ruby/object:Gem::Version
|
33
30
|
version: 2.13.5
|
34
31
|
- - <=
|
@@ -37,39 +34,34 @@ dependencies:
|
|
37
34
|
- !ruby/object:Gem::Dependency
|
38
35
|
name: colored
|
39
36
|
requirement: !ruby/object:Gem::Requirement
|
40
|
-
none: false
|
41
37
|
requirements:
|
42
|
-
- -
|
38
|
+
- - '>='
|
43
39
|
- !ruby/object:Gem::Version
|
44
40
|
version: 1.2.0
|
45
41
|
type: :runtime
|
46
42
|
prerelease: false
|
47
43
|
version_requirements: !ruby/object:Gem::Requirement
|
48
|
-
none: false
|
49
44
|
requirements:
|
50
|
-
- -
|
45
|
+
- - '>='
|
51
46
|
- !ruby/object:Gem::Version
|
52
47
|
version: 1.2.0
|
53
48
|
- !ruby/object:Gem::Dependency
|
54
49
|
name: inifile
|
55
50
|
requirement: !ruby/object:Gem::Requirement
|
56
|
-
none: false
|
57
51
|
requirements:
|
58
|
-
- -
|
52
|
+
- - '>='
|
59
53
|
- !ruby/object:Gem::Version
|
60
54
|
version: 2.0.2
|
61
55
|
type: :runtime
|
62
56
|
prerelease: false
|
63
57
|
version_requirements: !ruby/object:Gem::Requirement
|
64
|
-
none: false
|
65
58
|
requirements:
|
66
|
-
- -
|
59
|
+
- - '>='
|
67
60
|
- !ruby/object:Gem::Version
|
68
61
|
version: 2.0.2
|
69
62
|
- !ruby/object:Gem::Dependency
|
70
63
|
name: capistrano-maintenance
|
71
64
|
requirement: !ruby/object:Gem::Requirement
|
72
|
-
none: false
|
73
65
|
requirements:
|
74
66
|
- - '='
|
75
67
|
- !ruby/object:Gem::Version
|
@@ -77,7 +69,6 @@ dependencies:
|
|
77
69
|
type: :runtime
|
78
70
|
prerelease: false
|
79
71
|
version_requirements: !ruby/object:Gem::Requirement
|
80
|
-
none: false
|
81
72
|
requirements:
|
82
73
|
- - '='
|
83
74
|
- !ruby/object:Gem::Version
|
@@ -85,7 +76,6 @@ dependencies:
|
|
85
76
|
- !ruby/object:Gem::Dependency
|
86
77
|
name: ruby-progressbar
|
87
78
|
requirement: !ruby/object:Gem::Requirement
|
88
|
-
none: false
|
89
79
|
requirements:
|
90
80
|
- - '='
|
91
81
|
- !ruby/object:Gem::Version
|
@@ -93,18 +83,12 @@ dependencies:
|
|
93
83
|
type: :runtime
|
94
84
|
prerelease: false
|
95
85
|
version_requirements: !ruby/object:Gem::Requirement
|
96
|
-
none: false
|
97
86
|
requirements:
|
98
87
|
- - '='
|
99
88
|
- !ruby/object:Gem::Version
|
100
89
|
version: 1.0.2
|
101
|
-
description:
|
102
|
-
|
103
|
-
specifically for deploying Rails apps, it’s pretty simple to customize it to deploy
|
104
|
-
other types of applications. This package is a deployment "recipe" to work with
|
105
|
-
symfony (both 1 and 2) applications.
|
106
|
-
|
107
|
-
'
|
90
|
+
description: |2
|
91
|
+
Capistrano is an open source tool for running scripts on multiple servers. It’s primary use is for easily deploying applications. While it was built specifically for deploying Rails apps, it’s pretty simple to customize it to deploy other types of applications. This package is a deployment "recipe" to work with symfony (both 1 and 2) applications.
|
108
92
|
email:
|
109
93
|
- ever.zet@gmail.com
|
110
94
|
- william.durand1@gmail.com
|
@@ -139,26 +123,25 @@ files:
|
|
139
123
|
homepage: http://capifony.org
|
140
124
|
licenses:
|
141
125
|
- MIT
|
126
|
+
metadata: {}
|
142
127
|
post_install_message:
|
143
128
|
rdoc_options: []
|
144
129
|
require_paths:
|
145
130
|
- lib
|
146
131
|
required_ruby_version: !ruby/object:Gem::Requirement
|
147
|
-
none: false
|
148
132
|
requirements:
|
149
|
-
- -
|
133
|
+
- - '>='
|
150
134
|
- !ruby/object:Gem::Version
|
151
135
|
version: '0'
|
152
136
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
153
|
-
none: false
|
154
137
|
requirements:
|
155
|
-
- -
|
138
|
+
- - '>='
|
156
139
|
- !ruby/object:Gem::Version
|
157
140
|
version: '0'
|
158
141
|
requirements: []
|
159
142
|
rubyforge_project: capifony
|
160
|
-
rubygems_version:
|
143
|
+
rubygems_version: 2.0.3
|
161
144
|
signing_key:
|
162
|
-
specification_version:
|
145
|
+
specification_version: 4
|
163
146
|
summary: Deploying symfony PHP applications with Capistrano.
|
164
147
|
test_files: []
|