ffi-mysql 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/.hgtags CHANGED
@@ -3,3 +3,4 @@ afd66b4b7cda50c08a79f51574d46e49c4dc083b v0.0.1
3
3
  a8bbc2c818cd66f86fbeb43f59bdb21499d58768 v1.0.0
4
4
  84d7cd84016aaade9b5530d183d9d3378d1c0c33 v1.1.0
5
5
  9f6397d60c7bf3361ddd23a6aa4ee728879a2d21 v1.1.1
6
+ d30df88c1128073dba7b9ce8953b7699e5b86436 v1.1.2
data/History.markdown CHANGED
@@ -1,3 +1,8 @@
1
+ 1.1.2 / 2012-02-01
2
+ ------------------
3
+
4
+ * Fix maybe_attach_function for MRI compatibility
5
+
1
6
  1.1.1 / 2012-02-01
2
7
  ------------------
3
8
 
@@ -65,6 +65,8 @@ class Mysql
65
65
 
66
66
  def self.maybe_attach_function name, *args
67
67
  attach_function name, *args
68
+ rescue FFI::NotFoundError => e
69
+ define_singleton_method(name) {|*a| raise e}
68
70
  rescue => e
69
71
  define_singleton_method(name) {|*a| raise e}
70
72
  end
@@ -4,7 +4,7 @@ class Mysql
4
4
  # Minor version
5
5
  MINOR = 1
6
6
  # Tiny version
7
- TINY = 1
7
+ TINY = 2
8
8
 
9
9
  # Version string
10
10
  VERSION = [MAJOR, MINOR, TINY].join('.')
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: ffi-mysql
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.1.1
5
+ version: 1.1.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Frank Fischer