capistrano-symfony-doctrine 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -7
- data/capistrano-symfony-doctrine.gemspec +1 -1
- data/lib/capistrano/tasks/symfony-doctrine.rake +1 -1
- 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: df130572e7655ffc4a7711520a1427e05d84af99
|
4
|
+
data.tar.gz: c42d4d5e8134fb24f19b5b58d4a11c38c0f0403e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ff2c0add6e0a6b5569408acf98daa7d02fc3fbf2d29851de8f2d4570159d4d981ddadb3d38ae1f7ad85133445c42b37c3e4fffe86a716abe195c33ebdec8aede
|
7
|
+
data.tar.gz: fdda0920aaf75728930783532c4f2c726433137a586bf1173b2eb7e5ec52412882ed6c7b068aa62be7d3abb736f120f09f8636e4ea4ca91a5a24949c5424cf48
|
data/README.md
CHANGED
@@ -33,25 +33,23 @@ require 'capistrano/symfony-doctrine'
|
|
33
33
|
Configure in deploy.rb to execute the tasks:
|
34
34
|
|
35
35
|
```ruby
|
36
|
-
before 'deploy:updated', 'symfony:cache:clear_metadata'
|
37
|
-
before 'deploy:updated', 'symfony:cache:clear_query'
|
38
|
-
before 'deploy:updated', 'symfony:cache:clear_result'
|
39
|
-
|
36
|
+
before 'deploy:updated', 'symfony:doctrine:cache:clear_metadata'
|
37
|
+
before 'deploy:updated', 'symfony:doctrine:cache:clear_query'
|
38
|
+
before 'deploy:updated', 'symfony:doctrine:cache:clear_result'
|
40
39
|
before 'deploy:updated', 'symfony:doctrine:migrations'
|
41
40
|
```
|
42
41
|
|
43
42
|
### Configurable options:
|
44
43
|
|
45
44
|
```ruby
|
46
|
-
set :symfony_doctrine_migrations_flags, '--no-interaction'
|
47
|
-
set :symfony_doctrine_migrations_roles, :db
|
48
|
-
|
49
45
|
set :symfony_doctrine_cache_clear_metadata_flags, '--=env=prod'
|
50
46
|
set :symfony_doctrine_cache_clear_metadata_roles, :db
|
51
47
|
set :symfony_doctrine_cache_clear_query_flags, '--=env=prod'
|
52
48
|
set :symfony_doctrine_cache_clear_query_roles, :db
|
53
49
|
set :symfony_doctrine_cache_clear_result_flags, '--=env=prod'
|
54
50
|
set :symfony_doctrine_cache_clear_result_roles, :db
|
51
|
+
set :symfony_doctrine_migrations_flags, '--no-interaction'
|
52
|
+
set :symfony_doctrine_migrations_roles, :db
|
55
53
|
```
|
56
54
|
|
57
55
|
## Development
|
@@ -6,7 +6,7 @@ namespace :symfony do
|
|
6
6
|
invoke "symfony:console", "doctrine:migrations:migrate", fetch(:symfony_doctrine_migrations_flags)
|
7
7
|
end
|
8
8
|
end
|
9
|
-
namespace :
|
9
|
+
namespace :cache do
|
10
10
|
desc "Run app/console doctrine:cache:clear-metadata"
|
11
11
|
task :clear_metadata do
|
12
12
|
on roles fetch(:symfony_doctrine_cache_clear_metadata_roles) do
|