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 9c7b4929d Enforce modern Ruby hash syntax (#3716)
add ac8390fdd Enable multiline Ruby layout cops (#3717)
No new revisions were added by this update.
Summary of changes:
compiler/cpp/src/thrift/generate/t_rb_generator.cc | 99 +++++++++++++++++-----
.../tests/rb/t_rb_generator_functional_tests.cc | 45 +++++++++-
lib/rb/.rubocop.yml | 82 ++++++++++++++++++
lib/rb/Rakefile | 24 +++---
lib/rb/benchmark/benchmark.rb | 2 +-
lib/rb/lib/thrift/client.rb | 6 +-
lib/rb/lib/thrift/processor.rb | 2 +-
lib/rb/lib/thrift/protocol/compact_protocol.rb | 36 ++++----
lib/rb/lib/thrift/protocol/header_protocol.rb | 2 +-
lib/rb/lib/thrift/protocol/json_protocol.rb | 10 +--
lib/rb/lib/thrift/struct_union.rb | 6 +-
lib/rb/lib/thrift/transport/header_transport.rb | 8 +-
lib/rb/lib/thrift/transport/server_socket.rb | 4 +-
lib/rb/lib/thrift/types.rb | 42 ++++-----
lib/rb/spec/base_protocol_spec.rb | 14 +--
lib/rb/spec/binary_protocol_spec_shared.rb | 26 +++---
lib/rb/spec/compact_protocol_spec.rb | 38 +++++----
lib/rb/spec/exception_spec.rb | 4 +-
lib/rb/spec/flat_spec.rb | 22 ++---
lib/rb/spec/header_protocol_spec.rb | 2 +-
lib/rb/spec/header_transport_spec.rb | 36 ++++----
lib/rb/spec/http_client_spec.rb | 20 +++--
lib/rb/spec/json_protocol_spec.rb | 4 +-
lib/rb/spec/multiplexed_processor_spec.rb | 4 +-
lib/rb/spec/namespaced_spec.rb | 22 ++---
lib/rb/spec/nonblocking_server_spec.rb | 10 +--
lib/rb/spec/recursion_depth_spec.rb | 4 +-
lib/rb/spec/serializer_spec.rb | 22 ++---
lib/rb/spec/server_spec.rb | 18 ++--
lib/rb/spec/socket_spec_shared.rb | 4 +-
lib/rb/spec/ssl_socket_spec.rb | 2 +-
lib/rb/spec/struct_spec.rb | 40 ++++-----
lib/rb/spec/thin_http_server_spec.rb | 4 +-
lib/rb/spec/types_spec.rb | 12 ++-
lib/rb/spec/union_spec.rb | 6 +-
lib/rb/spec/uuid_validation_spec.rb | 4 +-
lib/rb/test/fuzz/fuzz_tracer.rb | 2 +-
lib/rb/thrift.gemspec | 2 +-
test/rb/benchmarks/protocol_benchmark.rb | 16 ++--
test/rb/fixtures/structs.rb | 36 ++++----
test/rb/integration/TestClient.rb | 8 +-
test/rb/integration/TestServer.rb | 24 +++---
42 files changed, 496 insertions(+), 278 deletions(-)