capifony 2.0.5 → 2.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/CHANGELOG +4 -0
  2. data/lib/symfony1.rb +2 -0
  3. data/lib/symfony2.rb +3 -0
  4. metadata +4 -4
data/CHANGELOG CHANGED
@@ -1,3 +1,7 @@
1
+ == 2.0.6 / May 4, 2011
2
+
3
+ * add write access to cache folder for deployer's usergroup
4
+
1
5
  == 2.0.5 / May 3, 2011
2
6
 
3
7
  * made the Symfony2 console command configurable (symfony_console) (thanks @ruudk)
@@ -85,6 +85,7 @@ namespace :deploy do
85
85
  task :finalize_update, :except => { :no_release => true } do
86
86
  run "chmod -R g+w #{latest_release}" if fetch(:group_writable, true)
87
87
  run "mkdir -p #{latest_release}/cache"
88
+ run "chmod -R g+w #{latest_release}/cache"
88
89
 
89
90
  # Share common files & folders
90
91
  share_childs
@@ -132,6 +133,7 @@ namespace :symfony do
132
133
  desc "Clears the cache"
133
134
  task :cc do
134
135
  run "#{php_bin} #{latest_release}/symfony cache:clear"
136
+ run "chmod -R g+w #{latest_release}/cache"
135
137
  end
136
138
 
137
139
  desc "Creates symbolic link to symfony lib in shared"
@@ -46,6 +46,7 @@ namespace :deploy do
46
46
  run "chmod -R g+w #{latest_release}" if fetch(:group_writable, true)
47
47
  run "if [ -d #{latest_release}/#{app_path}/cache ] ; then rm -rf #{latest_release}/#{app_path}/cache; fi"
48
48
  run "mkdir -p #{latest_release}/#{app_path}/cache && chmod -R 0777 #{latest_release}/#{app_path}/cache"
49
+ run "chmod -R g+w #{latest_release}/#{app_path}/cache"
49
50
 
50
51
  share_childs
51
52
 
@@ -128,11 +129,13 @@ namespace :symfony do
128
129
  desc "Clears project cache."
129
130
  task :clear do
130
131
  run "cd #{latest_release} && #{php_bin} #{app_path}/#{symfony_console} cache:clear --env=#{symfony_env_prod}"
132
+ run "chmod -R g+w #{latest_release}/#{app_path}/cache"
131
133
  end
132
134
 
133
135
  desc "Warms up an empty cache."
134
136
  task :warmup do
135
137
  run "cd #{latest_release} && #{php_bin} #{app_path}/#{symfony_console} cache:warmup --env=#{symfony_env_prod}"
138
+ run "chmod -R g+w #{latest_release}/#{app_path}/cache"
136
139
  end
137
140
  end
138
141
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capifony
3
3
  version: !ruby/object:Gem::Version
4
- hash: 5
4
+ hash: 3
5
5
  prerelease:
6
6
  segments:
7
7
  - 2
8
8
  - 0
9
- - 5
10
- version: 2.0.5
9
+ - 6
10
+ version: 2.0.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Konstantin Kudryashov
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-05-03 00:00:00 +03:00
18
+ date: 2011-05-04 00:00:00 +03:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency