ext/rugged/rugged_patch.c in rugged-1.5.1 vs ext/rugged/rugged_patch.c in rugged-1.6.2

- old
+ new

@@ -381,9 +381,10 @@ void Init_rugged_patch(void) { rb_cRuggedPatch = rb_define_class_under(rb_mRugged, "Patch", rb_cObject); + rb_undef_alloc_func(rb_cRuggedPatch); rb_define_singleton_method(rb_cRuggedPatch, "from_strings", rb_git_patch_from_strings, -1); rb_define_method(rb_cRuggedPatch, "stat", rb_git_diff_patch_stat, 0); rb_define_method(rb_cRuggedPatch, "lines", rb_git_diff_patch_lines, -1);