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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3709d055158d49a73e7dafd801969e870b36d131
4
- data.tar.gz: 4c7c1a85b9ef6fdf70021188d34be7f87a55b604
3
+ metadata.gz: df130572e7655ffc4a7711520a1427e05d84af99
4
+ data.tar.gz: c42d4d5e8134fb24f19b5b58d4a11c38c0f0403e
5
5
  SHA512:
6
- metadata.gz: 909b767f0db55b90d61d800e057cf25d1cc430e8a51dc97f331d2f6c7dbbb2811c72fbcb6c3541775dced215eb8992939cd484f7fb72cc0d692b7c779e9cbfab
7
- data.tar.gz: ff947766409343b022aaa4c2e866eaf5d55ab71fa28d05502788b42c5bc23c6a3cc77cd1f6500324c2f9c8ce9b91b58e2bda8f1710a6667f8cc3ed8e8b7efc00
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
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "capistrano-symfony-doctrine"
7
- spec.version = '0.2.1'
7
+ spec.version = '0.2.2'
8
8
  spec.authors = ["Emil Kilhage"]
9
9
  spec.email = ["emil.kilhage@glooby.com"]
10
10
 
@@ -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 :doctrine do
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-symfony-doctrine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Emil Kilhage