capistrano-symfony-doctrine 0.2.6 → 0.2.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -5
- data/capistrano-symfony-doctrine.gemspec +1 -1
- data/lib/capistrano/tasks/symfony-doctrine.rake +9 -9
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f7437b13f09b34505c246e35660afdd5dbac51f6
|
4
|
+
data.tar.gz: e680de8588857ecd57d44d35c0f280efbb71b11a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c67f9c66ea012e4cbc0cd2879d74ba266684fff413606abecf0e341b2b3f87ee29b2c6432583667f2f67031265330c658c4a886e20f0c856cc1179153d966c3c
|
7
|
+
data.tar.gz: 06671057ab9ce1cee51517b127c033e35926dba51df8033af0a81c0c15871c1cfc0c9bcb29c25e911990e9659713c40c5e9dc60717109ed640b0a86419c01d5a
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
capistrano-symfony-doctrine (0.2.
|
4
|
+
capistrano-symfony-doctrine (0.2.7)
|
5
5
|
capistrano (>= 3.1.0)
|
6
6
|
capistrano-symfony (>= 0.4.0)
|
7
7
|
|
@@ -20,14 +20,12 @@ GEM
|
|
20
20
|
capistrano (~> 3.1)
|
21
21
|
capistrano-composer (~> 0.0.3)
|
22
22
|
capistrano-file-permissions (~> 0.1.0)
|
23
|
-
colorize (0.7.4)
|
24
23
|
i18n (0.7.0)
|
25
24
|
net-scp (1.2.1)
|
26
25
|
net-ssh (>= 2.6.5)
|
27
|
-
net-ssh (
|
26
|
+
net-ssh (3.0.2)
|
28
27
|
rake (10.4.2)
|
29
|
-
sshkit (1.
|
30
|
-
colorize (>= 0.7.0)
|
28
|
+
sshkit (1.8.1)
|
31
29
|
net-scp (>= 1.1.2)
|
32
30
|
net-ssh (>= 2.8.0)
|
33
31
|
|
@@ -1,28 +1,28 @@
|
|
1
1
|
namespace :symfony do
|
2
2
|
namespace :doctrine do
|
3
|
-
desc "Run app/console doctrine:migrations:migrate
|
3
|
+
desc "Run app/console doctrine:migrations:migrate"
|
4
4
|
task :migrations do
|
5
5
|
on fetch(:symfony_doctrine_migrations_servers) do
|
6
|
-
|
6
|
+
execute "cd '#{release_path}'; app/console doctrine:migrations:migrate", fetch(:symfony_doctrine_migrations_flags)
|
7
7
|
end
|
8
8
|
end
|
9
9
|
namespace :cache do
|
10
10
|
desc "Run app/console doctrine:cache:clear-metadata"
|
11
11
|
task :clear_metadata do
|
12
12
|
on fetch(:symfony_doctrine_cache_clear_metadata_servers) do
|
13
|
-
|
13
|
+
execute "cd '#{release_path}'; app/console doctrine:cache:clear-metadata", fetch(:symfony_doctrine_cache_clear_metadata_flags)
|
14
14
|
end
|
15
15
|
end
|
16
16
|
desc "Run app/console doctrine:cache:clear-query"
|
17
17
|
task :clear_query do
|
18
18
|
on fetch(:symfony_doctrine_cache_clear_query_servers) do
|
19
|
-
|
19
|
+
execute "cd '#{release_path}'; app/console doctrine:cache:clear-query", fetch(:symfony_doctrine_cache_clear_query_flags)
|
20
20
|
end
|
21
21
|
end
|
22
22
|
desc "Run app/console doctrine:cache:clear-result"
|
23
23
|
task :clear_result do
|
24
24
|
on fetch(:symfony_doctrine_cache_clear_result_servers) do
|
25
|
-
|
25
|
+
execute "cd '#{release_path}'; app/console doctrine:cache:clear-result", fetch(:symfony_doctrine_cache_clear_result_flags)
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -31,16 +31,16 @@ end
|
|
31
31
|
|
32
32
|
namespace :load do
|
33
33
|
task :defaults do
|
34
|
-
set :symfony_doctrine_migrations_flags, '--no-interaction'
|
34
|
+
set :symfony_doctrine_migrations_flags, '--no-interaction --no-debug'
|
35
35
|
set :symfony_doctrine_migrations_roles, :db
|
36
36
|
set :symfony_doctrine_migrations_servers, -> { release_roles(fetch(:symfony_doctrine_migrations_roles)) }
|
37
|
-
set :symfony_doctrine_cache_clear_metadata_flags, ''
|
37
|
+
set :symfony_doctrine_cache_clear_metadata_flags, '--no-debug'
|
38
38
|
set :symfony_doctrine_cache_clear_metadata_roles, :db
|
39
39
|
set :symfony_doctrine_cache_clear_metadata_servers, -> { release_roles(fetch(:symfony_doctrine_cache_clear_metadata_flags)) }
|
40
|
-
set :symfony_doctrine_cache_clear_query_flags, ''
|
40
|
+
set :symfony_doctrine_cache_clear_query_flags, '--no-debug'
|
41
41
|
set :symfony_doctrine_cache_clear_query_roles, :db
|
42
42
|
set :symfony_doctrine_cache_clear_query_servers, -> { release_roles(fetch(:symfony_doctrine_cache_clear_query_roles)) }
|
43
|
-
set :symfony_doctrine_cache_clear_result_flags, ''
|
43
|
+
set :symfony_doctrine_cache_clear_result_flags, '--no-debug'
|
44
44
|
set :symfony_doctrine_cache_clear_result_roles, :db
|
45
45
|
set :symfony_doctrine_cache_clear_result_servers, -> { release_roles(fetch(:symfony_doctrine_cache_clear_result_roles)) }
|
46
46
|
end
|