capifony 2.2.4 → 2.2.5
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +4 -0
- data/bin/capifony +1 -1
- data/lib/symfony2/database.rb +2 -2
- metadata +4 -4
data/CHANGELOG.md
CHANGED
data/bin/capifony
CHANGED
data/lib/symfony2/database.rb
CHANGED
@@ -17,7 +17,7 @@ namespace :database do
|
|
17
17
|
|
18
18
|
case config['database_driver']
|
19
19
|
when "pdo_mysql", "mysql"
|
20
|
-
run "#{try_sudo} mysqldump -u#{config['database_user']} --password='#{config['database_password']}' #{config['database_name']} | gzip -c > #{file}" do |ch, stream, data|
|
20
|
+
run "#{try_sudo} mysqldump -u#{config['database_user']} --host='#{config['database_host']}' --password='#{config['database_password']}' #{config['database_name']} | gzip -c > #{file}" do |ch, stream, data|
|
21
21
|
puts data
|
22
22
|
end
|
23
23
|
when "pdo_pgsql", "pgsql"
|
@@ -112,7 +112,7 @@ namespace :database do
|
|
112
112
|
|
113
113
|
case config['database_driver']
|
114
114
|
when "pdo_mysql", "mysql"
|
115
|
-
run "#{try_sudo} mysql -u#{config['database_user']} --password='#{config['database_password']}' #{config['database_name']} < #{remote_tmp_dir}/#{sqlfile}" do |ch, stream, data|
|
115
|
+
run "#{try_sudo} mysql -u#{config['database_user']} --host='#{config['database_host']}' --password='#{config['database_password']}' #{config['database_name']} < #{remote_tmp_dir}/#{sqlfile}" do |ch, stream, data|
|
116
116
|
puts data
|
117
117
|
end
|
118
118
|
when "pdo_pgsql", "pgsql"
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capifony
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 13
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 2
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 2.2.
|
9
|
+
- 5
|
10
|
+
version: 2.2.5
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Konstantin Kudryashov
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2012-12-
|
19
|
+
date: 2012-12-29 00:00:00 Z
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
22
22
|
name: capistrano
|