mysql_isolated_server 0.3.1 → 0.3.2
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 +4 -4
- data/Gemfile +1 -0
- data/bin/boot_isolated_server +0 -1
- data/lib/mysql_isolated_server/jdbc_connection.rb +3 -2
- data/lib/mysql_isolated_server/version.rb +1 -1
- data/lib/mysql_isolated_server.rb +3 -0
- data/mysql_isolated_server.gemspec +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: d8b7662ca8f87b1988b019b96f8402e3ad6f72b0
|
4
|
+
data.tar.gz: 3b93b99749cdd0ad7a06dbbd6d654fa42eb5adfb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ff18d5c9930b3f7e6e3053f0b02f5b0bf300e726b6c598d74a9060433f551a05a5dc24676acad052c3528e03ddc19a61f16add134bf9c531dc1e1d5972d578c4
|
7
|
+
data.tar.gz: 0adce2429a5ccb7be43829188301069c2f99ec59d3f03d12d2e4e323c973cf677a80e0ff01bb3c83ccc4cc24cf07cedd8a7058785e9b2531100969e2eeb9c84b
|
data/Gemfile
CHANGED
data/bin/boot_isolated_server
CHANGED
@@ -15,8 +15,9 @@ class MysqlIsolatedServer
|
|
15
15
|
end
|
16
16
|
|
17
17
|
rs = stmt.execute_query(sql)
|
18
|
+
|
19
|
+
rows = []
|
18
20
|
while (rs.next)
|
19
|
-
rows = []
|
20
21
|
meta_data = rs.get_meta_data
|
21
22
|
num_cols = meta_data.get_column_count
|
22
23
|
|
@@ -25,7 +26,7 @@ class MysqlIsolatedServer
|
|
25
26
|
col_name = meta_data.get_column_label(col)
|
26
27
|
col_value = rs.get_object(col) # of meta_data.get_column_type(col)
|
27
28
|
|
28
|
-
row[col_name] = col_value
|
29
|
+
row[col_name] = col_value
|
29
30
|
end
|
30
31
|
|
31
32
|
rows << row
|
@@ -10,7 +10,7 @@ Gem::Specification.new do |gem|
|
|
10
10
|
gem.email = ["ben@zendesk.com"]
|
11
11
|
gem.description = %q{A small library that allows you to easily spin up new local mysql servers for testing purposes.}
|
12
12
|
gem.summary = %q{A small library that allows you to easily spin up new local mysql servers for testing purposes.}
|
13
|
-
gem.homepage = ""
|
13
|
+
gem.homepage = "http://github.com/osheroff/mysql_isolated_server"
|
14
14
|
|
15
15
|
gem.files = `git ls-files`.split($/)
|
16
16
|
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mysql_isolated_server
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben Osheroff
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-06-
|
11
|
+
date: 2014-06-25 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: A small library that allows you to easily spin up new local mysql servers
|
14
14
|
for testing purposes.
|
@@ -33,7 +33,7 @@ files:
|
|
33
33
|
- lib/tables/user.MYI
|
34
34
|
- lib/tables/user.frm
|
35
35
|
- mysql_isolated_server.gemspec
|
36
|
-
homepage:
|
36
|
+
homepage: http://github.com/osheroff/mysql_isolated_server
|
37
37
|
licenses: []
|
38
38
|
metadata: {}
|
39
39
|
post_install_message:
|