protip 0.35.2 → 0.35.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/protip/messages/active_support/time_with_zone_pb.rb +3 -5
- data/lib/protip/messages/array_pb.rb +2 -4
- data/lib/protip/messages/big_decimal_value_pb.rb +4 -6
- data/lib/protip/messages/currency_pb.rb +177 -179
- data/lib/protip/messages/errors_pb.rb +7 -9
- data/lib/protip/messages/money_pb.rb +3 -5
- data/lib/protip/messages/range_pb.rb +3 -5
- data/lib/protip/messages/repeated_wrappers_pb.rb +29 -31
- data/lib/protip/messages/test_pb.rb +7 -9
- data/lib/protip/messages/types_pb.rb +4 -6
- data/lib/protip/messages/wrappers_pb.rb +2 -4
- data/lib/protip/messages_pb.rb +0 -2
- data/lib/protip/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a8dc5147627d4163ebde05751c7bdfd92b1e788f9490830490346c1c83f95e7f
|
4
|
+
data.tar.gz: 7c837443f9502742f7204d6f7e58185c8f1c64f4480753562ba2364fa014d932
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 26ae868d09d7989bcacd3362323ea99b31e36dc4cacca293199b11e60be4104f7a4b8156d4f49724bd906c5ad541e665bef5026aa2ed0c1097aa5bd145a34540
|
7
|
+
data.tar.gz: 321ecd9a0fd8785475b55f27bf0a495b7056ff64bc7a8d3a2f9841c500ae424b344f13147ca43014cdaf2c5424fcb134b160a208ed1e95e13283f4633332718d
|
@@ -4,11 +4,9 @@
|
|
4
4
|
require 'google/protobuf'
|
5
5
|
|
6
6
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
optional :time_zone_name, :string, 2
|
11
|
-
end
|
7
|
+
add_message "protip.messages.ActiveSupport.TimeWithZone" do
|
8
|
+
optional :utc_timestamp, :int64, 1
|
9
|
+
optional :time_zone_name, :string, 2
|
12
10
|
end
|
13
11
|
end
|
14
12
|
|
@@ -4,10 +4,8 @@
|
|
4
4
|
require 'google/protobuf'
|
5
5
|
|
6
6
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
-
|
8
|
-
|
9
|
-
repeated :messages, :bytes, 1
|
10
|
-
end
|
7
|
+
add_message "protip.messages.Array" do
|
8
|
+
repeated :messages, :bytes, 1
|
11
9
|
end
|
12
10
|
end
|
13
11
|
|
@@ -4,12 +4,10 @@
|
|
4
4
|
require 'google/protobuf'
|
5
5
|
|
6
6
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
optional :precision, :uint32, 3
|
12
|
-
end
|
7
|
+
add_message "protip.messages.BigDecimalValue" do
|
8
|
+
optional :numerator, :int64, 1
|
9
|
+
optional :denominator, :uint64, 2
|
10
|
+
optional :precision, :uint32, 3
|
13
11
|
end
|
14
12
|
end
|
15
13
|
|
@@ -4,185 +4,183 @@
|
|
4
4
|
require 'google/protobuf'
|
5
5
|
|
6
6
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
value :ZWR, 172
|
185
|
-
end
|
7
|
+
add_message "protip.messages.Currency" do
|
8
|
+
optional :currency_code, :enum, 1, "protip.messages.Currency.CurrencyCode"
|
9
|
+
end
|
10
|
+
add_enum "protip.messages.Currency.CurrencyCode" do
|
11
|
+
value :AED, 0
|
12
|
+
value :AFN, 1
|
13
|
+
value :ALL, 2
|
14
|
+
value :AMD, 3
|
15
|
+
value :ANG, 4
|
16
|
+
value :AOA, 5
|
17
|
+
value :ARS, 6
|
18
|
+
value :AUD, 7
|
19
|
+
value :AWG, 8
|
20
|
+
value :AZN, 9
|
21
|
+
value :BAM, 10
|
22
|
+
value :BBD, 11
|
23
|
+
value :BDT, 12
|
24
|
+
value :BGN, 13
|
25
|
+
value :BHD, 14
|
26
|
+
value :BIF, 15
|
27
|
+
value :BMD, 16
|
28
|
+
value :BND, 17
|
29
|
+
value :BOB, 18
|
30
|
+
value :BRL, 19
|
31
|
+
value :BSD, 20
|
32
|
+
value :BTN, 21
|
33
|
+
value :BWP, 22
|
34
|
+
value :BYR, 23
|
35
|
+
value :BZD, 24
|
36
|
+
value :CAD, 25
|
37
|
+
value :CDF, 26
|
38
|
+
value :CHF, 27
|
39
|
+
value :CLF, 28
|
40
|
+
value :CLP, 29
|
41
|
+
value :CNY, 30
|
42
|
+
value :COP, 31
|
43
|
+
value :CRC, 32
|
44
|
+
value :CUC, 33
|
45
|
+
value :CUP, 34
|
46
|
+
value :CVE, 35
|
47
|
+
value :CZK, 36
|
48
|
+
value :DJF, 37
|
49
|
+
value :DKK, 38
|
50
|
+
value :DOP, 39
|
51
|
+
value :DZD, 40
|
52
|
+
value :EGP, 41
|
53
|
+
value :ERN, 42
|
54
|
+
value :ETB, 43
|
55
|
+
value :EUR, 44
|
56
|
+
value :FJD, 45
|
57
|
+
value :FKP, 46
|
58
|
+
value :GBP, 47
|
59
|
+
value :GEL, 48
|
60
|
+
value :GHS, 49
|
61
|
+
value :GIP, 50
|
62
|
+
value :GMD, 51
|
63
|
+
value :GNF, 52
|
64
|
+
value :GTQ, 53
|
65
|
+
value :GYD, 54
|
66
|
+
value :HKD, 55
|
67
|
+
value :HNL, 56
|
68
|
+
value :HRK, 57
|
69
|
+
value :HTG, 58
|
70
|
+
value :HUF, 59
|
71
|
+
value :IDR, 60
|
72
|
+
value :ILS, 61
|
73
|
+
value :INR, 62
|
74
|
+
value :IQD, 63
|
75
|
+
value :IRR, 64
|
76
|
+
value :ISK, 65
|
77
|
+
value :JMD, 66
|
78
|
+
value :JOD, 67
|
79
|
+
value :JPY, 68
|
80
|
+
value :KES, 69
|
81
|
+
value :KGS, 70
|
82
|
+
value :KHR, 71
|
83
|
+
value :KMF, 72
|
84
|
+
value :KPW, 73
|
85
|
+
value :KRW, 74
|
86
|
+
value :KWD, 75
|
87
|
+
value :KYD, 76
|
88
|
+
value :KZT, 77
|
89
|
+
value :LAK, 78
|
90
|
+
value :LBP, 79
|
91
|
+
value :LKR, 80
|
92
|
+
value :LRD, 81
|
93
|
+
value :LSL, 82
|
94
|
+
value :LTL, 83
|
95
|
+
value :LVL, 84
|
96
|
+
value :LYD, 85
|
97
|
+
value :MAD, 86
|
98
|
+
value :MDL, 87
|
99
|
+
value :MGA, 88
|
100
|
+
value :MKD, 89
|
101
|
+
value :MMK, 90
|
102
|
+
value :MNT, 91
|
103
|
+
value :MOP, 92
|
104
|
+
value :MRO, 93
|
105
|
+
value :MUR, 94
|
106
|
+
value :MVR, 95
|
107
|
+
value :MWK, 96
|
108
|
+
value :MXN, 97
|
109
|
+
value :MYR, 98
|
110
|
+
value :MZN, 99
|
111
|
+
value :NAD, 100
|
112
|
+
value :NGN, 101
|
113
|
+
value :NIO, 102
|
114
|
+
value :NOK, 103
|
115
|
+
value :NPR, 104
|
116
|
+
value :NZD, 105
|
117
|
+
value :OMR, 106
|
118
|
+
value :PAB, 107
|
119
|
+
value :PEN, 108
|
120
|
+
value :PGK, 109
|
121
|
+
value :PHP, 110
|
122
|
+
value :PKR, 111
|
123
|
+
value :PLN, 112
|
124
|
+
value :PYG, 113
|
125
|
+
value :QAR, 114
|
126
|
+
value :RON, 115
|
127
|
+
value :RSD, 116
|
128
|
+
value :RUB, 117
|
129
|
+
value :RWF, 118
|
130
|
+
value :SAR, 119
|
131
|
+
value :SBD, 120
|
132
|
+
value :SCR, 121
|
133
|
+
value :SDG, 122
|
134
|
+
value :SEK, 123
|
135
|
+
value :SGD, 124
|
136
|
+
value :SHP, 125
|
137
|
+
value :SKK, 126
|
138
|
+
value :SLL, 127
|
139
|
+
value :SOS, 128
|
140
|
+
value :SRD, 129
|
141
|
+
value :SSP, 130
|
142
|
+
value :STD, 131
|
143
|
+
value :SVC, 132
|
144
|
+
value :SYP, 133
|
145
|
+
value :SZL, 134
|
146
|
+
value :THB, 135
|
147
|
+
value :TJS, 136
|
148
|
+
value :TMT, 137
|
149
|
+
value :TND, 138
|
150
|
+
value :TOP, 139
|
151
|
+
value :TRY, 140
|
152
|
+
value :TTD, 141
|
153
|
+
value :TWD, 142
|
154
|
+
value :TZS, 143
|
155
|
+
value :UAH, 144
|
156
|
+
value :UGX, 145
|
157
|
+
value :USD, 146
|
158
|
+
value :UYU, 147
|
159
|
+
value :UZS, 148
|
160
|
+
value :VEF, 149
|
161
|
+
value :VND, 150
|
162
|
+
value :VUV, 151
|
163
|
+
value :WST, 152
|
164
|
+
value :XAF, 153
|
165
|
+
value :XAG, 154
|
166
|
+
value :XAU, 155
|
167
|
+
value :XCD, 156
|
168
|
+
value :XDR, 157
|
169
|
+
value :XOF, 158
|
170
|
+
value :XPF, 159
|
171
|
+
value :YER, 160
|
172
|
+
value :ZAR, 161
|
173
|
+
value :ZMK, 162
|
174
|
+
value :ZMW, 163
|
175
|
+
value :BTC, 164
|
176
|
+
value :JEP, 165
|
177
|
+
value :EEK, 166
|
178
|
+
value :MTL, 167
|
179
|
+
value :TMM, 168
|
180
|
+
value :ZWD, 169
|
181
|
+
value :ZWL, 170
|
182
|
+
value :ZWN, 171
|
183
|
+
value :ZWR, 172
|
186
184
|
end
|
187
185
|
end
|
188
186
|
|
@@ -4,15 +4,13 @@
|
|
4
4
|
require 'google/protobuf'
|
5
5
|
|
6
6
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
optional :message, :string, 2
|
15
|
-
end
|
7
|
+
add_message "protip.messages.Errors" do
|
8
|
+
repeated :messages, :string, 1
|
9
|
+
repeated :field_errors, :message, 2, "protip.messages.FieldError"
|
10
|
+
end
|
11
|
+
add_message "protip.messages.FieldError" do
|
12
|
+
optional :field, :string, 1
|
13
|
+
optional :message, :string, 2
|
16
14
|
end
|
17
15
|
end
|
18
16
|
|
@@ -5,11 +5,9 @@ require 'google/protobuf'
|
|
5
5
|
|
6
6
|
require 'protip/messages/currency_pb'
|
7
7
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
optional :currency, :message, 2, "protip.messages.Currency"
|
12
|
-
end
|
8
|
+
add_message "protip.messages.Money" do
|
9
|
+
optional :amount_cents, :int64, 1
|
10
|
+
optional :currency, :message, 2, "protip.messages.Currency"
|
13
11
|
end
|
14
12
|
end
|
15
13
|
|
@@ -4,11 +4,9 @@
|
|
4
4
|
require 'google/protobuf'
|
5
5
|
|
6
6
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
optional :end, :int64, 2
|
11
|
-
end
|
7
|
+
add_message "protip.messages.Range" do
|
8
|
+
optional :begin, :int64, 1
|
9
|
+
optional :end, :int64, 2
|
12
10
|
end
|
13
11
|
end
|
14
12
|
|
@@ -5,37 +5,35 @@ require 'google/protobuf'
|
|
5
5
|
|
6
6
|
require 'protip/extensions_pb'
|
7
7
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
repeated :values, :int32, 1
|
38
|
-
end
|
8
|
+
add_message "protip.messages.RepeatedDouble" do
|
9
|
+
repeated :values, :double, 1
|
10
|
+
end
|
11
|
+
add_message "protip.messages.RepeatedFloat" do
|
12
|
+
repeated :values, :float, 1
|
13
|
+
end
|
14
|
+
add_message "protip.messages.RepeatedInt64" do
|
15
|
+
repeated :values, :int64, 1
|
16
|
+
end
|
17
|
+
add_message "protip.messages.RepeatedUInt64" do
|
18
|
+
repeated :values, :uint64, 1
|
19
|
+
end
|
20
|
+
add_message "protip.messages.RepeatedInt32" do
|
21
|
+
repeated :values, :int32, 1
|
22
|
+
end
|
23
|
+
add_message "protip.messages.RepeatedUInt32" do
|
24
|
+
repeated :values, :uint32, 1
|
25
|
+
end
|
26
|
+
add_message "protip.messages.RepeatedBool" do
|
27
|
+
repeated :values, :bool, 1
|
28
|
+
end
|
29
|
+
add_message "protip.messages.RepeatedString" do
|
30
|
+
repeated :values, :string, 1
|
31
|
+
end
|
32
|
+
add_message "protip.messages.RepeatedBytes" do
|
33
|
+
repeated :values, :bytes, 1
|
34
|
+
end
|
35
|
+
add_message "protip.messages.RepeatedEnum" do
|
36
|
+
repeated :values, :int32, 1
|
39
37
|
end
|
40
38
|
end
|
41
39
|
|
@@ -6,15 +6,13 @@ require 'google/protobuf'
|
|
6
6
|
require 'protip/messages/repeated_wrappers_pb'
|
7
7
|
require 'protip/messages/wrappers_pb'
|
8
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
value :ONE, 1
|
17
|
-
end
|
9
|
+
add_message "protip.messages.EnumTest" do
|
10
|
+
optional :enum, :message, 1, "protip.messages.EnumValue"
|
11
|
+
optional :repeated_enums, :message, 2, "protip.messages.RepeatedEnum"
|
12
|
+
end
|
13
|
+
add_enum "protip.messages.EnumTest.Enum" do
|
14
|
+
value :ZERO, 0
|
15
|
+
value :ONE, 1
|
18
16
|
end
|
19
17
|
end
|
20
18
|
|
@@ -4,12 +4,10 @@
|
|
4
4
|
require 'google/protobuf'
|
5
5
|
|
6
6
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
optional :day, :uint32, 3
|
12
|
-
end
|
7
|
+
add_message "protip.messages.Date" do
|
8
|
+
optional :year, :int64, 1
|
9
|
+
optional :month, :uint32, 2
|
10
|
+
optional :day, :uint32, 3
|
13
11
|
end
|
14
12
|
end
|
15
13
|
|
@@ -5,10 +5,8 @@ require 'google/protobuf'
|
|
5
5
|
|
6
6
|
require 'protip/extensions_pb'
|
7
7
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
8
|
-
|
9
|
-
|
10
|
-
optional :value, :int32, 1
|
11
|
-
end
|
8
|
+
add_message "protip.messages.EnumValue" do
|
9
|
+
optional :value, :int32, 1
|
12
10
|
end
|
13
11
|
end
|
14
12
|
|
data/lib/protip/messages_pb.rb
CHANGED
@@ -14,7 +14,5 @@ require 'protip/messages/types_pb'
|
|
14
14
|
require 'protip/messages/wrappers_pb'
|
15
15
|
require 'protip/messages/active_support/time_with_zone_pb'
|
16
16
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
17
|
-
add_file("protip/messages.proto", :syntax => :proto3) do
|
18
|
-
end
|
19
17
|
end
|
20
18
|
|
data/lib/protip/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: protip
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.35.
|
4
|
+
version: 0.35.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- AngelList
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-06-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|
@@ -76,28 +76,28 @@ dependencies:
|
|
76
76
|
requirements:
|
77
77
|
- - '='
|
78
78
|
- !ruby/object:Gem::Version
|
79
|
-
version: 3.
|
79
|
+
version: 3.6.1
|
80
80
|
type: :runtime
|
81
81
|
prerelease: false
|
82
82
|
version_requirements: !ruby/object:Gem::Requirement
|
83
83
|
requirements:
|
84
84
|
- - '='
|
85
85
|
- !ruby/object:Gem::Version
|
86
|
-
version: 3.
|
86
|
+
version: 3.6.1
|
87
87
|
- !ruby/object:Gem::Dependency
|
88
88
|
name: grpc-tools
|
89
89
|
requirement: !ruby/object:Gem::Requirement
|
90
90
|
requirements:
|
91
91
|
- - '='
|
92
92
|
- !ruby/object:Gem::Version
|
93
|
-
version: 1.
|
93
|
+
version: 1.3.4
|
94
94
|
type: :development
|
95
95
|
prerelease: false
|
96
96
|
version_requirements: !ruby/object:Gem::Requirement
|
97
97
|
requirements:
|
98
98
|
- - '='
|
99
99
|
- !ruby/object:Gem::Version
|
100
|
-
version: 1.
|
100
|
+
version: 1.3.4
|
101
101
|
- !ruby/object:Gem::Dependency
|
102
102
|
name: minitest
|
103
103
|
requirement: !ruby/object:Gem::Requirement
|
@@ -292,7 +292,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
292
292
|
- !ruby/object:Gem::Version
|
293
293
|
version: '0'
|
294
294
|
requirements: []
|
295
|
-
rubygems_version: 3.
|
295
|
+
rubygems_version: 3.1.2
|
296
296
|
signing_key:
|
297
297
|
specification_version: 4
|
298
298
|
summary: Resources backed by protobuf messages
|