daddy 0.9.1 → 0.9.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/daddy/version.rb +1 -1
- data/lib/tasks/dad.rake +1 -1
- data/lib/tasks/db_create.rake +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3fea26f1c248e27a42e6544f622b4828545bc2a17fe3419fc0ff298868076017
|
4
|
+
data.tar.gz: 525371f333ba82139f8ec2ad5df70d47c7f6ca385281681c917247a7f18e3033
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad56483b746f0c33f0c6c3a45dc03f601a7f6b1656744e8bf42e417b436ca4ce1ce1ebf725b2d7e5f593864f1a435c58fe9995dc365843a40060b252a090b365
|
7
|
+
data.tar.gz: 7b9c50bfe426c24b8cd9b7d169bb1ef78e303c6b408adb75d746244ff2355f840ffcbf18874bb28aca44b322c0561070ca952aa050f687ffbf58db5533619d8d
|
data/lib/daddy/version.rb
CHANGED
data/lib/tasks/dad.rake
CHANGED
@@ -24,7 +24,7 @@ namespace :dad do
|
|
24
24
|
task role => :environment do
|
25
25
|
role_file = "config/itamae/roles/#{role}.rb"
|
26
26
|
log_level = ENV['DEBUG'] ? 'debug' : 'info'
|
27
|
-
env = "ROLE=#{role}"
|
27
|
+
env = "SETUP=true ROLE=#{role}"
|
28
28
|
|
29
29
|
if ENV['DOCKER']
|
30
30
|
tag = "#{Daddy.config.application}-#{role}"
|
data/lib/tasks/db_create.rake
CHANGED
@@ -33,7 +33,7 @@ namespace :dad do
|
|
33
33
|
if ENV['MYSQL_NO_ROOT_PASSWORD']
|
34
34
|
fail unless system("mysql -u root < tmp/create_databases.sql")
|
35
35
|
else
|
36
|
-
fail unless system("mysql -u root -p < tmp/create_databases.sql")
|
36
|
+
fail unless system("mysql -u #{ENV['MYSQL_ROOT'] || 'root'} -p < tmp/create_databases.sql")
|
37
37
|
end
|
38
38
|
end
|
39
39
|
end
|