google-protobuf 3.25.0.rc.2-x86-linux → 3.25.0-x86-linux
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/lib/google/tasks/ffi.rake +45 -37
 - metadata +5 -5
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: f82f57c2c788e3d78088392d13fb1ac45db7b9ef0ecc241d964c851d612e4a5e
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: cf89ea9c5aea85771855e593bc73eea133a968e7b3de2fe3a5dce679f83aeefc
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 14a2c95d154d1d61faded422ea5596634f6eea86a32e8ab4fd9dfb7ee3fac1fd916c3283e4d0bc18b4a4fde1ff67edd4cd8a39589a14626e80bd4cfc34e577bc
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 28ab1563d2cd20ef74d0457d53578469a5518e82d57ba3f5c81284e0070bc73d7b8c162046c8a45d7830b8535025ab552099182e90d9a29da7042f392c2bbf46
         
     | 
    
        data/lib/google/tasks/ffi.rake
    CHANGED
    
    | 
         @@ -1,5 +1,3 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            require "ffi-compiler/compile_task"
         
     | 
| 
       2 
     | 
    
         
            -
             
     | 
| 
       3 
1 
     | 
    
         
             
            # # @param task [FFI::Compiler::CompileTask] task to configure
         
     | 
| 
       4 
2 
     | 
    
         
             
            def configure_common_compile_task(task)
         
     | 
| 
       5 
3 
     | 
    
         
             
              if FileUtils.pwd.include? 'ext'
         
     | 
| 
         @@ -49,46 +47,56 @@ def with_generated_files 
     | 
|
| 
       49 
47 
     | 
    
         
             
              end
         
     | 
| 
       50 
48 
     | 
    
         
             
            end
         
     | 
| 
       51 
49 
     | 
    
         | 
| 
       52 
     | 
    
         
            -
             
     | 
| 
       53 
     | 
    
         
            -
             
     | 
| 
       54 
     | 
    
         
            -
             
     | 
| 
       55 
     | 
    
         
            -
             
     | 
| 
       56 
     | 
    
         
            -
             
     | 
| 
       57 
     | 
    
         
            -
                 
     | 
| 
       58 
     | 
    
         
            -
             
     | 
| 
       59 
     | 
    
         
            -
                   
     | 
| 
       60 
     | 
    
         
            -
             
     | 
| 
       61 
     | 
    
         
            -
             
     | 
| 
       62 
     | 
    
         
            -
             
     | 
| 
       63 
     | 
    
         
            -
                       
     | 
| 
       64 
     | 
    
         
            -
             
     | 
| 
       65 
     | 
    
         
            -
             
     | 
| 
       66 
     | 
    
         
            -
             
     | 
| 
       67 
     | 
    
         
            -
                        c. 
     | 
| 
      
 50 
     | 
    
         
            +
            begin
         
     | 
| 
      
 51 
     | 
    
         
            +
              require "ffi-compiler/compile_task"
         
     | 
| 
      
 52 
     | 
    
         
            +
             
     | 
| 
      
 53 
     | 
    
         
            +
              desc "Compile Protobuf library for FFI"
         
     | 
| 
      
 54 
     | 
    
         
            +
              namespace "ffi-protobuf" do
         
     | 
| 
      
 55 
     | 
    
         
            +
                with_generated_files do
         
     | 
| 
      
 56 
     | 
    
         
            +
                  # Compile Ruby UPB separately in order to limit use of -DUPB_BUILD_API to one
         
     | 
| 
      
 57 
     | 
    
         
            +
                  # compilation unit.
         
     | 
| 
      
 58 
     | 
    
         
            +
                  desc "Compile UPB library for FFI"
         
     | 
| 
      
 59 
     | 
    
         
            +
                  namespace "ffi-upb" do
         
     | 
| 
      
 60 
     | 
    
         
            +
                    with_generated_files do
         
     | 
| 
      
 61 
     | 
    
         
            +
                      FFI::Compiler::CompileTask.new('ruby-upb') do |c|
         
     | 
