grayphash 0.0.4.1 → 0.0.4.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/ext/grayhash/grayphash.c +2 -2
  2. metadata +1 -1
@@ -21,7 +21,7 @@ void Init_grayphash() {
21
21
  rb_define_method(Grayphash, "close", method_close, 0);
22
22
  rb_define_method(Grayphash, "image_phash", &method_image_phash, -1);
23
23
  rb_define_method(Grayphash, "hamming", &method_hamming, -1);
24
- //sdl_library = dlopen("/usr/lib/libpHash.so", RTLD_LAZY);
24
+ sdl_library = dlopen("/usr/lib/libpHash.so", RTLD_LAZY);
25
25
  }
26
26
 
27
27
  VALUE method_hamming(int argc, VALUE * argv, VALUE self) {
@@ -65,7 +65,7 @@ VALUE method_close(VALUE self) {
65
65
  }
66
66
 
67
67
  VALUE method_about(VALUE self) {
68
- return rb_str_new_cstr("pHash 0.9.4. Copyright 2008-2010 Aetilius, Inc. Included only some image functions (grayphash v-0.0.4.1).");
68
+ return rb_str_new_cstr("pHash 0.9.4. Copyright 2008-2010 Aetilius, Inc. Included only some image functions (grayphash v-0.0.4.2).");
69
69
  //char* (*about)();
70
70
  //about = dlsym(sdl_library, "ph_about");
71
71
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: grayphash
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4.1
4
+ version: 0.0.4.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: