google-protobuf 3.15.1-universal-darwin → 3.15.2-universal-darwin
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of google-protobuf might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/ext/google/protobuf_c/defs.c +3 -5
- data/ext/google/protobuf_c/message.c +1 -1
- data/ext/google/protobuf_c/message.h +3 -0
- data/lib/google/2.3/protobuf_c.bundle +0 -0
- data/lib/google/2.4/protobuf_c.bundle +0 -0
- data/lib/google/2.5/protobuf_c.bundle +0 -0
- data/lib/google/2.6/protobuf_c.bundle +0 -0
- data/lib/google/2.7/protobuf_c.bundle +0 -0
- data/lib/google/3.0/protobuf_c.bundle +0 -0
- metadata +3 -3
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 5ecf6564a14c032c72a5eba7fd5435bb420e0456f933b0d21ba0e6c0d7d30046
         | 
| 4 | 
            +
              data.tar.gz: 00ebbb00851a65a7256dcc5c599aa4af761fcce3ab9a975509f441d29c27474a
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 64935febcc1f75012b569b88065d8f48a2fb140cd849864963b50c37c199bb811c0c1f6ffbf7736dd37e4f54c7d5b1b036a1abf7bf5de1532984cc3debe1216d
         | 
| 7 | 
            +
              data.tar.gz: 4b9b11df452c20c1ff2081cd7d9ab9967f443a96d6e8ee1a5d1f333db7ce4f9666d0c4b3bcf9209596e1d2438d140a47eaf848c140a32fabd56031e0df998493
         | 
| @@ -960,16 +960,14 @@ static VALUE FieldDescriptor_subtype(VALUE _self) { | |
| 960 960 | 
             
            static VALUE FieldDescriptor_get(VALUE _self, VALUE msg_rb) {
         | 
| 961 961 | 
             
              FieldDescriptor* self = ruby_to_FieldDescriptor(_self);
         | 
| 962 962 | 
             
              const upb_msgdef *m;
         | 
| 963 | 
            -
             | 
| 964 | 
            -
               | 
| 965 | 
            -
              upb_msgval msgval;
         | 
| 963 | 
            +
             | 
| 964 | 
            +
              Message_Get(msg_rb, &m);
         | 
| 966 965 |  | 
| 967 966 | 
             
              if (m != upb_fielddef_containingtype(self->fielddef)) {
         | 
| 968 967 | 
             
                rb_raise(cTypeError, "get method called on wrong message type");
         | 
| 969 968 | 
             
              }
         | 
| 970 969 |  | 
| 971 | 
            -
               | 
| 972 | 
            -
              return Convert_UpbToRuby(msgval, TypeInfo_get(self->fielddef), arena);
         | 
| 970 | 
            +
              return Message_getfield(msg_rb, self->fielddef);
         | 
| 973 971 | 
             
            }
         | 
| 974 972 |  | 
| 975 973 | 
             
            /*
         | 
| @@ -292,7 +292,7 @@ static void Message_setfield(upb_msg* msg, const upb_fielddef* f, VALUE val, | |
| 292 292 | 
             
              upb_msg_set(msg, f, msgval, arena);
         | 
| 293 293 | 
             
            }
         | 
| 294 294 |  | 
| 295 | 
            -
             | 
| 295 | 
            +
            VALUE Message_getfield(VALUE _self, const upb_fielddef* f) {
         | 
| 296 296 | 
             
              Message* self = ruby_to_Message(_self);
         | 
| 297 297 | 
             
              // This is a special-case: upb_msg_mutable() for map & array are logically
         | 
| 298 298 | 
             
              // const (they will not change what is serialized) but physically
         | 
| @@ -63,6 +63,9 @@ const upb_msg* Message_GetUpbMessage(VALUE value, const upb_msgdef* m, | |
| 63 63 | 
             
            // object will reference |arena| and ensure that it outlives this object.
         | 
| 64 64 | 
             
            VALUE Message_GetRubyWrapper(upb_msg* msg, const upb_msgdef* m, VALUE arena);
         | 
| 65 65 |  | 
| 66 | 
            +
            // Gets the given field from this message.
         | 
| 67 | 
            +
            VALUE Message_getfield(VALUE _self, const upb_fielddef* f);
         | 
| 68 | 
            +
             | 
| 66 69 | 
             
            // Implements #inspect for this message, printing the text to |b|.
         | 
| 67 70 | 
             
            void Message_PrintMessage(StringBuilder* b, const upb_msg* msg,
         | 
| 68 71 | 
             
                                      const upb_msgdef* m);
         | 
| Binary file | 
| Binary file | 
| Binary file | 
| Binary file | 
| Binary file | 
| Binary file | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: google-protobuf
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 3.15. | 
| 4 | 
            +
              version: 3.15.2
         | 
| 5 5 | 
             
            platform: universal-darwin
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Protobuf Authors
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2021-02- | 
| 11 | 
            +
            date: 2021-02-23 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: rake-compiler-dock
         | 
| @@ -128,7 +128,7 @@ homepage: https://developers.google.com/protocol-buffers | |
| 128 128 | 
             
            licenses:
         | 
| 129 129 | 
             
            - BSD-3-Clause
         | 
| 130 130 | 
             
            metadata:
         | 
| 131 | 
            -
              source_code_uri: https://github.com/protocolbuffers/protobuf/tree/v3.15. | 
| 131 | 
            +
              source_code_uri: https://github.com/protocolbuffers/protobuf/tree/v3.15.2/ruby
         | 
| 132 132 | 
             
            post_install_message: 
         | 
| 133 133 | 
             
            rdoc_options: []
         | 
| 134 134 | 
             
            require_paths:
         |