mysql2 0.3.18 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +1 -0
- data/LICENSE +21 -0
- data/README.md +28 -6
- data/examples/threaded.rb +4 -6
- data/ext/mysql2/client.c +124 -126
- data/ext/mysql2/client.h +21 -0
- data/ext/mysql2/extconf.rb +29 -15
- data/ext/mysql2/mysql2_ext.c +1 -0
- data/ext/mysql2/mysql2_ext.h +1 -0
- data/ext/mysql2/mysql_enc_name_to_ruby.h +6 -6
- data/ext/mysql2/result.c +499 -128
- data/ext/mysql2/result.h +9 -3
- data/ext/mysql2/statement.c +454 -0
- data/ext/mysql2/statement.h +22 -0
- data/lib/mysql2/client.rb +24 -1
- data/lib/mysql2/error.rb +9 -21
- data/lib/mysql2/field.rb +4 -0
- data/lib/mysql2/statement.rb +5 -0
- data/lib/mysql2/version.rb +1 -1
- data/lib/mysql2.rb +2 -0
- data/spec/em/em_spec.rb +13 -13
- data/spec/mysql2/client_spec.rb +337 -326
- data/spec/mysql2/error_spec.rb +37 -36
- data/spec/mysql2/result_spec.rb +197 -192
- data/spec/mysql2/statement_spec.rb +598 -0
- data/spec/spec_helper.rb +7 -0
- metadata +15 -46
metadata
CHANGED
@@ -1,64 +1,27 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mysql2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Lopez
|
8
|
+
- Aaron Stone
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date: 2015-
|
12
|
-
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: rake-compiler
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - ~>
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: 0.9.5
|
20
|
-
type: :development
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - ~>
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: 0.9.5
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: rake
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - ~>
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: 0.9.3
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - ~>
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: 0.9.3
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: rspec
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - ~>
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: 2.8.0
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - ~>
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: 2.8.0
|
12
|
+
date: 2015-09-08 00:00:00.000000000 Z
|
13
|
+
dependencies: []
|
55
14
|
description:
|
56
|
-
email:
|
15
|
+
email:
|
16
|
+
- seniorlopez@gmail.com
|
17
|
+
- aaron@serendipity.cx
|
57
18
|
executables: []
|
58
19
|
extensions:
|
59
20
|
- ext/mysql2/extconf.rb
|
60
21
|
extra_rdoc_files: []
|
61
22
|
files:
|
23
|
+
- CHANGELOG.md
|
24
|
+
- LICENSE
|
62
25
|
- README.md
|
63
26
|
- ext/mysql2/client.c
|
64
27
|
- ext/mysql2/client.h
|
@@ -71,13 +34,17 @@ files:
|
|
71
34
|
- ext/mysql2/mysql_enc_to_ruby.h
|
72
35
|
- ext/mysql2/result.c
|
73
36
|
- ext/mysql2/result.h
|
37
|
+
- ext/mysql2/statement.c
|
38
|
+
- ext/mysql2/statement.h
|
74
39
|
- ext/mysql2/wait_for_single_fd.h
|
75
40
|
- lib/mysql2.rb
|
76
41
|
- lib/mysql2/client.rb
|
77
42
|
- lib/mysql2/console.rb
|
78
43
|
- lib/mysql2/em.rb
|
79
44
|
- lib/mysql2/error.rb
|
45
|
+
- lib/mysql2/field.rb
|
80
46
|
- lib/mysql2/result.rb
|
47
|
+
- lib/mysql2/statement.rb
|
81
48
|
- lib/mysql2/version.rb
|
82
49
|
- support/libmysql.def
|
83
50
|
- support/mysql_enc_to_ruby.rb
|
@@ -90,6 +57,7 @@ files:
|
|
90
57
|
- spec/mysql2/client_spec.rb
|
91
58
|
- spec/mysql2/error_spec.rb
|
92
59
|
- spec/mysql2/result_spec.rb
|
60
|
+
- spec/mysql2/statement_spec.rb
|
93
61
|
- spec/rcov.opts
|
94
62
|
- spec/spec_helper.rb
|
95
63
|
- spec/test_data
|
@@ -127,6 +95,7 @@ test_files:
|
|
127
95
|
- spec/mysql2/client_spec.rb
|
128
96
|
- spec/mysql2/error_spec.rb
|
129
97
|
- spec/mysql2/result_spec.rb
|
98
|
+
- spec/mysql2/statement_spec.rb
|
130
99
|
- spec/rcov.opts
|
131
100
|
- spec/spec_helper.rb
|
132
101
|
- spec/test_data
|