grpc 1.76.0.pre1-x86_64-linux-gnu → 1.78.0.pre1-x86_64-linux-gnu

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 84a55be0f8597734673521ce961014f98a2789b5bab21bd68416a23d7fc9a99b
4
- data.tar.gz: 4499d36ab92385bc1a2dd7ac7b3cee21ac7ec03d1acf41b9aa309cb58b6c1fc9
3
+ metadata.gz: '094e4eebda717a5d154ce0e7bbe95cede69060101e7a84f9e4e8e9a9be6caf28'
4
+ data.tar.gz: 3aa8fd839919e3c747fd2b20490b9ee936f63a858246c243d55a5cde7f2f1745
5
5
  SHA512:
6
- metadata.gz: 3bb9b8b8076baa4b7e85499cc812b36463a645b4aeaa5ccb1a13ef621b105f9e3edd9a37b925299774d8324f093cc298c0be28a2b78f5e88964c1d6732afc9f8
7
- data.tar.gz: 73aba899939551c3fcb307b480115921560675f63d02bc5c98ce31b48bb241628d642124186d9b9701cc958b35c42ce29302a89d76a3e14e26563b6307c5db70
6
+ metadata.gz: '081d476f96fcc4ad10548dc473867f06e3bbabe8c5b9862e7e7bb0653c1b30ee7f2c168f48047545edb65c3118dd7a0f5df79f2fc75862c1f5e9a8668721f7cc'
7
+ data.tar.gz: 9870c44c7db72c19f0ccd3ec605ed785df253342cdfbb5adf02b71f070d132575e8a0852253bdcbcc75ceeed9096b7bf86196f74da369f5841af18dbfd93679c
@@ -154,19 +154,21 @@ def have_ruby_abi_version()
154
154
  # See also discussion for Ruby 3.4 in https://github.com/grpc/grpc/pull/38338 and https://github.com/grpc/grpc/pull/38487
155
155
  return false if RUBY_PATCHLEVEL >= 0
156
156
 
157
- m = /(\d+)\.(\d+)/.match(RUBY_VERSION)
158
- if m.nil?
159
- puts "Failed to parse ruby version: #{RUBY_VERSION}. Assuming ruby_abi_version symbol is NOT present."
160
- return false
161
- end
162
- major = m[1].to_i
163
- minor = m[2].to_i
164
- if major >= 3 and minor >= 2
165
- puts "Ruby version #{RUBY_VERSION} >= 3.2. Assuming ruby_abi_version symbol is present."
166
- return true
157
+ min_version = Gem::Version.new('3.2')
158
+
159
+ begin
160
+ current_version = Gem::Version.new(RUBY_VERSION)
161
+ if current_version >= min_version
162
+ puts "Ruby version #{RUBY_VERSION} >= 3.2. Assuming ruby_abi_version symbol is present."
163
+ true
164
+ else
165
+ puts "Ruby version #{RUBY_VERSION} < 3.2. Assuming ruby_abi_version symbol is NOT present."
166
+ false
167
+ end
168
+ rescue ArgumentError
169
+ puts "Failed to parse ruby version #{RUBY_VERSION}. Assuming ruby_abi_version symbol is NOT present."
170
+ false
167
171
  end
168
- puts "Ruby version #{RUBY_VERSION} < 3.2. Assuming ruby_abi_version symbol is NOT present."
169
- false
170
172
  end
171
173
 
172
174
  def ext_export_filename()
@@ -23,7 +23,6 @@
23
23
  #include <grpc/grpc.h>
24
24
  #include <grpc/impl/codegen/compression_types.h>
25
25
  #include <grpc/support/alloc.h>
26
- #include <grpc/support/log.h>
27
26
 
28
27
  #include "rb_byte_buffer.h"
29
28
  #include "rb_call_credentials.h"
@@ -22,7 +22,6 @@
22
22
 
23
23
  #include <grpc/grpc.h>
24
24
  #include <grpc/support/alloc.h>
25
- #include <grpc/support/log.h>
26
25
  #include <grpc/support/string_util.h>
27
26
 
28
27
  #include "rb_grpc.h"
@@ -24,7 +24,6 @@
24
24
  #include <grpc/grpc.h>
25
25
  #include <grpc/grpc_security.h>
26
26
  #include <grpc/support/alloc.h>
27
- #include <grpc/support/log.h>
28
27
  #include <string.h>
29
28
 
30
29
  #include "rb_call_credentials.h"
@@ -25,7 +25,6 @@
25
25
  #include <grpc/impl/codegen/compression_types.h>
26
26
  #include <grpc/impl/grpc_types.h>
27
27
  #include <grpc/support/alloc.h>
28
- #include <grpc/support/log.h>
29
28
  #include <grpc/support/string_util.h>
30
29
  #include <string.h>
31
30
 
@@ -23,7 +23,6 @@
23
23
  #include <grpc/credentials.h>
24
24
  #include <grpc/grpc.h>
25
25
  #include <grpc/grpc_security.h>
26
- #include <grpc/support/log.h>
27
26
 
28
27
  #include "rb_grpc.h"
29
28
  #include "rb_grpc_imports.generated.h"
@@ -24,7 +24,6 @@
24
24
  #include <grpc/grpc.h>
25
25
  #include <grpc/grpc_security.h>
26
26
  #include <grpc/support/alloc.h>
27
- #include <grpc/support/log.h>
28
27
  #include <string.h>
29
28
 
30
29
  #include "rb_call_credentials.h"
@@ -23,7 +23,6 @@
23
23
  #include <grpc/credentials.h>
24
24
  #include <grpc/grpc.h>
25
25
  #include <grpc/grpc_security.h>
26
- #include <grpc/support/log.h>
27
26
 
28
27
  #include "rb_grpc.h"
29
28
  #include "rb_grpc_imports.generated.h"
Binary file
Binary file
Binary file
Binary file
@@ -14,5 +14,5 @@
14
14
 
15
15
  # GRPC contains the General RPC module.
16
16
  module GRPC
17
- VERSION = '1.76.0.pre1'
17
+ VERSION = '1.78.0.pre1'
18
18
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: grpc
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.76.0.pre1
4
+ version: 1.78.0.pre1
5
5
  platform: x86_64-linux-gnu
6
6
  authors:
7
7
  - gRPC Authors
@@ -131,16 +131,16 @@ dependencies:
131
131
  name: rake-compiler-dock
132
132
  requirement: !ruby/object:Gem::Requirement
133
133
  requirements:
134
- - - "~>"
134
+ - - '='
135
135
  - !ruby/object:Gem::Version
136
- version: '1.9'
136
+ version: 1.9.1
137
137
  type: :development
138
138
  prerelease: false
139
139
  version_requirements: !ruby/object:Gem::Requirement
140
140
  requirements:
141
- - - "~>"
141
+ - - '='
142
142
  - !ruby/object:Gem::Version
143
- version: '1.9'
143
+ version: 1.9.1
144
144
  - !ruby/object:Gem::Dependency
145
145
  name: rspec
146
146
  requirement: !ruby/object:Gem::Requirement
@@ -357,7 +357,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
357
357
  - !ruby/object:Gem::Version
358
358
  version: 3.3.22
359
359
  requirements: []
360
- rubygems_version: 3.7.2
360
+ rubygems_version: 4.0.3
361
361
  specification_version: 4
362
362
  summary: GRPC system in Ruby
363
363
  test_files: