mysql2 0.3.8 → 0.3.9
Sign up to get free protection for your applications and to get access to all the features.
- data/ext/mysql2/client.c +4 -1
- data/lib/mysql2/version.rb +1 -1
- metadata +91 -140
data/ext/mysql2/client.c
CHANGED
@@ -460,9 +460,10 @@ static VALUE rb_mysql_client_query(int argc, VALUE * argv, VALUE self) {
|
|
460
460
|
}
|
461
461
|
|
462
462
|
args.wrapper = wrapper;
|
463
|
-
rb_rescue2(do_send_query, (VALUE)&args, disconnect_and_raise, self, rb_eException, (VALUE)0);
|
464
463
|
|
465
464
|
#ifndef _WIN32
|
465
|
+
rb_rescue2(do_send_query, (VALUE)&args, disconnect_and_raise, self, rb_eException, (VALUE)0);
|
466
|
+
|
466
467
|
if (!async) {
|
467
468
|
async_args.fd = wrapper->client->net.fd;
|
468
469
|
async_args.self = self;
|
@@ -474,6 +475,8 @@ static VALUE rb_mysql_client_query(int argc, VALUE * argv, VALUE self) {
|
|
474
475
|
return Qnil;
|
475
476
|
}
|
476
477
|
#else
|
478
|
+
do_send_query(&args);
|
479
|
+
|
477
480
|
// this will just block until the result is ready
|
478
481
|
return rb_ensure(rb_mysql_client_async_result, self, finish_and_mark_inactive, self);
|
479
482
|
#endif
|
data/lib/mysql2/version.rb
CHANGED
metadata
CHANGED
@@ -1,162 +1,122 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: mysql2
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.3.9
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 3
|
9
|
-
- 8
|
10
|
-
version: 0.3.8
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Brian Lopez
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
dependencies:
|
21
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2011-11-09 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
22
15
|
name: eventmachine
|
23
|
-
|
24
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
16
|
+
requirement: &70251874397900 !ruby/object:Gem::Requirement
|
25
17
|
none: false
|
26
|
-
requirements:
|
27
|
-
- -
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
|
30
|
-
segments:
|
31
|
-
- 0
|
32
|
-
version: "0"
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
33
22
|
type: :development
|
34
|
-
version_requirements: *id001
|
35
|
-
- !ruby/object:Gem::Dependency
|
36
|
-
name: rake-compiler
|
37
23
|
prerelease: false
|
38
|
-
|
24
|
+
version_requirements: *70251874397900
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: rake-compiler
|
27
|
+
requirement: &70251874393620 !ruby/object:Gem::Requirement
|
39
28
|
none: false
|
40
|
-
requirements:
|
29
|
+
requirements:
|
41
30
|
- - ~>
|
42
|
-
- !ruby/object:Gem::Version
|
43
|
-
hash: 13
|
44
|
-
segments:
|
45
|
-
- 0
|
46
|
-
- 7
|
47
|
-
- 7
|
31
|
+
- !ruby/object:Gem::Version
|
48
32
|
version: 0.7.7
|
49
33
|
type: :development
|
50
|
-
version_requirements: *id002
|
51
|
-
- !ruby/object:Gem::Dependency
|
52
|
-
name: rake
|
53
34
|
prerelease: false
|
54
|
-
|
35
|
+
version_requirements: *70251874393620
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: rake
|
38
|
+
requirement: &70251874392100 !ruby/object:Gem::Requirement
|
55
39
|
none: false
|
56
|
-
requirements:
|
57
|
-
- -
|
58
|
-
- !ruby/object:Gem::Version
|
59
|
-
hash: 49
|
60
|
-
segments:
|
61
|
-
- 0
|
62
|
-
- 8
|
63
|
-
- 7
|
40
|
+
requirements:
|
41
|
+
- - =
|
42
|
+
- !ruby/object:Gem::Version
|
64
43
|
version: 0.8.7
|
65
44
|
type: :development
|
66
|
-
version_requirements: *id003
|
67
|
-
- !ruby/object:Gem::Dependency
|
68
|
-
name: rspec
|
69
45
|
prerelease: false
|
70
|
-
|
46
|
+
version_requirements: *70251874392100
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: rspec
|
49
|
+
requirement: &70251874391080 !ruby/object:Gem::Requirement
|
71
50
|
none: false
|
72
|
-
requirements:
|
73
|
-
- -
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
|
76
|
-
segments:
|
77
|
-
- 0
|
78
|
-
version: "0"
|
51
|
+
requirements:
|
52
|
+
- - ! '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
79
55
|
type: :development
|
80
|
-
version_requirements: *id004
|
81
|
-
- !ruby/object:Gem::Dependency
|
82
|
-
name: activerecord
|
83
56
|
prerelease: false
|
84
|
-
|
57
|
+
version_requirements: *70251874391080
|
58
|
+
- !ruby/object:Gem::Dependency
|
59
|
+
name: activerecord
|
60
|
+
requirement: &70251874388940 !ruby/object:Gem::Requirement
|
85
61
|
none: false
|
86
|
-
requirements:
|
87
|
-
- -
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
|
90
|
-
segments:
|
91
|
-
- 0
|
92
|
-
version: "0"
|
62
|
+
requirements:
|
63
|
+
- - ! '>='
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
version: '0'
|
93
66
|
type: :development
|
94
|
-
version_requirements: *id005
|
95
|
-
- !ruby/object:Gem::Dependency
|
96
|
-
name: mysql
|
97
67
|
prerelease: false
|
98
|
-
|
68
|
+
version_requirements: *70251874388940
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: mysql
|
71
|
+
requirement: &70251874387400 !ruby/object:Gem::Requirement
|
99
72
|
none: false
|
100
|
-
requirements:
|
101
|
-
- -
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
|
104
|
-
segments:
|
105
|
-
- 0
|
106
|
-
version: "0"
|
73
|
+
requirements:
|
74
|
+
- - ! '>='
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '0'
|
107
77
|
type: :development
|
108
|
-
version_requirements: *id006
|
109
|
-
- !ruby/object:Gem::Dependency
|
110
|
-
name: do_mysql
|
111
78
|
prerelease: false
|
112
|
-
|
79
|
+
version_requirements: *70251874387400
|
80
|
+
- !ruby/object:Gem::Dependency
|
81
|
+
name: do_mysql
|
82
|
+
requirement: &70251874386460 !ruby/object:Gem::Requirement
|
113
83
|
none: false
|
114
|
-
requirements:
|
115
|
-
- -
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
|
118
|
-
segments:
|
119
|
-
- 0
|
120
|
-
version: "0"
|
84
|
+
requirements:
|
85
|
+
- - ! '>='
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
version: '0'
|
121
88
|
type: :development
|
122
|
-
version_requirements: *id007
|
123
|
-
- !ruby/object:Gem::Dependency
|
124
|
-
name: sequel
|
125
89
|
prerelease: false
|
126
|
-
|
90
|
+
version_requirements: *70251874386460
|
91
|
+
- !ruby/object:Gem::Dependency
|
92
|
+
name: sequel
|
93
|
+
requirement: &70251874385280 !ruby/object:Gem::Requirement
|
127
94
|
none: false
|
128
|
-
requirements:
|
129
|
-
- -
|
130
|
-
- !ruby/object:Gem::Version
|
131
|
-
|
132
|
-
segments:
|
133
|
-
- 0
|
134
|
-
version: "0"
|
95
|
+
requirements:
|
96
|
+
- - ! '>='
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: '0'
|
135
99
|
type: :development
|
136
|
-
version_requirements: *id008
|
137
|
-
- !ruby/object:Gem::Dependency
|
138
|
-
name: faker
|
139
100
|
prerelease: false
|
140
|
-
|
101
|
+
version_requirements: *70251874385280
|
102
|
+
- !ruby/object:Gem::Dependency
|
103
|
+
name: faker
|
104
|
+
requirement: &70251874384520 !ruby/object:Gem::Requirement
|
141
105
|
none: false
|
142
|
-
requirements:
|
143
|
-
- -
|
144
|
-
- !ruby/object:Gem::Version
|
145
|
-
|
146
|
-
segments:
|
147
|
-
- 0
|
148
|
-
version: "0"
|
106
|
+
requirements:
|
107
|
+
- - ! '>='
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0'
|
149
110
|
type: :development
|
150
|
-
|
111
|
+
prerelease: false
|
112
|
+
version_requirements: *70251874384520
|
151
113
|
description:
|
152
114
|
email: seniorlopez@gmail.com
|
153
115
|
executables: []
|
154
|
-
|
155
|
-
extensions:
|
116
|
+
extensions:
|
156
117
|
- ext/mysql2/extconf.rb
|
157
118
|
extra_rdoc_files: []
|
158
|
-
|
159
|
-
files:
|
119
|
+
files:
|
160
120
|
- .gitignore
|
161
121
|
- .rspec
|
162
122
|
- .rvmrc
|
@@ -202,41 +162,32 @@ files:
|
|
202
162
|
- tasks/compile.rake
|
203
163
|
- tasks/rspec.rake
|
204
164
|
- tasks/vendor_mysql.rake
|
205
|
-
has_rdoc: true
|
206
165
|
homepage: http://github.com/brianmario/mysql2
|
207
166
|
licenses: []
|
208
|
-
|
209
167
|
post_install_message:
|
210
|
-
rdoc_options:
|
168
|
+
rdoc_options:
|
211
169
|
- --charset=UTF-8
|
212
|
-
require_paths:
|
170
|
+
require_paths:
|
213
171
|
- lib
|
214
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
172
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
215
173
|
none: false
|
216
|
-
requirements:
|
217
|
-
- -
|
218
|
-
- !ruby/object:Gem::Version
|
219
|
-
|
220
|
-
|
221
|
-
- 0
|
222
|
-
version: "0"
|
223
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
174
|
+
requirements:
|
175
|
+
- - ! '>='
|
176
|
+
- !ruby/object:Gem::Version
|
177
|
+
version: '0'
|
178
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
224
179
|
none: false
|
225
|
-
requirements:
|
226
|
-
- -
|
227
|
-
- !ruby/object:Gem::Version
|
228
|
-
|
229
|
-
segments:
|
230
|
-
- 0
|
231
|
-
version: "0"
|
180
|
+
requirements:
|
181
|
+
- - ! '>='
|
182
|
+
- !ruby/object:Gem::Version
|
183
|
+
version: '0'
|
232
184
|
requirements: []
|
233
|
-
|
234
185
|
rubyforge_project:
|
235
|
-
rubygems_version: 1.
|
186
|
+
rubygems_version: 1.8.10
|
236
187
|
signing_key:
|
237
188
|
specification_version: 3
|
238
189
|
summary: A simple, fast Mysql library for Ruby, binding to libmysql
|
239
|
-
test_files:
|
190
|
+
test_files:
|
240
191
|
- examples/eventmachine.rb
|
241
192
|
- examples/threaded.rb
|
242
193
|
- spec/em/em_spec.rb
|