This is an automated email from the ASF dual-hosted git repository.
kpumuk pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/thrift.git
from 318004f17 Enable additional Ruby RuboCop rules (#3714)
add 91d0590cf Enable double-quoted Ruby string literals (#3715)
No new revisions were added by this update.
Summary of changes:
compiler/cpp/src/thrift/generate/t_rb_generator.cc | 42 ++---
.../tests/rb/t_rb_generator_functional_tests.cc | 4 +-
lib/rb/.rubocop.yml | 8 +
lib/rb/Gemfile | 6 +-
lib/rb/Rakefile | 82 +++++-----
lib/rb/benchmark/benchmark.rb | 50 +++---
lib/rb/benchmark/client.rb | 28 ++--
lib/rb/benchmark/server.rb | 28 ++--
lib/rb/benchmark/thin_server.rb | 10 +-
lib/rb/ext/extconf.rb | 8 +-
lib/rb/lib/thrift.rb | 78 ++++-----
lib/rb/lib/thrift/bytes.rb | 2 +-
lib/rb/lib/thrift/exceptions.rb | 10 +-
lib/rb/lib/thrift/multiplexed_processor.rb | 10 +-
lib/rb/lib/thrift/processor.rb | 6 +-
lib/rb/lib/thrift/protocol/base_protocol.rb | 12 +-
lib/rb/lib/thrift/protocol/binary_protocol.rb | 62 +++----
lib/rb/lib/thrift/protocol/compact_protocol.rb | 42 ++---
lib/rb/lib/thrift/protocol/json_protocol.rb | 36 ++---
lib/rb/lib/thrift/protocol/multiplexed_protocol.rb | 2 +-
lib/rb/lib/thrift/server/nonblocking_server.rb | 6 +-
lib/rb/lib/thrift/server/rack_application.rb | 6 +-
lib/rb/lib/thrift/server/thin_http_server.rb | 6 +-
lib/rb/lib/thrift/server/thread_pool_server.rb | 2 +-
lib/rb/lib/thrift/server/threaded_server.rb | 2 +-
lib/rb/lib/thrift/struct.rb | 8 +-
lib/rb/lib/thrift/struct_union.rb | 6 +-
lib/rb/lib/thrift/transport/base_transport.rb | 6 +-
lib/rb/lib/thrift/transport/framed_transport.rb | 4 +-
lib/rb/lib/thrift/transport/header_transport.rb | 32 ++--
.../lib/thrift/transport/http_client_transport.rb | 18 +--
.../thrift/transport/memory_buffer_transport.rb | 6 +-
lib/rb/lib/thrift/transport/server_socket.rb | 4 +-
lib/rb/lib/thrift/transport/socket.rb | 6 +-
lib/rb/lib/thrift/transport/ssl_server_socket.rb | 4 +-
lib/rb/lib/thrift/transport/ssl_socket.rb | 6 +-
lib/rb/lib/thrift/transport/unix_server_socket.rb | 2 +-
lib/rb/lib/thrift/transport/unix_socket.rb | 2 +-
lib/rb/lib/thrift/types.rb | 2 +-
lib/rb/lib/thrift/union.rb | 6 +-
lib/rb/lib/thrift/uuid.rb | 12 +-
lib/rb/spec/base_protocol_spec.rb | 112 ++++++-------
lib/rb/spec/base_transport_spec.rb | 32 ++--
lib/rb/spec/binary_protocol_accelerated_spec.rb | 6 +-
lib/rb/spec/binary_protocol_spec.rb | 18 +--
lib/rb/spec/binary_protocol_spec_shared.rb | 94 +++++------
lib/rb/spec/bytes_spec.rb | 52 +++---
lib/rb/spec/client_spec.rb | 54 +++----
lib/rb/spec/compact_protocol_spec.rb | 6 +-
lib/rb/spec/constants_demo_spec.rb | 24 +--
lib/rb/spec/exception_spec.rb | 4 +-
lib/rb/spec/flat_spec.rb | 6 +-
lib/rb/spec/header_protocol_spec.rb | 14 +-
lib/rb/spec/header_transport_spec.rb | 62 +++----
lib/rb/spec/http_client_spec.rb | 16 +-
lib/rb/spec/json_protocol_spec.rb | 34 ++--
lib/rb/spec/multiplexed_processor_spec.rb | 36 ++---
lib/rb/spec/multiplexed_protocol_spec.rb | 14 +-
lib/rb/spec/namespaced_spec.rb | 6 +-
lib/rb/spec/nonblocking_server_spec.rb | 60 +++----
lib/rb/spec/processor_spec.rb | 14 +-
lib/rb/spec/protocol_decorator_spec.rb | 14 +-
lib/rb/spec/rack_application_spec.rb | 68 ++++----
lib/rb/spec/recursion_depth_spec.rb | 80 ++++-----
lib/rb/spec/serializer_spec.rb | 20 +--
lib/rb/spec/server_socket_spec.rb | 8 +-
lib/rb/spec/server_spec.rb | 30 ++--
lib/rb/spec/socket_spec.rb | 16 +-
lib/rb/spec/socket_spec_shared.rb | 2 +-
lib/rb/spec/spec_helper.rb | 18 +--
lib/rb/spec/ssl_server_socket_spec.rb | 26 +--
lib/rb/spec/ssl_socket_spec.rb | 72 ++++-----
lib/rb/spec/struct_nested_containers_spec.rb | 4 +-
lib/rb/spec/struct_spec.rb | 102 ++++++------
lib/rb/spec/support/header_protocol_helper.rb | 12 +-
lib/rb/spec/thin_http_server_spec.rb | 60 +++----
lib/rb/spec/types_spec.rb | 4 +-
lib/rb/spec/union_spec.rb | 30 ++--
lib/rb/spec/unix_socket_spec.rb | 8 +-
lib/rb/spec/uuid_validation_spec.rb | 144 ++++++++---------
lib/rb/test/fuzz/fuzz_common.rb | 14 +-
lib/rb/test/fuzz/fuzz_parse_binary_protocol.rb | 2 +-
.../fuzz/fuzz_parse_binary_protocol_accelerated.rb | 2 +-
...zz_parse_binary_protocol_accelerated_harness.rb | 2 +-
.../fuzz/fuzz_parse_binary_protocol_harness.rb | 2 +-
lib/rb/test/fuzz/fuzz_parse_compact_protocol.rb | 2 +-
.../fuzz/fuzz_parse_compact_protocol_harness.rb | 2 +-
lib/rb/test/fuzz/fuzz_parse_json_protocol.rb | 2 +-
.../test/fuzz/fuzz_parse_json_protocol_harness.rb | 2 +-
lib/rb/test/fuzz/fuzz_roundtrip_binary_protocol.rb | 2 +-
.../fuzz_roundtrip_binary_protocol_accelerated.rb | 2 +-
...oundtrip_binary_protocol_accelerated_harness.rb | 2 +-
.../fuzz/fuzz_roundtrip_binary_protocol_harness.rb | 2 +-
.../test/fuzz/fuzz_roundtrip_compact_protocol.rb | 2 +-
.../fuzz_roundtrip_compact_protocol_harness.rb | 2 +-
lib/rb/test/fuzz/fuzz_roundtrip_json_protocol.rb | 2 +-
.../fuzz/fuzz_roundtrip_json_protocol_harness.rb | 2 +-
lib/rb/test/fuzz/fuzz_tracer.rb | 4 +-
lib/rb/thrift.gemspec | 40 ++---
test/rb/Gemfile | 16 +-
test/rb/benchmarks/protocol_benchmark.rb | 128 +++++++--------
test/rb/core/protocol/test_binary_protocol.rb | 10 +-
test/rb/core/protocol/test_compact_protocol.rb | 10 +-
test/rb/core/protocol/test_json_protocol.rb | 12 +-
test/rb/core/test_accelerated_binary_protocol.rb | 6 +-
test/rb/core/test_backwards_compatability.rb | 4 +-
test/rb/core/test_exceptions.rb | 4 +-
test/rb/core/transport/test_transport.rb | 6 +-
test/rb/fixtures/structs.rb | 90 +++++------
test/rb/generation/test_enum.rb | 4 +-
test/rb/generation/test_recursive.rb | 4 +-
test/rb/generation/test_struct.rb | 6 +-
test/rb/integration/TestClient.rb | 136 ++++++++--------
test/rb/integration/TestServer.rb | 180 ++++++++++-----------
test/rb/test_helper.rb | 8 +-
tutorial/rb/RubyClient.rb | 12 +-
tutorial/rb/RubyServer.rb | 10 +-
117 files changed, 1399 insertions(+), 1391 deletions(-)