mysql_make_scrambled_password 0.1.1 → 0.1.2

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
- SHA1:
3
- metadata.gz: 270a9648eabb7cde205f43fa5f4ed0699cbee638
4
- data.tar.gz: 093a3f9391ab80b51148a0818965cc1ff1f72403
2
+ SHA256:
3
+ metadata.gz: 1cbc3640b57b35a1ac7efa73c3a082f1803c36f2a7037dd3795872db4acd1ed7
4
+ data.tar.gz: 6dd20c50963882df9e4f5d1ab764f511b857d0fdd25d22b5db3a828950720922
5
5
  SHA512:
6
- metadata.gz: 5229de6da8b7a557a048a4c02ca77bfa094e8e595d9d2b96baacb1ceb7e15f5fca7bd6b53d3338f7b16c51dd855cd37573353915ac099cea7f08a38dbf37714a
7
- data.tar.gz: e85b3f3c116ce97c644a9294a35912ee54f521d40788bba79df2339c569fe56a93484dcb8e2a7fda3962931b011a43fd19c3dd97445940480f9d770f564f337f
6
+ metadata.gz: edad36c84852f5e950d6bfe1912bee30b6ecf5bbb84edbfcd196171256fafad990dee523c36a2080a0637cd4f99b91bbaa4608c82ec497069942eac5bebeb252
7
+ data.tar.gz: fac0096d60aa653eb27636d855d495de7392545c742516e58ee6d2ebf719fbbe15120eac17c4f0d9fcdff3bfab154450fc40c8da8fa74b4679438b2831e3be86
@@ -19,4 +19,6 @@ else
19
19
  have_library('mysqlclient')
20
20
  end
21
21
 
22
+ have_func('make_scrambled_password_323')
23
+
22
24
  create_makefile('ext/mysql_make_scrambled_password_core')
@@ -21,6 +21,7 @@ static VALUE rb_make_scrambled_password(VALUE self, VALUE v_password) {
21
21
  return rb_str_new2(buf);
22
22
  }
23
23
 
24
+ #ifdef HAVE_MAKE_SCRAMBLED_PASSWORD_323
24
25
  static VALUE rb_make_scrambled_password_323(VALUE self, VALUE v_password) {
25
26
  char *password;
26
27
  char *buf;
@@ -41,10 +42,14 @@ static VALUE rb_make_scrambled_password_323(VALUE self, VALUE v_password) {
41
42
 
42
43
  return rb_str_new2(buf);
43
44
  }
45
+ #endif /* HAVE_MAKE_SCRAMBLED_PASSWORD_323 */
44
46
 
45
47
  void Init_mysql_make_scrambled_password_core() {
46
48
  VALUE rb_mMysqlMakeScrambledPassword = rb_define_module("MysqlMakeScrambledPassword");
47
49
  VALUE rb_mMysqlMakeScrambledPasswordCore = rb_define_module_under(rb_mMysqlMakeScrambledPassword, "Core");
48
50
  rb_define_module_function(rb_mMysqlMakeScrambledPasswordCore, "make_scrambled_password", rb_make_scrambled_password, 1);
51
+
52
+ #ifdef HAVE_MAKE_SCRAMBLED_PASSWORD_323
49
53
  rb_define_module_function(rb_mMysqlMakeScrambledPasswordCore, "make_scrambled_password_323", rb_make_scrambled_password_323, 1);
54
+ #endif /* HAVE_MAKE_SCRAMBLED_PASSWORD_323 */
50
55
  }
@@ -1,3 +1,3 @@
1
1
  module MysqlMakeScrambledPassword
2
- VERSION = '0.1.1'
2
+ VERSION = '0.1.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mysql_make_scrambled_password
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Genki Sugawara
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-06-23 00:00:00.000000000 Z
11
+ date: 2019-05-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -110,7 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
110
110
  version: '0'
111
111
  requirements: []
112
112
  rubyforge_project:
113
- rubygems_version: 2.4.5.1
113
+ rubygems_version: 2.7.6.2
114
114
  signing_key:
115
115
  specification_version: 4
116
116
  summary: Execute MySQL PASSWORD() function in Ruby.