capistrano-symfony-doctrine 0.2.8 → 0.2.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +4 -4
- data/README.md +13 -1
- data/capistrano-symfony-doctrine.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7b530b6fe61745dd4a49b5a6dabb37bcde81bd99
|
4
|
+
data.tar.gz: b0c9b157fe97cd2830c0b44db80483e4cb2be4cb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4b81d38735e34490f9669805e48f864a1b1f40bf44e9617fb0d311703731211bcb2978ed0b9136c87ccb7422035de7e2f187cac84b985a0561214fa2e76c9a5d
|
7
|
+
data.tar.gz: b1d908da62bc7823644d9459fbdd779b82af668dd9d5805a43e014339340bc8e437c382ef5e7d3372d1056d370cfabf3a7a16dd0428452a6ca31bf5450521ba2
|
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.9)
|
5
5
|
capistrano (>= 3.1.0)
|
6
6
|
capistrano-symfony (>= 0.4.0)
|
7
7
|
|
@@ -23,9 +23,9 @@ GEM
|
|
23
23
|
i18n (0.7.0)
|
24
24
|
net-scp (1.2.1)
|
25
25
|
net-ssh (>= 2.6.5)
|
26
|
-
net-ssh (3.0
|
26
|
+
net-ssh (3.2.0)
|
27
27
|
rake (10.4.2)
|
28
|
-
sshkit (1.
|
28
|
+
sshkit (1.11.2)
|
29
29
|
net-scp (>= 1.1.2)
|
30
30
|
net-ssh (>= 2.8.0)
|
31
31
|
|
@@ -38,4 +38,4 @@ DEPENDENCIES
|
|
38
38
|
rake (~> 10.0)
|
39
39
|
|
40
40
|
BUNDLED WITH
|
41
|
-
1.
|
41
|
+
1.12.5
|
data/README.md
CHANGED
@@ -29,6 +29,7 @@ Or install it yourself as:
|
|
29
29
|
Require in Capfile to use the default task:
|
30
30
|
|
31
31
|
```ruby
|
32
|
+
require 'capistrano/symfony'
|
32
33
|
require 'capistrano/symfony-doctrine'
|
33
34
|
```
|
34
35
|
|
@@ -38,7 +39,15 @@ Configure in deploy.rb to execute the tasks:
|
|
38
39
|
before 'deploy:updated', 'symfony:doctrine:cache:clear_metadata'
|
39
40
|
before 'deploy:updated', 'symfony:doctrine:cache:clear_query'
|
40
41
|
before 'deploy:updated', 'symfony:doctrine:cache:clear_result'
|
41
|
-
|
42
|
+
after 'deploy:updated', 'symfony:doctrine:migrations'
|
43
|
+
```
|
44
|
+
|
45
|
+
The server that you want to execute this script on must have the role **db**. The reason for this is because you might be having multiple web nodes but you only want to execute this on one of the nodes!
|
46
|
+
|
47
|
+
```ruby
|
48
|
+
server 'node1.example.com', user: 'root', roles: %w{web db}
|
49
|
+
server 'node2.example.com', user: 'root', roles: %w{web}
|
50
|
+
server 'node3.example.com', user: 'root', roles: %w{web}
|
42
51
|
```
|
43
52
|
|
44
53
|
### Configurable options:
|
@@ -69,3 +78,6 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
69
78
|
## License
|
70
79
|
|
71
80
|
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
81
|
+
|
82
|
+
[www.glooby.com](https://www.glooby.com)
|
83
|
+
[www.glooby.se](https://www.glooby.se)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-symfony-doctrine
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Emil Kilhage
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-11-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|
@@ -107,7 +107,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
107
107
|
version: '0'
|
108
108
|
requirements: []
|
109
109
|
rubyforge_project:
|
110
|
-
rubygems_version: 2.4.
|
110
|
+
rubygems_version: 2.4.6
|
111
111
|
signing_key:
|
112
112
|
specification_version: 4
|
113
113
|
summary: doctrine migrations & cache clearing support for Capistrano 3.x
|