mina-db_sync 0.1.2 → 0.1.3

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
  SHA1:
3
- metadata.gz: c4cde69c976780f629f0c5403d2c8e1353925f0e
4
- data.tar.gz: a3863dcae3b267d93a794ca6936dd066975030d3
3
+ metadata.gz: afbd4cd334c94fb22e133a9f3552c291d7993055
4
+ data.tar.gz: 2c931c38a81902d423cc12af035f0b2936923aa2
5
5
  SHA512:
6
- metadata.gz: e417dde99c699899f7b38a8b167498f13115256ac45988ca44185044d9f7fb86d2a1b38a2ea7a7c84bd813451099d31b42aa04c90a112a9e10548a1503cc1f03
7
- data.tar.gz: 6433cf5a8c85c26c9b627d1bac555d13947036f4d9c29272e25b170f491f2bcfc359633d6fe1086577afefcc686dfc16ab0c4b01d2db5dbfaff1bd10ed5298e9
6
+ metadata.gz: fd651c062666fcf73ebe159ebb36846b990857cdcc89f574fa37259133aa95010f8e75f61a739d657eaa1f7bec166f507931240597328116313368c6142a9e91
7
+ data.tar.gz: 99e24b4ec057f4d228356f6b9a429d8c95622e334cdeeeeac0fdbe211bd226410fcfcbe24233fbaeeaffc8b58a40f5a2e76566145af5b37b1529d8f5d4697d37
@@ -97,7 +97,7 @@ def backup_command(table_names)
97
97
  end
98
98
 
99
99
  if mysql?
100
- command %{mysqldump -u$USERNAME -p$PASSWORD $DATABASE #{tweak_tables(table_names)} > #{db_file}}
100
+ command %{mysqldump -u$USERNAME --password="$PASSWORD" $DATABASE #{tweak_tables(table_names)} > #{db_file}}
101
101
  end
102
102
  end
103
103
 
@@ -108,6 +108,6 @@ def restore_command
108
108
  end
109
109
 
110
110
  if mysql?
111
- command %{mysql -u$USERNAME --password=$PASSWORD $DATABASE < #{db_file}}
111
+ command %{mysql -u$USERNAME --password="$PASSWORD" $DATABASE < #{db_file}}
112
112
  end
113
113
  end
@@ -1,5 +1,5 @@
1
1
  module Mina
2
2
  module DbSync
3
- VERSION = "0.1.2"
3
+ VERSION = "0.1.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mina-db_sync
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Floyd
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-18 00:00:00.000000000 Z
11
+ date: 2017-07-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mina