google-cloud-pubsub 2.1.1 → 2.7.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -124,12 +124,12 @@ module Google
124
124
  # puts topic.name
125
125
  # end
126
126
  #
127
- def all request_limit: nil
127
+ def all request_limit: nil, &block
128
128
  request_limit = request_limit.to_i if request_limit
129
129
  return enum_for :all, request_limit: request_limit unless block_given?
130
130
  results = self
131
131
  loop do
132
- results.each { |r| yield r }
132
+ results.each(&block)
133
133
  if request_limit
134
134
  request_limit -= 1
135
135
  break if request_limit.negative?
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module PubSub
19
- VERSION = "2.1.1".freeze
19
+ VERSION = "2.7.0".freeze
20
20
  end
21
21
 
22
22
  Pubsub = PubSub unless const_defined? :Pubsub
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-pubsub
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.1
4
+ version: 2.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Moore
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-10-26 00:00:00.000000000 Z
12
+ date: 2021-06-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: concurrent-ruby
@@ -67,20 +67,34 @@ dependencies:
67
67
  - - "~>"
68
68
  - !ruby/object:Gem::Version
69
69
  version: '1.1'
70
+ - !ruby/object:Gem::Dependency
71
+ name: avro
72
+ requirement: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - "~>"
75
+ - !ruby/object:Gem::Version
76
+ version: '1.10'
77
+ type: :development
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - "~>"
82
+ - !ruby/object:Gem::Version
83
+ version: '1.10'
70
84
  - !ruby/object:Gem::Dependency
71
85
  name: google-style
72
86
  requirement: !ruby/object:Gem::Requirement
73
87
  requirements:
74
88
  - - "~>"
75
89
  - !ruby/object:Gem::Version
76
- version: 1.24.0
90
+ version: 1.25.1
77
91
  type: :development
78
92
  prerelease: false
79
93
  version_requirements: !ruby/object:Gem::Requirement
80
94
  requirements:
81
95
  - - "~>"
82
96
  - !ruby/object:Gem::Version
83
- version: 1.24.0
97
+ version: 1.25.1
84
98
  - !ruby/object:Gem::Dependency
85
99
  name: minitest
86
100
  requirement: !ruby/object:Gem::Requirement
@@ -219,12 +233,15 @@ files:
219
233
  - lib/google/cloud/pubsub/convert.rb
220
234
  - lib/google/cloud/pubsub/credentials.rb
221
235
  - lib/google/cloud/pubsub/errors.rb
236
+ - lib/google/cloud/pubsub/flow_controller.rb
222
237
  - lib/google/cloud/pubsub/message.rb
223
238
  - lib/google/cloud/pubsub/policy.rb
224
239
  - lib/google/cloud/pubsub/project.rb
225
240
  - lib/google/cloud/pubsub/publish_result.rb
226
241
  - lib/google/cloud/pubsub/received_message.rb
227
242
  - lib/google/cloud/pubsub/retry_policy.rb
243
+ - lib/google/cloud/pubsub/schema.rb
244
+ - lib/google/cloud/pubsub/schema/list.rb
228
245
  - lib/google/cloud/pubsub/service.rb
229
246
  - lib/google/cloud/pubsub/snapshot.rb
230
247
  - lib/google/cloud/pubsub/snapshot/list.rb
@@ -252,14 +269,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
252
269
  requirements:
253
270
  - - ">="
254
271
  - !ruby/object:Gem::Version
255
- version: '2.4'
272
+ version: '2.5'
256
273
  required_rubygems_version: !ruby/object:Gem::Requirement
257
274
  requirements:
258
275
  - - ">="
259
276
  - !ruby/object:Gem::Version
260
277
  version: '0'
261
278
  requirements: []
262
- rubygems_version: 3.1.4
279
+ rubygems_version: 3.2.17
263
280
  signing_key:
264
281
  specification_version: 4
265
282
  summary: API Client library for Google Cloud Pub/Sub