google-protobuf 3.25.0.rc.2-x64-mingw-ucrt → 3.25.0-x64-mingw-ucrt

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of google-protobuf might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bb88218173891aaf9e837132847317900a0f9f809d2082806cb6a7f8989d96b2
4
- data.tar.gz: f566befc5e2f8953b6376e28b074cbe45b669dc5ff96b6f2d16760548412de74
3
+ metadata.gz: 459eb9d0640d20eb1e695cbdab7279addc3dc3188eabc5f45b1cae74bd9457b0
4
+ data.tar.gz: c2e9e0130f9d8490c937830207d05b7a40c085a55f11cc24563ce70f39161f84
5
5
  SHA512:
6
- metadata.gz: a87dc0b1af01d372e26488ba7d31204c075c8aec018c1e55d852fce3839d3e2778b635b1ef188a02f221697498444f4ab5db0666194d3d41c111429255c6d5f6
7
- data.tar.gz: 1835de5719218f617152963950704474d10ab2d46534393236922c5df174cc0a4ed93c481544fa4884fa7b77e77d7dbe87a2455f2c0dbd785c3f8753b3ce8275
6
+ metadata.gz: 1caaa3a9038383b768aafa33efd06c798c6fe35c96cde35c9828ef159e6c8ab699dc54adc73624d219ce46f5c082fb5be73a8f1de5b651b2b142ff52c4f8f730
7
+ data.tar.gz: 38aa45e5d2bf204224df7ac821ffb4b1f1d3af37a6add3e9d59e7fa4ed53cfad9a017fcd6eebef31ad99f6c18e12057f804e1dc739c12682fbde31a30e52be96
Binary file
Binary file
@@ -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
- desc "Compile Protobuf library for FFI"
53
- namespace "ffi-protobuf" do
54
- with_generated_files do
55
- # Compile Ruby UPB separately in order to limit use of -DUPB_BUILD_API to one
56
- # compilation unit.
57
- desc "Compile UPB library for FFI"
58
- namespace "ffi-upb" do
59
- with_generated_files do
60
- FFI::Compiler::CompileTask.new('ruby-upb') do |c|
61
- configure_common_compile_task c
62
- c.add_define "UPB_BUILD_API"
63
- c.exclude << "/glue.c"
64
- c.exclude << "/shared_message.c"
65
- c.exclude << "/shared_convert.c"
66
- if RbConfig::CONFIG['target_os'] =~ /darwin|linux/
67
- c.cflags << "-fvisibility=hidden"
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
- FFI::Compiler::CompileTask.new 'protobuf_c_ffi' do |c|
74
- configure_common_compile_task c
75
- # Ruby UPB was already compiled with different flags.
76
- c.exclude << "/range2-neon.c"
77
- c.exclude << "/range2-sse.c"
78
- c.exclude << "/naive.c"
79
- c.exclude << "/ruby-upb.c"
80
- end
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
- # Setup dependencies so that the .o files generated by building ffi-upb are
83
- # available to link here.
84
- # TODO Can this be simplified? Can the single shared library be used
85
- # instead of the object files?
86
- protobuf_c_task = Rake::Task[:default]
87
- protobuf_c_shared_lib_task = Rake::Task[protobuf_c_task.prereqs.last]
88
- ruby_upb_shared_lib_task = Rake::Task[:"ffi-upb:default"].prereqs.first
89
- Rake::Task[ruby_upb_shared_lib_task].prereqs.each do |dependency|
90
- protobuf_c_shared_lib_task.prereqs.prepend dependency
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.rc.2
4
+ version: 3.25.0
5
5
  platform: x64-mingw-ucrt
6
6
  authors:
7
7
  - Protobuf Authors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-10-18 00:00:00.000000000 Z
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
@@ -175,7 +175,7 @@ homepage: https://developers.google.com/protocol-buffers
175
175
  licenses:
176
176
  - BSD-3-Clause
177
177
  metadata:
178
- source_code_uri: https://github.com/protocolbuffers/protobuf/tree/v3.25.0-rc2/ruby
178
+ source_code_uri: https://github.com/protocolbuffers/protobuf/tree/v3.25.0/ruby
179
179
  post_install_message:
180
180
  rdoc_options: []
181
181
  require_paths:
@@ -190,9 +190,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
190
190
  version: 3.3.dev
191
191
  required_rubygems_version: !ruby/object:Gem::Requirement
192
192
  requirements:
193
- - - ">"
193
+ - - ">="
194
194
  - !ruby/object:Gem::Version
195
- version: 1.3.1
195
+ version: '0'
196
196
  requirements: []
197
197
  rubygems_version: 3.3.26
198
198
  signing_key: