brillo 2.0.0.rc2 → 2.0.0.rc3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/brillo/dumper/mysql_dumper.rb +4 -4
- data/lib/brillo/scrubber.rb +1 -1
- data/lib/brillo/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b830c8be50fe90aca042cd88c4aa5f9a70144d8ec411ab3f9f72a146e32dcb6e
|
4
|
+
data.tar.gz: 5fab4ef7804ecce78c64fbe9431f8d60b369ef9a0112f3bd1639b98a94520776
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 05aff1337d94252c4181738c04b180c1a666a4ace933e0db7b93f1b21847a8b3ed2c7aefbff1a59b3433c8b384bc0464597a885164a9982a1d265564c713ad0f
|
7
|
+
data.tar.gz: 3fe428deb343a28d6dac37bdff7b85b7cd142331105e7f1c22a75e32642db666756ad621b819a5396693b38b369a69024ffae5be7301bc7a31e2b24ffe7fc004
|
@@ -13,11 +13,11 @@ module Brillo
|
|
13
13
|
execute!(
|
14
14
|
"mysqldump",
|
15
15
|
host_arg,
|
16
|
-
"-u #{db[
|
16
|
+
"-u #{db["username"]}",
|
17
17
|
password_arg,
|
18
18
|
"--no-data",
|
19
19
|
"--single-transaction", # InnoDB only. Prevent MySQL locking the whole database during dump.
|
20
|
-
"#{db[
|
20
|
+
"#{db["database"]}",
|
21
21
|
"> #{config.dump_path}"
|
22
22
|
)
|
23
23
|
end
|
@@ -25,7 +25,7 @@ module Brillo
|
|
25
25
|
private
|
26
26
|
|
27
27
|
def password_arg
|
28
|
-
if password = config.db[
|
28
|
+
if password = config.db["password"].presence
|
29
29
|
"--password=#{password}"
|
30
30
|
else
|
31
31
|
""
|
@@ -33,7 +33,7 @@ module Brillo
|
|
33
33
|
end
|
34
34
|
|
35
35
|
def host_arg
|
36
|
-
if (host = config.db[
|
36
|
+
if (host = config.db["host"].presence) && host != 'localhost'
|
37
37
|
"-h #{host}"
|
38
38
|
else
|
39
39
|
""
|
data/lib/brillo/scrubber.rb
CHANGED
data/lib/brillo/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: brillo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.0.
|
4
|
+
version: 2.0.0.rc3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Bessey
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-03-
|
11
|
+
date: 2019-03-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|