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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1e5eef0850a7efcdc0209be3aedbfbd5450c3d44c7160219cf3e60dc1e1a4b9b
4
- data.tar.gz: 37255910782ed007ea26655786cdffa4a76b3c033061580d8f163502845c3617
3
+ metadata.gz: 3fea26f1c248e27a42e6544f622b4828545bc2a17fe3419fc0ff298868076017
4
+ data.tar.gz: 525371f333ba82139f8ec2ad5df70d47c7f6ca385281681c917247a7f18e3033
5
5
  SHA512:
6
- metadata.gz: 34c59652da8d8c79edf6d1f77eb7a6a436a82185a06c2f1276903760e43b56c43d67ee783b4e5139eb5ab0e4efe76be7925ab4bc4b0fb2cd0508ee7812017918
7
- data.tar.gz: 1ce44e90f38559ddb39c01a05ae966eb5ca6703284cc1941bce10ddbf92cf25d7695dda6764d5a038dd45904892da963415fd6c3ba136b094e165aab6a339632
6
+ metadata.gz: ad56483b746f0c33f0c6c3a45dc03f601a7f6b1656744e8bf42e417b436ca4ce1ce1ebf725b2d7e5f593864f1a435c58fe9995dc365843a40060b252a090b365
7
+ data.tar.gz: 7b9c50bfe426c24b8cd9b7d169bb1ef78e303c6b408adb75d746244ff2355f840ffcbf18874bb28aca44b322c0561070ca952aa050f687ffbf58db5533619d8d
@@ -2,6 +2,6 @@ module Daddy
2
2
  VERSION = [
3
3
  VERSION_MAJOR = '0',
4
4
  VERSION_MINOR = '9',
5
- VERSION_REVISION = '1'
5
+ VERSION_REVISION = '2'
6
6
  ].join('.')
7
7
  end
@@ -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}"
@@ -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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: daddy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.1
4
+ version: 0.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - ichy