├── .document ├── .gitignore ├── .travis.yml ├── CHANGELOG.md ├── Dockerfile ├── Gemfile ├── Gemfile.no_varint ├── LICENSE ├── README.md ├── Rakefile ├── bin ├── protoc-gen-ruby └── ruby-protoc ├── debian ├── changelog ├── compatability ├── control ├── libprotobuf-ruby1.8.install ├── protocol_buffers.rb └── rules ├── examples └── json_protobuf.rb ├── lib ├── protocol_buffers.rb └── protocol_buffers │ ├── compiler.rb │ ├── compiler │ ├── descriptor.pb.rb │ ├── descriptor.proto │ ├── file_descriptor_to_d.rb │ ├── file_descriptor_to_ruby.rb │ ├── plugin.pb.rb │ └── plugin.proto │ ├── limited_io.rb │ ├── runtime │ ├── decoder.rb │ ├── encoder.rb │ ├── enum.rb │ ├── extend.rb │ ├── field.rb │ ├── message.rb │ ├── rpc.rb │ ├── service.rb │ ├── text_formatter.rb │ ├── text_parser.ry │ ├── text_scanner.rb │ └── varint.rb │ └── version.rb ├── ruby-protocol-buffers.gemspec ├── spec ├── compiler_spec.rb ├── fields_spec.rb ├── message_spec.rb ├── negative_int32_spec.rb ├── nil_bugs_spec.rb ├── proto_files │ ├── depends.proto │ ├── dotted_package.proto │ ├── enums.pb.rb │ ├── enums.proto │ ├── featureful.pb.rb │ ├── featureful.proto │ ├── nested │ │ └── child.proto │ ├── no_package.pb.rb │ ├── no_package.proto │ ├── packed.pb.rb │ ├── packed.proto │ ├── services.pb.rb │ ├── services.proto │ ├── simple.pb.rb │ ├── simple.proto │ ├── top_level_enum.proto │ └── under_score_package.proto ├── runtime_spec.rb ├── spec.opts ├── spec_helper.rb ├── text_format_spec.rb └── unicode_string_spec.rb └── tasks ├── rspec.rake └── yard.rake /.document: -------------------------------------------------------------------------------- 1 | README 2 | lib/**/*.rb 3 | LICENSE 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codekitchen/ruby-protocol-buffers/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codekitchen/ruby-protocol-buffers/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codekitchen/ruby-protocol-buffers/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codekitchen/ruby-protocol-buffers/HEAD/Dockerfile -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codekitchen/ruby-protocol-buffers/HEAD/Gemfile -------------------------------------------------------------------------------- /Gemfile.no_varint: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codekitchen/ruby-protocol-buffers/HEAD/Gemfile.no_varint -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codekitchen/ruby-protocol-buffers/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codekitchen/ruby-protocol-buffers/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codekitchen/ruby-protocol-buffers/HEAD/Rakefile -------------------------------------------------------------------------------- /bin/protoc-gen-ruby: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codekitchen/ruby-protocol-buffers/HEAD/bin/protoc-gen-ruby -------------------------------------------------------------------------------- /bin/ruby-protoc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codekitchen/ruby-protocol-buffers/HEAD/bin/ruby-protoc -------------------------------------------------------------------------------- /debian/changelog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codekitchen/ruby-protocol-buffers/HEAD/debian/changelog -------------------------------------------------------------------------------- /debian/compatability: -------------------------------------------------------------------------------- 1 | 4 2 | -------------------------------------------------------------------------------- /debian/control: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codekitchen/ruby-protocol-buffers/HEAD/debian/control -------------------------------------------------------------------------------- /debian/libprotobuf-ruby1.8.install: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codekitchen/ruby-protocol-buffers/HEAD/debian/libprotobuf-ruby1.8.install -------------------------------------------------------------------------------- /debian/protocol_buffers.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codekitchen/ruby-protocol-buffers/HEAD/debian/protocol_buffers.rb -------------------------------------------------------------------------------- /debian/rules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codekitchen/ruby-protocol-buffers/HEAD/debian/rules -------------------------------------------------------------------------------- /examples/json_protobuf.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codekitchen/ruby-protocol-buffers/HEAD/examples/json_protobuf.rb -------------------------------------------------------------------------------- /lib/protocol_buffers.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codekitchen/ruby-protocol-buffers/HEAD/lib/protocol_buffers.rb -------------------------------------------------------------------------------- /lib/protocol_buffers/compiler.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codekitchen/ruby-protocol-buffers/HEAD/lib/protocol_buffers/compiler.rb -------------------------------------------------------------------------------- /lib/protocol_buffers/compiler/descriptor.pb.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codekitchen/ruby-protocol-buffers/HEAD/lib/protocol_buffers/compiler/descriptor.pb.rb -------------------------------------------------------------------------------- /lib/protocol_buffers/compiler/descriptor.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codekitchen/ruby-protocol-buffers/HEAD/lib/protocol_buffers/compiler/descriptor.proto -------------------------------------------------------------------------------- /lib/protocol_buffers/compiler/file_descriptor_to_d.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codekitchen/ruby-protocol-buffers/HEAD/lib/protocol_buffers/compiler/file_descriptor_to_d.rb -------------------------------------------------------------------------------- /lib/protocol_buffers/compiler/file_descriptor_to_ruby.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codekitchen/ruby-protocol-buffers/HEAD/lib/protocol_buffers/compiler/file_descriptor_to_ruby.rb -------------------------------------------------------------------------------- /lib/protocol_buffers/compiler/plugin.pb.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codekitchen/ruby-protocol-buffers/HEAD/lib/protocol_buffers/compiler/plugin.pb.rb -------------------------------------------------------------------------------- /lib/protocol_buffers/compiler/plugin.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codekitchen/ruby-protocol-buffers/HEAD/lib/protocol_buffers/compiler/plugin.proto -------------------------------------------------------------------------------- /lib/protocol_buffers/limited_io.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codekitchen/ruby-protocol-buffers/HEAD/lib/protocol_buffers/limited_io.rb -------------------------------------------------------------------------------- /lib/protocol_buffers/runtime/decoder.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codekitchen/ruby-protocol-buffers/HEAD/lib/protocol_buffers/runtime/decoder.rb -------------------------------------------------------------------------------- /lib/protocol_buffers/runtime/encoder.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codekitchen/ruby-protocol-buffers/HEAD/lib/protocol_buffers/runtime/encoder.rb -------------------------------------------------------------------------------- /lib/protocol_buffers/runtime/enum.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codekitchen/ruby-protocol-buffers/HEAD/lib/protocol_buffers/runtime/enum.rb -------------------------------------------------------------------------------- /lib/protocol_buffers/runtime/extend.rb: -------------------------------------------------------------------------------- 1 | # TODO 2 | -------------------------------------------------------------------------------- /lib/protocol_buffers/runtime/field.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codekitchen/ruby-protocol-buffers/HEAD/lib/protocol_buffers/runtime/field.rb -------------------------------------------------------------------------------- /lib/protocol_buffers/runtime/message.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codekitchen/ruby-protocol-buffers/HEAD/lib/protocol_buffers/runtime/message.rb -------------------------------------------------------------------------------- /lib/protocol_buffers/runtime/rpc.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codekitchen/ruby-protocol-buffers/HEAD/lib/protocol_buffers/runtime/rpc.rb -------------------------------------------------------------------------------- /lib/protocol_buffers/runtime/service.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codekitchen/ruby-protocol-buffers/HEAD/lib/protocol_buffers/runtime/service.rb -------------------------------------------------------------------------------- /lib/protocol_buffers/runtime/text_formatter.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codekitchen/ruby-protocol-buffers/HEAD/lib/protocol_buffers/runtime/text_formatter.rb -------------------------------------------------------------------------------- /lib/protocol_buffers/runtime/text_parser.ry: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codekitchen/ruby-protocol-buffers/HEAD/lib/protocol_buffers/runtime/text_parser.ry -------------------------------------------------------------------------------- /lib/protocol_buffers/runtime/text_scanner.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codekitchen/ruby-protocol-buffers/HEAD/lib/protocol_buffers/runtime/text_scanner.rb -------------------------------------------------------------------------------- /lib/protocol_buffers/runtime/varint.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codekitchen/ruby-protocol-buffers/HEAD/lib/protocol_buffers/runtime/varint.rb -------------------------------------------------------------------------------- /lib/protocol_buffers/version.rb: -------------------------------------------------------------------------------- 1 | module ProtocolBuffers 2 | VERSION = "1.6.1" 3 | end 4 | -------------------------------------------------------------------------------- /ruby-protocol-buffers.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codekitchen/ruby-protocol-buffers/HEAD/ruby-protocol-buffers.gemspec -------------------------------------------------------------------------------- /spec/compiler_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codekitchen/ruby-protocol-buffers/HEAD/spec/compiler_spec.rb -------------------------------------------------------------------------------- /spec/fields_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codekitchen/ruby-protocol-buffers/HEAD/spec/fields_spec.rb -------------------------------------------------------------------------------- /spec/message_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codekitchen/ruby-protocol-buffers/HEAD/spec/message_spec.rb -------------------------------------------------------------------------------- /spec/negative_int32_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codekitchen/ruby-protocol-buffers/HEAD/spec/negative_int32_spec.rb -------------------------------------------------------------------------------- /spec/nil_bugs_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codekitchen/ruby-protocol-buffers/HEAD/spec/nil_bugs_spec.rb -------------------------------------------------------------------------------- /spec/proto_files/depends.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codekitchen/ruby-protocol-buffers/HEAD/spec/proto_files/depends.proto -------------------------------------------------------------------------------- /spec/proto_files/dotted_package.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codekitchen/ruby-protocol-buffers/HEAD/spec/proto_files/dotted_package.proto -------------------------------------------------------------------------------- /spec/proto_files/enums.pb.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codekitchen/ruby-protocol-buffers/HEAD/spec/proto_files/enums.pb.rb -------------------------------------------------------------------------------- /spec/proto_files/enums.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codekitchen/ruby-protocol-buffers/HEAD/spec/proto_files/enums.proto -------------------------------------------------------------------------------- /spec/proto_files/featureful.pb.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codekitchen/ruby-protocol-buffers/HEAD/spec/proto_files/featureful.pb.rb -------------------------------------------------------------------------------- /spec/proto_files/featureful.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codekitchen/ruby-protocol-buffers/HEAD/spec/proto_files/featureful.proto -------------------------------------------------------------------------------- /spec/proto_files/nested/child.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codekitchen/ruby-protocol-buffers/HEAD/spec/proto_files/nested/child.proto -------------------------------------------------------------------------------- /spec/proto_files/no_package.pb.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codekitchen/ruby-protocol-buffers/HEAD/spec/proto_files/no_package.pb.rb -------------------------------------------------------------------------------- /spec/proto_files/no_package.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codekitchen/ruby-protocol-buffers/HEAD/spec/proto_files/no_package.proto -------------------------------------------------------------------------------- /spec/proto_files/packed.pb.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codekitchen/ruby-protocol-buffers/HEAD/spec/proto_files/packed.pb.rb -------------------------------------------------------------------------------- /spec/proto_files/packed.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codekitchen/ruby-protocol-buffers/HEAD/spec/proto_files/packed.proto -------------------------------------------------------------------------------- /spec/proto_files/services.pb.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codekitchen/ruby-protocol-buffers/HEAD/spec/proto_files/services.pb.rb -------------------------------------------------------------------------------- /spec/proto_files/services.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codekitchen/ruby-protocol-buffers/HEAD/spec/proto_files/services.proto -------------------------------------------------------------------------------- /spec/proto_files/simple.pb.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codekitchen/ruby-protocol-buffers/HEAD/spec/proto_files/simple.pb.rb -------------------------------------------------------------------------------- /spec/proto_files/simple.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codekitchen/ruby-protocol-buffers/HEAD/spec/proto_files/simple.proto -------------------------------------------------------------------------------- /spec/proto_files/top_level_enum.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codekitchen/ruby-protocol-buffers/HEAD/spec/proto_files/top_level_enum.proto -------------------------------------------------------------------------------- /spec/proto_files/under_score_package.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codekitchen/ruby-protocol-buffers/HEAD/spec/proto_files/under_score_package.proto -------------------------------------------------------------------------------- /spec/runtime_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codekitchen/ruby-protocol-buffers/HEAD/spec/runtime_spec.rb -------------------------------------------------------------------------------- /spec/spec.opts: -------------------------------------------------------------------------------- 1 | --color 2 | -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codekitchen/ruby-protocol-buffers/HEAD/spec/spec_helper.rb -------------------------------------------------------------------------------- /spec/text_format_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codekitchen/ruby-protocol-buffers/HEAD/spec/text_format_spec.rb -------------------------------------------------------------------------------- /spec/unicode_string_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codekitchen/ruby-protocol-buffers/HEAD/spec/unicode_string_spec.rb -------------------------------------------------------------------------------- /tasks/rspec.rake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codekitchen/ruby-protocol-buffers/HEAD/tasks/rspec.rake -------------------------------------------------------------------------------- /tasks/yard.rake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codekitchen/ruby-protocol-buffers/HEAD/tasks/yard.rake --------------------------------------------------------------------------------