mysql2 0.4.7-x86-mswin32-60 → 0.4.8-x86-mswin32-60

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e9918740309ba7991d027851d518f62c41b11392
4
- data.tar.gz: 492d4879bfbb62d60590a80df7561afe015bc688
3
+ metadata.gz: cf65f10b6b4a82b9a6f89d56f20d26816f670ffb
4
+ data.tar.gz: a2b8b397938f1ad962b520445a75150fc7b0259c
5
5
  SHA512:
6
- metadata.gz: d01a3d915727146992a4a709d03365bd3762b8213ec0f24007b52c4d0e0bc4967d7317527dc112c15ace7f8faeaa5ac96ac78e41f20f358a574641684c808ea5
7
- data.tar.gz: 0fd7ac6e576350e93689831920c116659064d2b718d695f00c6074eef5b363bae811f0009bd26e24bffb811eae7566be863b326a06fff243a3c0786a6f15ddb0
6
+ metadata.gz: 62d622a05ae89f2ccdfc8855a3f9712b0f28a2a888c73e9af06c472cd0616e89ca307714c57e11ffcbf288ffd7c2e936a4b42d7667428534638f3b860a7704d1
7
+ data.tar.gz: 136c4b2c15428ad2595657557d7125d5626d7e08e45f8f8b82de1b2594ead1aed69e4fa84d7ffd0ba316dd937cb831dbe5a859ebced2ceaab1b89a1be39cee6a
@@ -903,10 +903,12 @@ static VALUE _mysql_client_options(VALUE self, int opt, VALUE value) {
903
903
  retval = charval;
904
904
  break;
905
905
 
906
+ #ifdef MYSQL_ENABLE_CLEARTEXT_PLUGIN
906
907
  case MYSQL_ENABLE_CLEARTEXT_PLUGIN:
907
908
  boolval = (value == Qfalse ? 0 : 1);
908
909
  retval = &boolval;
909
910
  break;
911
+ #endif
910
912
 
911
913
  default:
912
914
  return Qfalse;
@@ -1326,7 +1328,11 @@ static VALUE set_init_command(VALUE self, VALUE value) {
1326
1328
  }
1327
1329
 
1328
1330
  static VALUE set_enable_cleartext_plugin(VALUE self, VALUE value) {
1331
+ #ifdef MYSQL_ENABLE_CLEARTEXT_PLUGIN
1329
1332
  return _mysql_client_options(self, MYSQL_ENABLE_CLEARTEXT_PLUGIN, value);
1333
+ #else
1334
+ rb_raise(cMysql2Error, "enable-cleartext-plugin is not available, you may need a newer MySQL client library");
1335
+ #endif
1330
1336
  }
1331
1337
 
1332
1338
  static VALUE initialize_ext(VALUE self) {
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -1,3 +1,3 @@
1
1
  module Mysql2
2
- VERSION = "0.4.7"
2
+ VERSION = "0.4.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mysql2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.7
4
+ version: 0.4.8
5
5
  platform: x86-mswin32-60
6
6
  authors:
7
7
  - Brian Lopez
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-07-01 00:00:00.000000000 Z
12
+ date: 2017-07-10 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description:
15
15
  email: