google-cloud-pubsub 0.34.0 → 0.34.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: 7e3e1d9e63979754089bd5108e56abee4648fa7cca2db8bd24c5b44b3608047c
4
- data.tar.gz: dac86cdbc741948a11d052baa51c470096a49ed3d8fa2900785b70fa74910beb
3
+ metadata.gz: f7e9076f21ca7cc0d91beb6d1a9c47af43dcb4016657ab58f174ee945a13d32e
4
+ data.tar.gz: eebba9543b5870f7bad014fe56bfa814d4682be7931236b23d202695caece7bb
5
5
  SHA512:
6
- metadata.gz: 0c9a754781fcb85633efcf1ef7fd4f6660f9faafb531e94f8bf9c0b82fcd385069d7ca8ba8cb845b5927b9c1c6d89205387fb877f1b28aa3e59da2eebd226824
7
- data.tar.gz: 3b349b5b3aa431a143ba3091f849f21bdde791184d687cf51debf1ba85b44b7e6074b9cac3f7203e27006136b53d438a92a79d8b8db71ec0bc3bbcf211f3144b
6
+ metadata.gz: 3695804541d32698fd556b9b954a50666ee5584c8b93eda85376801e51be0f286abd829963b78a0946a1effa52cb27b231f18736f10b7f5dcdbeeeb287326da1
7
+ data.tar.gz: c955d2a764101590c29c8ee821e2cc56a48eaa4fe322fd27c3a238fc9b8cc614f5f11a7ea3fded7b1c8e994c0f35d3597f728a4ea76729b4a0088cfea82475a7
@@ -1,5 +1,10 @@
1
1
  # Release History
2
2
 
3
+ ### 0.34.1 / 2019-02-13
4
+
5
+ * Fix bug (typo) in retrieving default on_error proc.
6
+ * Update network configuration.
7
+
3
8
  ### 0.34.0 / 2019-02-01
4
9
 
5
10
  * Switch to use Google::Cloud::PubSub namespace.
@@ -38,7 +43,7 @@
38
43
  This value was added in googleauth 0.7.0.
39
44
  * Loosen googleauth dependency
40
45
  Allow for new releases up to 0.10.
41
- The googleauth devs have committed to maintanining the current API
46
+ The googleauth devs have committed to maintaining the current API
42
47
  and will not make backwards compatible changes before 0.10.
43
48
  * Update low level API
44
49
  * Add expiration_policy field
@@ -282,7 +282,7 @@ module Google
282
282
  def default_error_callbacks
283
283
  # This is memoized to reduce calls to the configuration.
284
284
  @default_error_callbacks ||= begin
285
- error_callback = Google::Cloud::PubSub.configuration.on_error
285
+ error_callback = Google::Cloud::PubSub.configure.on_error
286
286
  error_callback ||= Google::Cloud.configure.on_error
287
287
  if error_callback
288
288
  [error_callback]
