kstrano 1.0.6 → 1.0.8

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 +5 -7
  2. metadata +2 -2
data/lib/kstrano.rb CHANGED
@@ -202,11 +202,13 @@ before "symfony:vendors:reinstall", "kuma:ssh_socket:fix"
202
202
  before "symfony:vendors:upgrade", "kuma:ssh_socket:fix"
203
203
  before "symfony:composer:update", "kuma:ssh_socket:fix"
204
204
  before "symfony:composer:install", "kuma:ssh_socket:fix"
205
+ before "symfony:composer:dump_autoload", "kuma:ssh_socket:fix" # The cache folder of composer was the one from the ssh user ... while it should be the one of sudo ...
205
206
  after "symfony:vendors:install", "kuma:ssh_socket:unfix"
206
207
  after "symfony:vendors:reinstall", "kuma:ssh_socket:unfix"
207
208
  after "symfony:vendors:upgrade", "kuma:ssh_socket:unfix"
208
209
  after "symfony:composer:update", "kuma:ssh_socket:unfix"
209
210
  after "symfony:composer:install", "kuma:ssh_socket:unfix"
211
+ after "symfony:composer:dump_autoload", "kuma:ssh_socket:unfix"
210
212
 
211
213
  # set the right permissions on the vendor folder ...
212
214
  after "symfony:composer:copy_vendors" do
@@ -235,13 +237,9 @@ before "deploy:finalize_update" do
235
237
  sudo "setfacl -R -m group:admin:rwx #{latest_release}"
236
238
  end
237
239
 
238
- before "deploy:finalize_update" do
239
- kuma.apc.prepare_clear
240
- end
241
-
242
- after "deploy:finalize_update" do
243
- kuma.apc.clear
244
- end
240
+ before "deploy:finalize_update", "kuma:apc:prepare_clear"
241
+ after "deploy:finalize_update", "kuma:apc:clear"
242
+ after "deploy:create_symlink", "kuma:apc:clear"
245
243
 
246
244
  before "deploy:update" do
247
245
  Kumastrano.say "executing ssh-add"
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.6
4
+ version: 1.0.8
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-03-12 00:00:00.000000000 Z
12
+ date: 2013-03-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: capifony