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 +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/karo/db.rb +1 -1
- data/lib/karo/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4c8871afe1a5dfa570c4142ca9fd8cbdd68b049e
|
4
|
+
data.tar.gz: b8fdc8299135d847e651631f840a81a50cc5bf4c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 308305a559e77ea0ee71ec80d58c90513f3fa0a6283997dc5894f76916fc842c43cde0ea5efe3d1b540cee648d43c41ad835781910daf12bafd1bc7b797e5af5
|
7
|
+
data.tar.gz: 029f13b953fdb82961967e2bd580db5a70a8ca2ae42b7a2d1752d650f862353018b4d30b01496d2e7fbd2fa6b1935122517c1a22dc15031c1b3f53c0627ca89f
|
data/CHANGELOG.md
CHANGED
data/lib/karo/db.rb
CHANGED
@@ -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
|
data/lib/karo/version.rb
CHANGED
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.
|
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:
|
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.
|
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
|