mys3ql 1.3.1 → 1.3.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: a48a2b78903816b36dda8e140c0a437d7321b9de
4
- data.tar.gz: 698c6f810ec61c7b66313e4d0c6831c2ee62576a
3
+ metadata.gz: 18eaf9b3acd27fffb0a1e0e1bad2b12a9f3f19f0
4
+ data.tar.gz: bd1b8560ab8bd76bf52eb75818873983b678acdf
5
5
  SHA512:
6
- metadata.gz: 652a2869f4a3f54b2a7c63f8ec16aa0d26c59550cf27de8f2a7eca34202f746f53d9ac332000c4a79dac59307bdca42ad809cb5f613ab4a19eb43899dc1f04e9
7
- data.tar.gz: c71c414fb1431c41899e5ccb438bb3e62fcef18e8f33fcb5580312a0f322bb4fce09ad560df66f3f6dec7893ae9cf3ff5042d11e148001ad2b5a3cdb9eae4bd2
6
+ metadata.gz: 9e1c69949d800caa67da32b92481bb0c305dca6fe5c16f2e5422c856e6b707c414541982ba054bea79a886e7015139996dcb90140e31c5d3305f1bc1da8b5874
7
+ data.tar.gz: 1f7eabe346664f7a9028e6fe06e2fdc6a31f46ace5152dbcfffe20fbdead61aed2f15c1e10ae93bafc9a6ebfe6599e8f904366fc6452e3f51100f9e8e014e25f
data/lib/mys3ql/config.rb CHANGED
@@ -31,6 +31,10 @@ module Mys3ql
31
31
  mysql['user']
32
32
  end
33
33
 
34
+ def host
35
+ mysql['host']
36
+ end
37
+
34
38
  def password
35
39
  mysql['password']
36
40
  end
data/lib/mys3ql/mysql.rb CHANGED
@@ -65,6 +65,7 @@ module Mys3ql
65
65
  cmd = "#{@config.bin_path}mysqlbinlog --database=#{@config.database} #{files.join ' '}"
66
66
  cmd += " | #{@config.bin_path}mysql -u'#{@config.user}'"
67
67
  cmd += " -p'#{@config.password}'" if @config.password
68
+ cmd += " -h #{@config.host}" if @config.host
68
69
  run cmd
69
70
  end
70
71
 
@@ -81,6 +82,7 @@ module Mys3ql
81
82
  def cli_options
82
83
  cmd = " -u'#{@config.user}'"
83
84
  cmd += " -p'#{@config.password}'" if @config.password
85
+ cmd += " -h #{@config.host}" if @config.host
84
86
  cmd += " #{@config.database}"
85
87
  end
86
88
 
@@ -1,3 +1,3 @@
1
1
  module Mys3ql
2
- VERSION = '1.3.1'
2
+ VERSION = '1.3.3'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mys3ql
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ version: 1.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Stewart
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-09 00:00:00.000000000 Z
11
+ date: 2025-08-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-s3