ext/api.c in snappy-0.0.7 vs ext/api.c in snappy-0.0.8
- old
+ new
@@ -86,13 +86,13 @@
rb_define_singleton_method(rb_mSnappy, "inflate", snappy_inflate, -1);
VALUE rb_mSnappy_singleton = rb_singleton_class(rb_mSnappy);
rb_define_alias(rb_mSnappy_singleton, "compress", "deflate");
- rb_define_alias(rb_mSnappy_singleton, "load", "deflate");
+ rb_define_alias(rb_mSnappy_singleton, "dump", "deflate");
rb_define_alias(rb_mSnappy_singleton, "uncompress", "inflate");
- rb_define_alias(rb_mSnappy_singleton, "dump", "inflate");
+ rb_define_alias(rb_mSnappy_singleton, "load", "inflate");
rb_require("snappy/writer");
rb_require("snappy/reader");
}