@@ -3,11 +3,15 @@
3
3
  "google.pubsub.v1.Publisher": {
4
4
  "retry_codes": {
5
5
  "idempotent": [
6
- "DEADLINE_EXCEEDED",
6
+ "ABORTED",
7
+ "UNAVAILABLE",
8
+ "UNKNOWN"
9
+ ],
10
+ "non_idempotent": [
7
11
  "UNAVAILABLE"
8
12
  ],
9
- "non_idempotent": [],
10
- "one_plus_delivery": [
13
+ "none": [],
14
+ "publish": [
11
15
  "ABORTED",
12
16
  "CANCELLED",
13
17
  "DEADLINE_EXCEEDED",
@@ -40,17 +44,17 @@
40
44
  "methods": {
41
45
  "CreateTopic": {
42
46
  "timeout_millis": 60000,
43
- "retry_codes_name": "idempotent",
47
+ "retry_codes_name": "non_idempotent",
44
48
  "retry_params_name": "default"
45
49
  },
46
50
  "UpdateTopic": {
47
51
  "timeout_millis": 60000,
48
- "retry_codes_name": "idempotent",
52
+ "retry_codes_name": "non_idempotent",
49
53
  "retry_params_name": "default"
50
54
  },
51
55
  "Publish": {
52
56
  "timeout_millis": 60000,
53
- "retry_codes_name": "one_plus_delivery",
57
+ "retry_codes_name": "publish",
54
58
  "retry_params_name": "messaging",
55
59
  "bundling": {
56
60
  "element_count_threshold": 10,
@@ -77,7 +81,7 @@
77
81
  },
78
82
  "DeleteTopic": {
79
83
  "timeout_millis": 60000,
80
- "retry_codes_name": "idempotent",
84
+ "retry_codes_name": "non_idempotent",
81
85
  "retry_params_name": "default"
82
86
  },
83
87
  "SetIamPolicy": {
@@ -3,16 +3,14 @@
3
3
  "google.pubsub.v1.Subscriber": {
4
4
  "retry_codes": {
5
5
  "idempotent": [
6
- "DEADLINE_EXCEEDED",
7
- "UNAVAILABLE"
6
+ "ABORTED",
7
+ "UNAVAILABLE",
8
+ "UNKNOWN"
8
9
  ],
9
- "pull": [
10
- "DEADLINE_EXCEEDED",
11
- "INTERNAL",
12
- "RESOURCE_EXHAUSTED",
10
+ "non_idempotent": [
13
11
  "UNAVAILABLE"
14
12
  ],
15
- "non_idempotent": []
13
+ "none": []
16
14
  },
17
15
  "retry_params": {
18
16
  "default": {
@@ -56,7 +54,7 @@
56
54
  },
57
55
  "UpdateSubscription": {
58
56
  "timeout_millis": 60000,
59
- "retry_codes_name": "idempotent",
57
+ "retry_codes_name": "non_idempotent",
60
58
  "retry_params_name": "default"
61
59
  },
62
60
  "ListSubscriptions": {
@@ -66,7 +64,7 @@
66
64
  },
67
65
  "DeleteSubscription": {
68
66
  "timeout_millis": 60000,
69
- "retry_codes_name": "idempotent",
67
+ "retry_codes_name": "non_idempotent",
70
68
  "retry_params_name": "default"
71
69
  },
72
70
  "ModifyAckDeadline": {
@@ -76,17 +74,17 @@
76
74
  },
77
75
  "Acknowledge": {
78
76
  "timeout_millis": 60000,
79
- "retry_codes_name": "idempotent",
77
+ "retry_codes_name": "non_idempotent",
80
78
  "retry_params_name": "messaging"
81
79
  },
82
80
  "Pull": {
83
81
  "timeout_millis": 60000,
84
- "retry_codes_name": "pull",
82
+ "retry_codes_name": "idempotent",
85
83
  "retry_params_name": "messaging"
86
84
  },
87
85
  "StreamingPull": {
88
86
  "timeout_millis": 900000,
89
- "retry_codes_name": "pull",
87
+ "retry_codes_name": "none",
90
88
  "retry_params_name": "streaming_messaging"
91
89
  },
92
90
  "ModifyPushConfig": {
@@ -101,22 +99,22 @@
101
99
  },
102
100
  "CreateSnapshot": {
103
101
  "timeout_millis": 60000,
104
- "retry_codes_name": "idempotent",
102
+ "retry_codes_name": "non_idempotent",
105
103
  "retry_params_name": "default"
106
104
  },
107
105
  "UpdateSnapshot": {
108
106
  "timeout_millis": 60000,
109
- "retry_codes_name": "idempotent",
107
+ "retry_codes_name": "non_idempotent",
110
108
  "retry_params_name": "default"
111
109
  },
112
110
  "DeleteSnapshot": {
113
111
  "timeout_millis": 60000,
114
- "retry_codes_name": "idempotent",
112
+ "retry_codes_name": "non_idempotent",
115
113
  "retry_params_name": "default"
116
114
  },
117
115
  "Seek": {
118
116
  "timeout_millis": 60000,
119
- "retry_codes_name": "non_idempotent",
117
+ "retry_codes_name": "idempotent",
120
118
  "retry_params_name": "default"
121
119
  },
122
120
  "SetIamPolicy": {
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module PubSub
19
- VERSION = "0.34.0".freeze
19
+ VERSION = "0.34.1".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: 0.34.0
4
+ version: 0.34.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: 2019-02-04 00:00:00.000000000 Z
12
+ date: 2019-02-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: google-cloud-core