brillo 2.0.0.rc2 → 2.0.0.rc3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 152c12ab26d0a1204fc8896ac5642c23d6c7a114ba78fc568931d28db0cd8296
4
- data.tar.gz: 217e8afeda911d2c8c8d063c37fa9f38feb8043235d6896989cab965e52f1f57
3
+ metadata.gz: b830c8be50fe90aca042cd88c4aa5f9a70144d8ec411ab3f9f72a146e32dcb6e
4
+ data.tar.gz: 5fab4ef7804ecce78c64fbe9431f8d60b369ef9a0112f3bd1639b98a94520776
5
5
  SHA512:
6
- metadata.gz: 7dd86c3d3fe315a134bbe97fe98b4e601096c9ae8828fe7cd27fd5d54f9c6b69bba46a07101f2beb6fc80637e6a5e5963d67b135fefa231b7321a008fcd136f2
7
- data.tar.gz: c7cd29e7b3cc517228b7cee2b3f7aaab3634dc3c051a8a74098cbff291a901b59c1a2394e57e66ba11d6b01b59b102c58cd1d449a7663923738c484f7fcffef3
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[:username]}",
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[:database]}",
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[:password].presence
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[:host].presence) && host != 'localhost'
36
+ if (host = config.db["host"].presence) && host != 'localhost'
37
37
  "-h #{host}"
38
38
  else
39
39
  ""
@@ -93,7 +93,7 @@ module Brillo
93
93
 
94
94
  def configure_polo
95
95
  obfs = obfuscations
96
- adapter = config.db[:adapter]
96
+ adapter = config.db["adapter"]
97
97
  Polo.configure do
98
98
  obfuscate obfs
99
99
  if adapter == "mysql2"
@@ -1,3 +1,3 @@
1
1
  module Brillo
2
- VERSION = "2.0.0.rc2"
2
+ VERSION = "2.0.0.rc3"
3
3
  end
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.rc2
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 00:00:00.000000000 Z
11
+ date: 2019-03-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake