sq-dbsync 1.0.4 → 1.0.5

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.
@@ -141,6 +141,12 @@ module Sq::Dbsync::Database
141
141
  cmd += " -h %s" % opts[:host] if opts[:host]
142
142
  cmd += " -P %i" % opts[:port] if opts[:port]
143
143
 
144
+ if opts[:ssl]
145
+ cmd += " --sslca %s --sslcert %s --sslkey %s" % [
146
+ opts[:ssl][:ca], opts[:ssl][:cert], opts[:ssl][:key]
147
+ ]
148
+ end
149
+
144
150
  cmd += " --default-character-set %s" % opts[:charset] if opts[:charset]
145
151
 
146
152
  cmd += " %s" % opts.fetch(:database)
@@ -1,5 +1,5 @@
1
1
  module Sq
2
2
  module Dbsync
3
- VERSION = '1.0.4'
3
+ VERSION = '1.0.5'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sq-dbsync
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-04-17 00:00:00.000000000 Z
13
+ date: 2013-05-20 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rspec