| 
      
 62 
     | 
    
         
            +
                        configure_common_compile_task c
         
     | 
| 
      
 63 
     | 
    
         
            +
                        c.add_define "UPB_BUILD_API"
         
     | 
| 
      
 64 
     | 
    
         
            +
                        c.exclude << "/glue.c"
         
     | 
| 
      
 65 
     | 
    
         
            +
                        c.exclude << "/shared_message.c"
         
     | 
| 
      
 66 
     | 
    
         
            +
                        c.exclude << "/shared_convert.c"
         
     | 
| 
      
 67 
     | 
    
         
            +
                        if RbConfig::CONFIG['target_os'] =~ /darwin|linux/
         
     | 
| 
      
 68 
     | 
    
         
            +
                          c.cflags << "-fvisibility=hidden"
         
     | 
| 
      
 69 
     | 
    
         
            +
                        end
         
     | 
| 
       68 
70 
     | 
    
         
             
                      end
         
     | 
| 
       69 
71 
     | 
    
         
             
                    end
         
     | 
| 
       70 
72 
     | 
    
         
             
                  end
         
     | 
| 
       71 
     | 
    
         
            -
                end
         
     | 
| 
       72 
73 
     | 
    
         | 
| 
       73 
     | 
    
         
            -
             
     | 
| 
       74 
     | 
    
         
            -
             
     | 
| 
       75 
     | 
    
         
            -
             
     | 
| 
       76 
     | 
    
         
            -
             
     | 
| 
       77 
     | 
    
         
            -
             
     | 
| 
       78 
     | 
    
         
            -
             
     | 
| 
       79 
     | 
    
         
            -
             
     | 
| 
       80 
     | 
    
         
            -
             
     | 
| 
      
 74 
     | 
    
         
            +
                  FFI::Compiler::CompileTask.new 'protobuf_c_ffi' do |c|
         
     | 
| 
      
 75 
     | 
    
         
            +
                    configure_common_compile_task c
         
     | 
| 
      
 76 
     | 
    
         
            +
                    # Ruby UPB was already compiled with different flags.
         
     | 
| 
      
 77 
     | 
    
         
            +
                    c.exclude << "/range2-neon.c"
         
     | 
| 
      
 78 
     | 
    
         
            +
                    c.exclude << "/range2-sse.c"
         
     | 
| 
      
 79 
     | 
    
         
            +
                    c.exclude << "/naive.c"
         
     | 
| 
      
 80 
     | 
    
         
            +
                    c.exclude << "/ruby-upb.c"
         
     | 
| 
      
 81 
     | 
    
         
            +
                  end
         
     | 
| 
       81 
82 
     | 
    
         | 
| 
       82 
     | 
    
         
            -
             
     | 
| 
       83 
     | 
    
         
            -
             
     | 
| 
       84 
     | 
    
         
            -
             
     | 
| 
       85 
     | 
    
         
            -
             
     | 
| 
       86 
     | 
    
         
            -
             
     | 
| 
       87 
     | 
    
         
            -
             
     | 
| 
       88 
     | 
    
         
            -
             
     | 
| 
       89 
     | 
    
         
            -
             
     | 
| 
       90 
     | 
    
         
            -
             
     | 
| 
      
 83 
     | 
    
         
            +
                  # Setup dependencies so that the .o files generated by building ffi-upb are
         
     | 
| 
      
 84 
     | 
    
         
            +
                  # available to link here.
         
     | 
| 
      
 85 
     | 
    
         
            +
                  # TODO Can this be simplified? Can the single shared library be used
         
     | 
| 
      
 86 
     | 
    
         
            +
                  # instead of the object files?
         
     | 
| 
      
 87 
     | 
    
         
            +
                  protobuf_c_task = Rake::Task[:default]
         
     | 
| 
      
 88 
     | 
    
         
            +
                  protobuf_c_shared_lib_task = Rake::Task[protobuf_c_task.prereqs.last]
         
     | 
