Skip to content

Commit a2d12b6

Browse files
ruby: fix typo
1 parent 47accfc commit a2d12b6

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

lib/rb/Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ if HAVE_BUNDLER
2323

2424
all-local:
2525
$(BUNDLER) install
26-
$(BUNDLER) exec rake
26+
$(BUNDLER) exec rake build_ext
2727

2828
install-exec-hook:
2929
$(BUNDLER) exec rake install

lib/rb/ext/binary_protocol_accelerated.c

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -283,27 +283,27 @@ VALUE rb_thrift_binary_proto_read_message_end(VALUE self) {
283283
return Qnil;
284284
}
285285

286-
VALUE rb_thift_binary_proto_read_struct_begin(VALUE self) {
286+
VALUE rb_thrift_binary_proto_read_struct_begin(VALUE self) {
287287
return Qnil;
288288
}
289289

290-
VALUE rb_thift_binary_proto_read_struct_end(VALUE self) {
290+
VALUE rb_thrift_binary_proto_read_struct_end(VALUE self) {
291291
return Qnil;
292292
}
293293

294-
VALUE rb_thift_binary_proto_read_field_end(VALUE self) {
294+
VALUE rb_thrift_binary_proto_read_field_end(VALUE self) {
295295
return Qnil;
296296
}
297297

298-
VALUE rb_thift_binary_proto_read_map_end(VALUE self) {
298+
VALUE rb_thrift_binary_proto_read_map_end(VALUE self) {
299299
return Qnil;
300300
}
301301

302-
VALUE rb_thift_binary_proto_read_list_end(VALUE self) {
302+
VALUE rb_thrift_binary_proto_read_list_end(VALUE self) {
303303
return Qnil;
304304
}
305305

306-
VALUE rb_thift_binary_proto_read_set_end(VALUE self) {
306+
VALUE rb_thrift_binary_proto_read_set_end(VALUE self) {
307307
return Qnil;
308308
}
309309

@@ -449,12 +449,12 @@ void Init_binary_protocol_accelerated() {
449449
rb_define_method(bpa_class, "read_binary", rb_thrift_binary_proto_read_binary, 0);
450450
// unused methods
451451
rb_define_method(bpa_class, "read_message_end", rb_thrift_binary_proto_read_message_end, 0);
452-
rb_define_method(bpa_class, "read_struct_begin", rb_thift_binary_proto_read_struct_begin, 0);
453-
rb_define_method(bpa_class, "read_struct_end", rb_thift_binary_proto_read_struct_end, 0);
454-
rb_define_method(bpa_class, "read_field_end", rb_thift_binary_proto_read_field_end, 0);
455-
rb_define_method(bpa_class, "read_map_end", rb_thift_binary_proto_read_map_end, 0);
456-
rb_define_method(bpa_class, "read_list_end", rb_thift_binary_proto_read_list_end, 0);
457-
rb_define_method(bpa_class, "read_set_end", rb_thift_binary_proto_read_set_end, 0);
452+
rb_define_method(bpa_class, "read_struct_begin", rb_thrift_binary_proto_read_struct_begin, 0);
453+
rb_define_method(bpa_class, "read_struct_end", rb_thrift_binary_proto_read_struct_end, 0);
454+
rb_define_method(bpa_class, "read_field_end", rb_thrift_binary_proto_read_field_end, 0);
455+
rb_define_method(bpa_class, "read_map_end", rb_thrift_binary_proto_read_map_end, 0);
456+
rb_define_method(bpa_class, "read_list_end", rb_thrift_binary_proto_read_list_end, 0);
457+
rb_define_method(bpa_class, "read_set_end", rb_thrift_binary_proto_read_set_end, 0);
458458

459459
rbuf_ivar_id = rb_intern("@rbuf");
460460
}

0 commit comments

Comments
 (0)