summaryrefslogtreecommitdiff
path: root/lib/rb
diff options
context:
space:
mode:
authorRoger Meier <roger@apache.org>2015-03-24 21:15:06 +0100
committerRoger Meier <roger@apache.org>2015-03-24 21:15:06 +0100
commita2d12b6ee3d9aa66f2c16dc6a5ee6eef5f1eba92 (patch)
tree31d6dde9ac89504fddfe23de23ae196158f881bb /lib/rb
parent47accfc802d040386c83fcfd1199d60012c47757 (diff)
downloadthrift-a2d12b6ee3d9aa66f2c16dc6a5ee6eef5f1eba92.tar.gz
ruby: fix typo
Diffstat (limited to 'lib/rb')
-rwxr-xr-xlib/rb/Makefile.am2
-rw-r--r--lib/rb/ext/binary_protocol_accelerated.c24
2 files changed, 13 insertions, 13 deletions
diff --git a/lib/rb/Makefile.am b/lib/rb/Makefile.am
index 2d0c12e80..658eb7d87 100755
--- a/lib/rb/Makefile.am
+++ b/lib/rb/Makefile.am
@@ -23,7 +23,7 @@ if HAVE_BUNDLER
all-local:
$(BUNDLER) install
- $(BUNDLER) exec rake
+ $(BUNDLER) exec rake build_ext
install-exec-hook:
$(BUNDLER) exec rake install
diff --git a/lib/rb/ext/binary_protocol_accelerated.c b/lib/rb/ext/binary_protocol_accelerated.c
index 8b27dbca8..65cbe5ffe 100644
--- a/lib/rb/ext/binary_protocol_accelerated.c
+++ b/lib/rb/ext/binary_protocol_accelerated.c
@@ -283,27 +283,27 @@ VALUE rb_thrift_binary_proto_read_message_end(VALUE self) {
return Qnil;
}
-VALUE rb_thift_binary_proto_read_struct_begin(VALUE self) {
+VALUE rb_thrift_binary_proto_read_struct_begin(VALUE self) {
return Qnil;
}
-VALUE rb_thift_binary_proto_read_struct_end(VALUE self) {
+VALUE rb_thrift_binary_proto_read_struct_end(VALUE self) {
return Qnil;
}
-VALUE rb_thift_binary_proto_read_field_end(VALUE self) {
+VALUE rb_thrift_binary_proto_read_field_end(VALUE self) {
return Qnil;
}
-VALUE rb_thift_binary_proto_read_map_end(VALUE self) {
+VALUE rb_thrift_binary_proto_read_map_end(VALUE self) {
return Qnil;
}
-VALUE rb_thift_binary_proto_read_list_end(VALUE self) {
+VALUE rb_thrift_binary_proto_read_list_end(VALUE self) {
return Qnil;
}
-VALUE rb_thift_binary_proto_read_set_end(VALUE self) {
+VALUE rb_thrift_binary_proto_read_set_end(VALUE self) {
return Qnil;
}
@@ -449,12 +449,12 @@ void Init_binary_protocol_accelerated() {
rb_define_method(bpa_class, "read_binary", rb_thrift_binary_proto_read_binary, 0);
// unused methods
rb_define_method(bpa_class, "read_message_end", rb_thrift_binary_proto_read_message_end, 0);
- rb_define_method(bpa_class, "read_struct_begin", rb_thift_binary_proto_read_struct_begin, 0);
- rb_define_method(bpa_class, "read_struct_end", rb_thift_binary_proto_read_struct_end, 0);
- rb_define_method(bpa_class, "read_field_end", rb_thift_binary_proto_read_field_end, 0);
- rb_define_method(bpa_class, "read_map_end", rb_thift_binary_proto_read_map_end, 0);
- rb_define_method(bpa_class, "read_list_end", rb_thift_binary_proto_read_list_end, 0);
- rb_define_method(bpa_class, "read_set_end", rb_thift_binary_proto_read_set_end, 0);
+ rb_define_method(bpa_class, "read_struct_begin", rb_thrift_binary_proto_read_struct_begin, 0);
+ rb_define_method(bpa_class, "read_struct_end", rb_thrift_binary_proto_read_struct_end, 0);
+ rb_define_method(bpa_class, "read_field_end", rb_thrift_binary_proto_read_field_end, 0);
+ rb_define_method(bpa_class, "read_map_end", rb_thrift_binary_proto_read_map_end, 0);
+ rb_define_method(bpa_class, "read_list_end", rb_thrift_binary_proto_read_list_end, 0);
+ rb_define_method(bpa_class, "read_set_end", rb_thrift_binary_proto_read_set_end, 0);
rbuf_ivar_id = rb_intern("@rbuf");
}