blogs_captcha 0.0.5 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/ext/blogs_captcha/blogs_captcha.c +5 -5
- data/ext/blogs_captcha/extconf.rb +0 -1
- data/lib/blogs_captcha/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8602964d7a93c3c20b710c5e50bf9f61675eb7e2b51a270501096d56dc615247
|
4
|
+
data.tar.gz: e13d1ed5dcf0b2054830c11bb9838ead629d189fe3de6c58e1b05e5a76f1dd82
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b5b68299cc1dd8f918dfbcf7b571a532477898f5fe12cf9660747e1331669c47992c4f3218a6a17009d991996df673977234a62679a2224b748c5ae84566733b
|
7
|
+
data.tar.gz: db598b309f0323786d75014626f47402d9ea91f5c55ff060116f9eb58141298714f7e7ab88a74bedbe7020f6bda4b949d3538adefbfcd628201cd620714549ff
|
@@ -208,15 +208,15 @@ void captcha(unsigned char im[70*200], unsigned char l[8], int length, int i_lin
|
|
208
208
|
//
|
209
209
|
// #endif
|
210
210
|
|
211
|
-
VALUE
|
211
|
+
VALUE BlogsCaptcha = Qnil;
|
212
212
|
|
213
|
-
void
|
213
|
+
void Init_blogs_captcha();
|
214
214
|
|
215
215
|
VALUE create(VALUE self, VALUE style, VALUE length, VALUE line, VALUE filter);
|
216
216
|
|
217
|
-
void
|
218
|
-
|
219
|
-
rb_define_singleton_method(
|
217
|
+
void Init_blogs_captcha() {
|
218
|
+
BlogsCaptcha = rb_define_module("blogs_captcha");
|
219
|
+
rb_define_singleton_method(BlogsCaptcha, "create", create, 4);
|
220
220
|
}
|
221
221
|
|
222
222
|
VALUE create(VALUE self, VALUE style, VALUE length, VALUE line, VALUE filter) {
|