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 +5 -5
- data/ext/extconf.rb +2 -0
- data/ext/mysql_make_scrambled_password_core.c +5 -0
- data/lib/mysql_make_scrambled_password/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 1cbc3640b57b35a1ac7efa73c3a082f1803c36f2a7037dd3795872db4acd1ed7
|
4
|
+
data.tar.gz: 6dd20c50963882df9e4f5d1ab764f511b857d0fdd25d22b5db3a828950720922
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: edad36c84852f5e950d6bfe1912bee30b6ecf5bbb84edbfcd196171256fafad990dee523c36a2080a0637cd4f99b91bbaa4608c82ec497069942eac5bebeb252
|
7
|
+
data.tar.gz: fac0096d60aa653eb27636d855d495de7392545c742516e58ee6d2ebf719fbbe15120eac17c4f0d9fcdff3bfab154450fc40c8da8fa74b4679438b2831e3be86
|
data/ext/extconf.rb
CHANGED
@@ -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
|
}
|
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.
|
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:
|
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.
|
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.
|