grpc 1.31.0.pre1 → 1.31.0.pre2
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of grpc might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/Makefile +2 -2
- data/src/core/ext/filters/client_channel/lb_policy/weighted_target/weighted_target.cc +3 -4
- data/src/core/ext/filters/client_channel/lb_policy/xds/xds_routing.cc +5 -4
- data/src/ruby/lib/grpc/version.rb +1 -1
- data/third_party/re2/re2/bitmap256.h +117 -0
- data/third_party/re2/re2/bitstate.cc +385 -0
- data/third_party/re2/re2/compile.cc +1279 -0
- data/third_party/re2/re2/dfa.cc +2130 -0
- data/third_party/re2/re2/filtered_re2.cc +121 -0
- data/third_party/re2/re2/filtered_re2.h +109 -0
- data/third_party/re2/re2/mimics_pcre.cc +197 -0
- data/third_party/re2/re2/nfa.cc +713 -0
- data/third_party/re2/re2/onepass.cc +623 -0
- data/third_party/re2/re2/parse.cc +2464 -0
- data/third_party/re2/re2/perl_groups.cc +119 -0
- data/third_party/re2/re2/pod_array.h +55 -0
- data/third_party/re2/re2/prefilter.cc +710 -0
- data/third_party/re2/re2/prefilter.h +108 -0
- data/third_party/re2/re2/prefilter_tree.cc +407 -0
- data/third_party/re2/re2/prefilter_tree.h +139 -0
- data/third_party/re2/re2/prog.cc +988 -0
- data/third_party/re2/re2/prog.h +436 -0
- data/third_party/re2/re2/re2.cc +1362 -0
- data/third_party/re2/re2/re2.h +1002 -0
- data/third_party/re2/re2/regexp.cc +980 -0
- data/third_party/re2/re2/regexp.h +659 -0
- data/third_party/re2/re2/set.cc +154 -0
- data/third_party/re2/re2/set.h +80 -0
- data/third_party/re2/re2/simplify.cc +657 -0
- data/third_party/re2/re2/sparse_array.h +392 -0
- data/third_party/re2/re2/sparse_set.h +264 -0
- data/third_party/re2/re2/stringpiece.cc +65 -0
- data/third_party/re2/re2/stringpiece.h +210 -0
- data/third_party/re2/re2/tostring.cc +351 -0
- data/third_party/re2/re2/unicode_casefold.cc +582 -0
- data/third_party/re2/re2/unicode_casefold.h +78 -0
- data/third_party/re2/re2/unicode_groups.cc +6269 -0
- data/third_party/re2/re2/unicode_groups.h +67 -0
- data/third_party/re2/re2/walker-inl.h +246 -0
- data/third_party/re2/util/benchmark.h +156 -0
- data/third_party/re2/util/flags.h +26 -0
- data/third_party/re2/util/logging.h +109 -0
- data/third_party/re2/util/malloc_counter.h +19 -0
- data/third_party/re2/util/mix.h +41 -0
- data/third_party/re2/util/mutex.h +148 -0
- data/third_party/re2/util/pcre.cc +1025 -0
- data/third_party/re2/util/pcre.h +681 -0
- data/third_party/re2/util/rune.cc +260 -0
- data/third_party/re2/util/strutil.cc +149 -0
- data/third_party/re2/util/strutil.h +21 -0
- data/third_party/re2/util/test.h +50 -0
- data/third_party/re2/util/utf.h +44 -0
- data/third_party/re2/util/util.h +42 -0
- metadata +78 -29
@@ -0,0 +1,44 @@
|
|
1
|
+
/*
|
2
|
+
* The authors of this software are Rob Pike and Ken Thompson.
|
3
|
+
* Copyright (c) 2002 by Lucent Technologies.
|
4
|
+
* Permission to use, copy, modify, and distribute this software for any
|
5
|
+
* purpose without fee is hereby granted, provided that this entire notice
|
6
|
+
* is included in all copies of any software which is or includes a copy
|
7
|
+
* or modification of this software and in all copies of the supporting
|
8
|
+
* documentation for such software.
|
9
|
+
* THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED
|
10
|
+
* WARRANTY. IN PARTICULAR, NEITHER THE AUTHORS NOR LUCENT TECHNOLOGIES MAKE ANY
|
11
|
+
* REPRESENTATION OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY
|
12
|
+
* OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE.
|
13
|
+
*
|
14
|
+
* This file and rune.cc have been converted to compile as C++ code
|
15
|
+
* in name space re2.
|
16
|
+
*/
|
17
|
+
|
18
|
+
#ifndef UTIL_UTF_H_
|
19
|
+
#define UTIL_UTF_H_
|
20
|
+
|
21
|
+
#include <stdint.h>
|
22
|
+
|
23
|
+
namespace re2 {
|
24
|
+
|
25
|
+
typedef signed int Rune; /* Code-point values in Unicode 4.0 are 21 bits wide.*/
|
26
|
+
|
27
|
+
enum
|
28
|
+
{
|
29
|
+
UTFmax = 4, /* maximum bytes per rune */
|
30
|
+
Runesync = 0x80, /* cannot represent part of a UTF sequence (<) */
|
31
|
+
Runeself = 0x80, /* rune and UTF sequences are the same (<) */
|
32
|
+
Runeerror = 0xFFFD, /* decoding error in UTF */
|
33
|
+
Runemax = 0x10FFFF, /* maximum rune value */
|
34
|
+
};
|
35
|
+
|
36
|
+
int runetochar(char* s, const Rune* r);
|
37
|
+
int chartorune(Rune* r, const char* s);
|
38
|
+
int fullrune(const char* s, int n);
|
39
|
+
int utflen(const char* s);
|
40
|
+
char* utfrune(const char*, Rune);
|
41
|
+
|
42
|
+
} // namespace re2
|
43
|
+
|
44
|
+
#endif // UTIL_UTF_H_
|
@@ -0,0 +1,42 @@
|
|
1
|
+
// Copyright 2009 The RE2 Authors. All Rights Reserved.
|
2
|
+
// Use of this source code is governed by a BSD-style
|
3
|
+
// license that can be found in the LICENSE file.
|
4
|
+
|
5
|
+
#ifndef UTIL_UTIL_H_
|
6
|
+
#define UTIL_UTIL_H_
|
7
|
+
|
8
|
+
#define arraysize(array) (sizeof(array)/sizeof((array)[0]))
|
9
|
+
|
10
|
+
#ifndef ATTRIBUTE_NORETURN
|
11
|
+
#if defined(__GNUC__)
|
12
|
+
#define ATTRIBUTE_NORETURN __attribute__((noreturn))
|
13
|
+
#elif defined(_MSC_VER)
|
14
|
+
#define ATTRIBUTE_NORETURN __declspec(noreturn)
|
15
|
+
#else
|
16
|
+
#define ATTRIBUTE_NORETURN
|
17
|
+
#endif
|
18
|
+
#endif
|
19
|
+
|
20
|
+
#ifndef ATTRIBUTE_UNUSED
|
21
|
+
#if defined(__GNUC__)
|
22
|
+
#define ATTRIBUTE_UNUSED __attribute__((unused))
|
23
|
+
#else
|
24
|
+
#define ATTRIBUTE_UNUSED
|
25
|
+
#endif
|
26
|
+
#endif
|
27
|
+
|
28
|
+
#ifndef FALLTHROUGH_INTENDED
|
29
|
+
#if defined(__clang__)
|
30
|
+
#define FALLTHROUGH_INTENDED [[clang::fallthrough]]
|
31
|
+
#elif defined(__GNUC__) && __GNUC__ >= 7
|
32
|
+
#define FALLTHROUGH_INTENDED [[gnu::fallthrough]]
|
33
|
+
#else
|
34
|
+
#define FALLTHROUGH_INTENDED do {} while (0)
|
35
|
+
#endif
|
36
|
+
#endif
|
37
|
+
|
38
|
+
#ifndef NO_THREAD_SAFETY_ANALYSIS
|
39
|
+
#define NO_THREAD_SAFETY_ANALYSIS
|
40
|
+
#endif
|
41
|
+
|
42
|
+
#endif // UTIL_UTIL_H_
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: grpc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.31.0.
|
4
|
+
version: 1.31.0.pre2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- gRPC Authors
|
8
8
|
autorequire:
|
9
9
|
bindir: src/ruby/bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-07-
|
11
|
+
date: 2020-07-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-protobuf
|
@@ -1924,6 +1924,55 @@ files:
|
|
1924
1924
|
- third_party/cares/config_freebsd/ares_config.h
|
1925
1925
|
- third_party/cares/config_linux/ares_config.h
|
1926
1926
|
- third_party/cares/config_openbsd/ares_config.h
|
1927
|
+
- third_party/re2/re2/bitmap256.h
|
1928
|
+
- third_party/re2/re2/bitstate.cc
|
1929
|
+
- third_party/re2/re2/compile.cc
|
1930
|
+
- third_party/re2/re2/dfa.cc
|
1931
|
+
- third_party/re2/re2/filtered_re2.cc
|
1932
|
+
- third_party/re2/re2/filtered_re2.h
|
1933
|
+
- third_party/re2/re2/mimics_pcre.cc
|
1934
|
+
- third_party/re2/re2/nfa.cc
|
1935
|
+
- third_party/re2/re2/onepass.cc
|
1936
|
+
- third_party/re2/re2/parse.cc
|
1937
|
+
- third_party/re2/re2/perl_groups.cc
|
1938
|
+
- third_party/re2/re2/pod_array.h
|
1939
|
+
- third_party/re2/re2/prefilter.cc
|
1940
|
+
- third_party/re2/re2/prefilter.h
|
1941
|
+
- third_party/re2/re2/prefilter_tree.cc
|
1942
|
+
- third_party/re2/re2/prefilter_tree.h
|
1943
|
+
- third_party/re2/re2/prog.cc
|
1944
|
+
- third_party/re2/re2/prog.h
|
1945
|
+
- third_party/re2/re2/re2.cc
|
1946
|
+
- third_party/re2/re2/re2.h
|
1947
|
+
- third_party/re2/re2/regexp.cc
|
1948
|
+
- third_party/re2/re2/regexp.h
|
1949
|
+
- third_party/re2/re2/set.cc
|
1950
|
+
- third_party/re2/re2/set.h
|
1951
|
+
- third_party/re2/re2/simplify.cc
|
1952
|
+
- third_party/re2/re2/sparse_array.h
|
1953
|
+
- third_party/re2/re2/sparse_set.h
|
1954
|
+
- third_party/re2/re2/stringpiece.cc
|
1955
|
+
- third_party/re2/re2/stringpiece.h
|
1956
|
+
- third_party/re2/re2/tostring.cc
|
1957
|
+
- third_party/re2/re2/unicode_casefold.cc
|
1958
|
+
- third_party/re2/re2/unicode_casefold.h
|
1959
|
+
- third_party/re2/re2/unicode_groups.cc
|
1960
|
+
- third_party/re2/re2/unicode_groups.h
|
1961
|
+
- third_party/re2/re2/walker-inl.h
|
1962
|
+
- third_party/re2/util/benchmark.h
|
1963
|
+
- third_party/re2/util/flags.h
|
1964
|
+
- third_party/re2/util/logging.h
|
1965
|
+
- third_party/re2/util/malloc_counter.h
|
1966
|
+
- third_party/re2/util/mix.h
|
1967
|
+
- third_party/re2/util/mutex.h
|
1968
|
+
- third_party/re2/util/pcre.cc
|
1969
|
+
- third_party/re2/util/pcre.h
|
1970
|
+
- third_party/re2/util/rune.cc
|
1971
|
+
- third_party/re2/util/strutil.cc
|
1972
|
+
- third_party/re2/util/strutil.h
|
1973
|
+
- third_party/re2/util/test.h
|
1974
|
+
- third_party/re2/util/utf.h
|
1975
|
+
- third_party/re2/util/util.h
|
1927
1976
|
- third_party/upb/upb/decode.c
|
1928
1977
|
- third_party/upb/upb/decode.h
|
1929
1978
|
- third_party/upb/upb/encode.c
|
@@ -1990,43 +2039,43 @@ signing_key:
|
|
1990
2039
|
specification_version: 4
|
1991
2040
|
summary: GRPC system in Ruby
|
1992
2041
|
test_files:
|
1993
|
-
- src/ruby/spec/support/services.rb
|
1994
|
-
- src/ruby/spec/support/helpers.rb
|
1995
|
-
- src/ruby/spec/testdata/README
|
1996
|
-
- src/ruby/spec/testdata/server1.pem
|
1997
|
-
- src/ruby/spec/testdata/ca.pem
|
1998
|
-
- src/ruby/spec/testdata/client.pem
|
1999
|
-
- src/ruby/spec/testdata/client.key
|
2000
|
-
- src/ruby/spec/testdata/server1.key
|
2001
|
-
- src/ruby/spec/client_server_spec.rb
|
2002
|
-
- src/ruby/spec/call_credentials_spec.rb
|
2003
|
-
- src/ruby/spec/call_spec.rb
|
2004
|
-
- src/ruby/spec/debug_message_spec.rb
|
2005
|
-
- src/ruby/spec/channel_connection_spec.rb
|
2006
|
-
- src/ruby/spec/spec_helper.rb
|
2007
|
-
- src/ruby/spec/google_rpc_status_utils_spec.rb
|
2008
2042
|
- src/ruby/spec/server_spec.rb
|
2009
|
-
- src/ruby/spec/
|
2010
|
-
- src/ruby/spec/
|
2011
|
-
- src/ruby/spec/channel_spec.rb
|
2043
|
+
- src/ruby/spec/call_spec.rb
|
2044
|
+
- src/ruby/spec/compression_options_spec.rb
|
2012
2045
|
- src/ruby/spec/pb/duplicate/codegen_spec.rb
|
2046
|
+
- src/ruby/spec/pb/codegen/package_option_spec.rb
|
2013
2047
|
- src/ruby/spec/pb/codegen/grpc/testing/package_options_ruby_style.proto
|
2014
2048
|
- src/ruby/spec/pb/codegen/grpc/testing/package_options_import.proto
|
2015
2049
|
- src/ruby/spec/pb/codegen/grpc/testing/package_options_import2.proto
|
2016
2050
|
- src/ruby/spec/pb/codegen/grpc/testing/package_options.proto
|
2017
|
-
- src/ruby/spec/pb/codegen/package_option_spec.rb
|
2018
2051
|
- src/ruby/spec/pb/health/checker_spec.rb
|
2019
|
-
- src/ruby/spec/
|
2052
|
+
- src/ruby/spec/channel_spec.rb
|
2053
|
+
- src/ruby/spec/spec_helper.rb
|
2020
2054
|
- src/ruby/spec/errors_spec.rb
|
2021
|
-
- src/ruby/spec/
|
2022
|
-
- src/ruby/spec/
|
2023
|
-
- src/ruby/spec/
|
2024
|
-
- src/ruby/spec/
|
2025
|
-
- src/ruby/spec/generic/client_interceptors_spec.rb
|
2055
|
+
- src/ruby/spec/debug_message_spec.rb
|
2056
|
+
- src/ruby/spec/time_consts_spec.rb
|
2057
|
+
- src/ruby/spec/client_auth_spec.rb
|
2058
|
+
- src/ruby/spec/client_server_spec.rb
|
2026
2059
|
- src/ruby/spec/generic/rpc_server_spec.rb
|
2027
|
-
- src/ruby/spec/generic/
|
2060
|
+
- src/ruby/spec/generic/server_interceptors_spec.rb
|
2028
2061
|
- src/ruby/spec/generic/client_stub_spec.rb
|
2029
2062
|
- src/ruby/spec/generic/active_call_spec.rb
|
2030
|
-
- src/ruby/spec/generic/
|
2063
|
+
- src/ruby/spec/generic/interceptor_registry_spec.rb
|
2031
2064
|
- src/ruby/spec/generic/service_spec.rb
|
2065
|
+
- src/ruby/spec/generic/client_interceptors_spec.rb
|
2066
|
+
- src/ruby/spec/generic/rpc_server_pool_spec.rb
|
2067
|
+
- src/ruby/spec/generic/rpc_desc_spec.rb
|
2068
|
+
- src/ruby/spec/google_rpc_status_utils_spec.rb
|
2069
|
+
- src/ruby/spec/call_credentials_spec.rb
|
2032
2070
|
- src/ruby/spec/channel_credentials_spec.rb
|
2071
|
+
- src/ruby/spec/error_sanity_spec.rb
|
2072
|
+
- src/ruby/spec/channel_connection_spec.rb
|
2073
|
+
- src/ruby/spec/testdata/ca.pem
|
2074
|
+
- src/ruby/spec/testdata/client.pem
|
2075
|
+
- src/ruby/spec/testdata/server1.key
|
2076
|
+
- src/ruby/spec/testdata/README
|
2077
|
+
- src/ruby/spec/testdata/client.key
|
2078
|
+
- src/ruby/spec/testdata/server1.pem
|
2079
|
+
- src/ruby/spec/support/services.rb
|
2080
|
+
- src/ruby/spec/support/helpers.rb
|
2081
|
+
- src/ruby/spec/server_credentials_spec.rb
|