recipiez 0.6.17 → 0.6.18
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/recipiez/version.rb +1 -1
- data/recipes/deployment_recipiez.rb +2 -2
- metadata +3 -3
data/lib/recipiez/version.rb
CHANGED
@@ -150,9 +150,9 @@ namespace :recipiez do
|
|
150
150
|
run "rm #{filename}"
|
151
151
|
end
|
152
152
|
|
153
|
-
desc "Dump database structure
|
153
|
+
desc "Dump database structure, copy it across and restore locally. To use a different environment, pass yaml_env using the -s switch. eg. cap production recipiez:db:pull_structure -s yaml_env=portal"
|
154
154
|
task :pull_structure do
|
155
|
-
set_variables_from_yaml
|
155
|
+
set_variables_from_yaml(yaml_env)
|
156
156
|
archive = generate_archive(application)
|
157
157
|
filename = get_filename(application)
|
158
158
|
cmd = "mysqldump --opt --skip-add-locks -u #{db_user} -d "
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 6
|
8
|
-
-
|
9
|
-
version: 0.6.
|
8
|
+
- 18
|
9
|
+
version: 0.6.18
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Alastair Brunton
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2014-09-
|
17
|
+
date: 2014-09-09 00:00:00 +02:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|