google-protobuf 3.20.3-x86-mingw32 → 3.21.0.rc.1-x86-mingw32

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: 586e8a7e1b90b3bc369839d4d50285a1c99beef41d1f32bc3ebe7095554a6793
4
- data.tar.gz: 79c272f101d921de8968e7fa6593bb73d4fc9d22b164ff0bad9d138f66ded112
3
+ metadata.gz: 52cc4dcf49537e52d738f3c65c37fee2384ecc98d0e67efc9b5a6f1290ba742f
4
+ data.tar.gz: 450b5db7c1ff3bda128f7763723abad99efe60f2cdedd0d5063ad981bdd00a6e
5
5
  SHA512:
6
- metadata.gz: 3913a33c8d32634afae8e73496746ce7ba51ecb3e81c50328c92dccb0b19d7d90f7efd169b19d35addf7bcdac6c78e875cf852214ecd02753f0569e15dbed608
7
- data.tar.gz: 38e86ed70e9a98e38202f32d1ef14d359ae7e9f2c0944f866d19210d29644e73a38fa500aaa873012e3e2018ee8194bedda1fa58048d73a5a98f2d4ca12f2e42
6
+ metadata.gz: d6a54107a2a92ed9710f6411905bc4e7816fe41c1c123d8ddc74bd17f28a8718e0d3fb3fe3430626430e74a992848844727c05990bf7c7a3737f8d1b932b1181
7
+ data.tar.gz: e381821fbf4f3be7a5cd42fb46f39b20d80434b2262831b927dc0f6f8ecdd57540445d6ee05bd3e860ed2c1a2ed6fc2e2cc92d5627643ffbefcd5bfaf37e542a
@@ -1,5 +1,5 @@
1
1
 
2
- #if (defined(__ARM_NEON) && defined(__aarch64__)) || defined(__SSE4_1__)
2
+ #if ((defined(__ARM_NEON) && defined(__aarch64__)) || defined(__SSE4_1__)) && !defined(TRUFFLERUBY)
3
3
  int utf8_range2(const unsigned char* data, int len);
4
4
  #else
5
5
  int utf8_naive(const unsigned char* data, int len);
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -79,12 +79,25 @@ module Google
79
79
 
80
80
 
81
81
  def first(n=nil)
82
- n ? self[0...n] : self[0]
82
+ if n.nil?
83
+ return self[0]
84
+ elsif n < 0
85
+ raise ArgumentError, "negative array size"
86
+ else
87
+ return self[0...n]
88
+ end
83
89
  end
84
90
 
85
91
 
86
92
  def last(n=nil)
87
- n ? self[(self.size-n-1)..-1] : self[-1]
93
+ if n.nil?
94
+ return self[-1]
95
+ elsif n < 0
96
+ raise ArgumentError, "negative array size"
97
+ else
98
+ start = [self.size-n, 0].max
99
+ return self[start...self.size]
100
+ end
88
101
  end
89
102
 
90
103
 
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.20.3
4
+ version: 3.21.0.rc.1
5
5
  platform: x86-mingw32
6
6
  authors:
7
7
  - Protobuf Authors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-09-29 00:00:00.000000000 Z
11
+ date: 2022-05-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake-compiler-dock
@@ -113,7 +113,7 @@ homepage: https://developers.google.com/protocol-buffers
113
113
  licenses:
114
114
  - BSD-3-Clause
115
115
  metadata:
116
- source_code_uri: https://github.com/protocolbuffers/protobuf/tree/v3.20.3/ruby
116
+ source_code_uri: https://github.com/protocolbuffers/protobuf/tree/v3.21.0-rc1/ruby
117
117
  post_install_message:
118
118
  rdoc_options: []
119
119
  require_paths:
@@ -128,9 +128,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
128
128
  version: 3.2.dev
129
129
  required_rubygems_version: !ruby/object:Gem::Requirement
130
130
  requirements:
131
- - - ">="
131
+ - - ">"
132
132
  - !ruby/object:Gem::Version
133
- version: '0'
133
+ version: 1.3.1
134
134
  requirements: []
135
135
  rubygems_version: 3.3.4
136
136
  signing_key: