Exemplo n.º 1
0
static VALUE rb_git_tag_tagger_SET(VALUE self, VALUE rb_sig)
{
	git_tag *tag;
	RUGGED_OBJ_UNWRAP(self, git_tag, tag);

	git_tag_set_tagger(tag, rugged_signature_get(rb_sig));
	return Qnil;
}
Exemplo n.º 2
0
static VALUE rb_git_tag_tagger_SET(VALUE self, VALUE rb_person)
{
	const char *name, *email;
	time_t time;
	git_tag *tag;
	Data_Get_Struct(self, git_tag, tag);

	rugged_person_rb2c(rb_person, &name, &email, &time);
	git_tag_set_tagger(tag, name, email, time);
	return Qnil;
}