google-cloud-pubsub 0.30.0 → 0.30.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7b647f7265e16e47a38c39b2171f2f21823604e384830cd209b2e85b0284a5db
4
- data.tar.gz: 62cbd134e8699a48759114fe1437286230b485b7b8598c1ee32823cb66215b80
3
+ metadata.gz: 0a7b5e4f3c773caf36d339a3184ee4307d69722387f315cad6d14180d7240751
4
+ data.tar.gz: 726c1f954229054c11e5369bbf03b79eda0eddf2695c3073e9f942ea946654ae
5
5
  SHA512:
6
- metadata.gz: e39a2f11dbdace3f1088e3bbc0f4b883a939d0c9d7d0ff8e8978397bfe4fff20f5d162b736df7ed435f03396eb773c817970c55fdf5f414eb0bf4d698749b97f
7
- data.tar.gz: 488f6fc246f5cc7f7d108cb7096e94cae4ea8b7680fc7e9e6f062bad987a5705825eaa4456a113f37d5f60823adaefb1c5b3a74fb48e085135a3eb3a98d9ba40
6
+ metadata.gz: 7ecc9df27c7d8fc2a43047d233502a9d14229f2a523f8d65e9d73a81f54fa4b3aa843fd21d2b8d2c4d6bb15daa90e70a258298bbed123f852f799a6f0fd2b6ad
7
+ data.tar.gz: ed09233e63045916592c796e7b5ef182dbd06c9c4a76350736be955e13cb8cd28c22c9d4fb2c93303dd2c480341632dc4d395309b31f6c9ad23cee61aac93418
data/README.md CHANGED
@@ -54,6 +54,13 @@ subscriber.stop.wait!
54
54
 
55
55
  This library is supported on Ruby 2.0+.
56
56
 
57
+ However, Ruby 2.3 or later is strongly recommended, as earlier releases have
58
+ reached or are nearing end-of-life. After June 1, 2018, Google will provide
59
+ official support only for Ruby versions that are considered current and
60
+ supported by Ruby Core (that is, Ruby versions that are either in normal
61
+ maintenance or in security maintenance).
62
+ See https://www.ruby-lang.org/en/downloads/branches/ for further details.
63
+
57
64
  ## Versioning
58
65
 
59
66
  This library follows [Semantic Versioning](http://semver.org/).
@@ -30,9 +30,11 @@ module Google
30
30
  @queue.push obj
31
31
  end
32
32
 
33
- def dump_queue
33
+ def quit_and_dump_queue
34
34
  objs = []
35
35
  objs << @queue.pop until @queue.empty?
36
+ # Signal that the enumerator is ready to end
37
+ @queue.push @sentinel
36
38
  objs
37
39
  end
38
40
 
@@ -256,7 +256,7 @@ module Google
256
256
 
257
257
  # signal to the previous queue to shut down
258
258
  old_queue = []
259
- old_queue = @request_queue.dump_queue if @request_queue
259
+ old_queue = @request_queue.quit_and_dump_queue if @request_queue
260
260
 
261
261
  @request_queue = EnumeratorQueue.new self
262
262
  @request_queue.push initial_input_request
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module Pubsub
19
- VERSION = "0.30.0".freeze
19
+ VERSION = "0.30.1".freeze
20
20
  end
21
21
  end
22
22
  end
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: 0.30.0
4
+ version: 0.30.1
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: 2018-02-28 00:00:00.000000000 Z
12
+ date: 2018-03-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: google-cloud-core