| 
      
 89 
     | 
    
         
            +
                  ruby_upb_shared_lib_task = Rake::Task[:"ffi-upb:default"].prereqs.first
         
     | 
| 
      
 90 
     | 
    
         
            +
                  Rake::Task[ruby_upb_shared_lib_task].prereqs.each do |dependency|
         
     | 
| 
      
 91 
     | 
    
         
            +
                    protobuf_c_shared_lib_task.prereqs.prepend dependency
         
     | 
| 
      
 92 
     | 
    
         
            +
                  end
         
     | 
| 
      
 93 
     | 
    
         
            +
                end
         
     | 
| 
      
 94 
     | 
    
         
            +
              end
         
     | 
| 
      
 95 
     | 
    
         
            +
            rescue LoadError
         
     | 
| 
      
 96 
     | 
    
         
            +
              desc "Compile Protobuf library for FFI"
         
     | 
| 
      
 97 
     | 
    
         
            +
              namespace "ffi-protobuf" do
         
     | 
| 
      
 98 
     | 
    
         
            +
                task :default do
         
     | 
| 
      
 99 
     | 
    
         
            +
                  warn "Skipping build of FFI; `gem install ffi-compiler` to enable."
         
     | 
| 
       91 
100 
     | 
    
         
             
                end
         
     | 
| 
       92 
101 
     | 
    
         
             
              end
         
     | 
| 
       93 
102 
     | 
    
         
             
            end
         
     | 
| 
       94 
     | 
    
         
            -
             
     | 
    
        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.25.0 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 3.25.0
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: x86-linux
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Protobuf Authors
         
     | 
| 
       8 
8 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       9 
9 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       10 
10 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       11 
     | 
    
         
            -
            date: 2023- 
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2023-11-01 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: rake-compiler-dock
         
     | 
| 
         @@ -177,7 +177,7 @@ homepage: https://developers.google.com/protocol-buffers 
     | 
|
| 
       177 
177 
     | 
    
         
             
            licenses:
         
     | 
| 
       178 
178 
     | 
    
         
             
            - BSD-3-Clause
         
     | 
| 
       179 
179 
     | 
    
         
             
            metadata:
         
     | 
| 
       180 
     | 
    
         
            -
              source_code_uri: https://github.com/protocolbuffers/protobuf/tree/v3.25.0 
     | 
| 
      
 180 
     | 
    
         
            +
              source_code_uri: https://github.com/protocolbuffers/protobuf/tree/v3.25.0/ruby
         
     | 
| 
       181 
181 
     | 
    
         
             
            post_install_message: 
         
     | 
| 
       182 
182 
     | 
    
         
             
            rdoc_options: []
         
     | 
| 
       183 
183 
     | 
    
         
             
            require_paths:
         
     | 
| 
         @@ -192,9 +192,9 @@ required_ruby_version: !ruby/object:Gem::Requirement 
     | 
|
| 
       192 
192 
     | 
    
         
             
                  version: 3.3.dev
         
     | 
| 
       193 
193 
     | 
    
         
             
            required_rubygems_version: !ruby/object:Gem::Requirement
         
     | 
| 
       194 
194 
     | 
    
         
             
              requirements:
         
     | 
| 
       195 
     | 
    
         
            -
              - - " 
     | 
| 
      
 195 
     | 
    
         
            +
              - - ">="
         
     | 
| 
       196 
196 
     | 
    
         
             
                - !ruby/object:Gem::Version
         
     | 
| 
       197 
     | 
    
         
            -
                  version:  
     | 
| 
      
 197 
     | 
    
         
            +
                  version: '0'
         
     | 
| 
       198 
198 
     | 
    
         
             
            requirements: []
         
     | 
| 
       199 
199 
     | 
    
         
             
            rubygems_version: 3.3.26
         
     | 
| 
       200 
200 
     | 
    
         
             
            signing_key: 
         
     |