ffi-mysql 1.1.2 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/.hgignore +1 -0
- data/.hgtags +1 -0
- data/History.markdown +5 -0
- data/lib/ffi-mysql/mysql.rb +8 -2
- data/lib/ffi-mysql/version.rb +1 -1
- metadata +88 -69
data/.hgignore
CHANGED
data/.hgtags
CHANGED
data/History.markdown
CHANGED
data/lib/ffi-mysql/mysql.rb
CHANGED
@@ -66,9 +66,15 @@ class Mysql
|
|
66
66
|
def self.maybe_attach_function name, *args
|
67
67
|
attach_function name, *args
|
68
68
|
rescue FFI::NotFoundError => e
|
69
|
-
|
69
|
+
c = class << self; self; end
|
70
|
+
c.class_eval do
|
71
|
+
define_method(name) {|*a| raise e}
|
72
|
+
end
|
70
73
|
rescue => e
|
71
|
-
|
74
|
+
c = class << self; self; end
|
75
|
+
c.class_eval do
|
76
|
+
define_method(name) {|*a| raise e}
|
77
|
+
end
|
72
78
|
end
|
73
79
|
|
74
80
|
StmtAttrType = enum( :update_max_length, :cursor_type, :prefetch_rows )
|
data/lib/ffi-mysql/version.rb
CHANGED
metadata
CHANGED
@@ -1,90 +1,109 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: ffi-mysql
|
3
|
-
version: !ruby/object:Gem::Version
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.1.3
|
4
5
|
prerelease:
|
5
|
-
version: 1.1.2
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
8
|
-
|
7
|
+
authors:
|
8
|
+
- Frank Fischer
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
12
|
+
date: 2012-04-05 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: ffi
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ~>
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '1.0'
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '1.0'
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: bones
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: 3.8.0
|
38
|
+
type: :development
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: 3.8.0
|
37
46
|
description: Pure Ruby FFI interface to MySQL.
|
38
47
|
email: frank.fischer@mathematik.tu-chemnitz.de
|
39
48
|
executables: []
|
40
|
-
|
41
49
|
extensions: []
|
42
|
-
|
43
50
|
extra_rdoc_files: []
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
51
|
+
files:
|
52
|
+
- !binary |-
|
53
|
+
LmhnaWdub3Jl
|
54
|
+
- !binary |-
|
55
|
+
LmhndGFncw==
|
56
|
+
- !binary |-
|
57
|
+
SGlzdG9yeS5tYXJrZG93bg==
|
58
|
+
- !binary |-
|
59
|
+
UkVBRE1FLm1hcmtkb3du
|
60
|
+
- !binary |-
|
61
|
+
UmFrZWZpbGU=
|
62
|
+
- !binary |-
|
63
|
+
bGliL2ZmaS1teXNxbC5yYg==
|
64
|
+
- !binary |-
|
65
|
+
bGliL2ZmaS1teXNxbC9jb25zdGFudHMucmI=
|
66
|
+
- !binary |-
|
67
|
+
bGliL2ZmaS1teXNxbC9lcnJvci5yYg==
|
68
|
+
- !binary |-
|
69
|
+
bGliL2ZmaS1teXNxbC9maWVsZC5yYg==
|
70
|
+
- !binary |-
|
71
|
+
bGliL2ZmaS1teXNxbC9teXNxbC5yYg==
|
72
|
+
- !binary |-
|
73
|
+
bGliL2ZmaS1teXNxbC9yZXN1bHQucmI=
|
74
|
+
- !binary |-
|
75
|
+
bGliL2ZmaS1teXNxbC9zdG10LnJi
|
76
|
+
- !binary |-
|
77
|
+
bGliL2ZmaS1teXNxbC90aW1lLnJi
|
78
|
+
- !binary |-
|
79
|
+
bGliL2ZmaS1teXNxbC92ZXJzaW9uLnJi
|
80
|
+
- !binary |-
|
81
|
+
dGVzdC90ZXN0X215c3FsLnJi
|
61
82
|
homepage: http://bitbucket.org/lyro/ffi-mysql
|
62
83
|
licenses: []
|
63
|
-
|
64
84
|
post_install_message:
|
65
|
-
rdoc_options:
|
66
|
-
|
67
|
-
|
68
|
-
require_paths:
|
69
|
-
|
70
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
85
|
+
rdoc_options:
|
86
|
+
- --main
|
87
|
+
- README.markdown
|
88
|
+
require_paths:
|
89
|
+
- lib
|
90
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
71
91
|
none: false
|
72
|
-
requirements:
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
92
|
+
requirements:
|
93
|
+
- - ! '>='
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: '0'
|
96
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
77
97
|
none: false
|
78
|
-
requirements:
|
79
|
-
|
80
|
-
|
81
|
-
|
98
|
+
requirements:
|
99
|
+
- - ! '>='
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: '0'
|
82
102
|
requirements: []
|
83
|
-
|
84
103
|
rubyforge_project: ffi-mysql
|
85
|
-
rubygems_version: 1.8.
|
104
|
+
rubygems_version: 1.8.21
|
86
105
|
signing_key:
|
87
106
|
specification_version: 3
|
88
107
|
summary: Pure Ruby FFI interface to MySQL.
|
89
|
-
test_files:
|
90
|
-
|
108
|
+
test_files:
|
109
|
+
- test/test_mysql.rb
|