karo 2.3.5 → 2.3.6

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of karo might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e6bb2f2f052f4233b76e74240444ff57dad0198b
4
- data.tar.gz: 472ec29a410344e0794d8403b0bc578f1d330420
3
+ metadata.gz: 4c8871afe1a5dfa570c4142ca9fd8cbdd68b049e
4
+ data.tar.gz: b8fdc8299135d847e651631f840a81a50cc5bf4c
5
5
  SHA512:
6
- metadata.gz: 8b4e80082714410de9882d1b924273131cf4324fabd98dc2f6d9e309e4b7461972ce3ebb5ed506f9a477b225a624923685b4d0bcd8b6bc17ea426dce7d5bbe87
7
- data.tar.gz: ff3db3a5ee10f35d6dd2110ded09ae6b5bc09b458cf5c690362fa3e65ec15a1ad600e08b70c83684738b63eb360c465502f7992bab9fc4124cec875082926470
6
+ metadata.gz: 308305a559e77ea0ee71ec80d58c90513f3fa0a6283997dc5894f76916fc842c43cde0ea5efe3d1b540cee648d43c41ad835781910daf12bafd1bc7b797e5af5
7
+ data.tar.gz: 029f13b953fdb82961967e2bd580db5a70a8ca2ae42b7a2d1752d650f862353018b4d30b01496d2e7fbd2fa6b1935122517c1a22dc15031c1b3f53c0627ca89f
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## v2.3.6
4
+
5
+ ### Bug Fixes
6
+
7
+ - Now mysql server db server config loads proper hostname in sync query instead of just using `localhost` by default
8
+
3
9
  ## v2.3.5
4
10
 
5
11
  ### Bug Fixes
@@ -95,7 +95,7 @@ module Karo
95
95
  def sync_server_to_local_database(server_db_config, local_db_config)
96
96
  ssh = "ssh #{@configuration["user"]}@#{@configuration["host"]}"
97
97
 
98
- command = "#{ssh} \"mysqldump --opt -C -u#{server_db_config["username"]} -p#{server_db_config["password"]} -h#{server_db_config["host"]} #{server_db_config["database"]}\" | mysql -v -h #{local_db_config["host"]} -C -u#{local_db_config["username"]} -p#{local_db_config["password"]} #{local_db_config["database"]}"
98
+ command = "#{ssh} \"mysqldump --opt -C -h #{server_db_config["host"]} -u#{server_db_config["username"]} -p#{server_db_config["password"]} -h#{server_db_config["host"]} #{server_db_config["database"]}\" | mysql -v -h #{local_db_config["host"]} -C -u#{local_db_config["username"]} -p#{local_db_config["password"]} #{local_db_config["database"]}"
99
99
 
100
100
  run_it command, options[:verbose]
101
101
  end
@@ -1,3 +1,3 @@
1
1
  module Karo
2
- VERSION = "2.3.5"
2
+ VERSION = "2.3.6"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: karo
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.5
4
+ version: 2.3.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rahul Trikha
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-09-11 00:00:00.000000000 Z
11
+ date: 2014-03-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry
@@ -175,7 +175,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
175
175
  version: '0'
176
176
  requirements: []
177
177
  rubyforge_project:
178
- rubygems_version: 2.1.1
178
+ rubygems_version: 2.2.1
179
179
  signing_key:
180
180
  specification_version: 4
181
181
  summary: SSH toolbox to make running logs, sync, cache commands easier for a given