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

- old
+ new

@@ -867,9 +867,10 @@ } void Init_rugged_commit(void) { rb_cRuggedCommit = rb_define_class_under(rb_mRugged, "Commit", rb_cRuggedObject); + rb_undef_alloc_func(rb_cRuggedCommit); rb_define_singleton_method(rb_cRuggedCommit, "create", rb_git_commit_create, 2); rb_define_singleton_method(rb_cRuggedCommit, "create_to_s", rb_git_commit_create_to_s, 2); rb_define_singleton_method(rb_cRuggedCommit, "create_with_signature", rb_git_commit_create_with_signature, -1); rb_define_singleton_method(rb_cRuggedCommit, "extract_signature", rb_git_commit_extract_signature, -1);