gcloud 0.7.0 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/CHANGELOG.md +7 -1
- data/lib/gcloud/pubsub/service.rb +1 -1
- data/lib/gcloud/pubsub/topic/batch.rb +1 -1
- data/lib/gcloud/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZTE2NDY2N2UwNWMxODdlMGQ4NTlmZmNjOWRkZWFmMmYyNjFjOWI3Nw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YmY2ZTlkMjY3NGE5OGNlY2IwZmY4Nzk0NDExNTRmMjI4YjNkMmFhZQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
M2M2NWJiNzIwMjk5YTU0NTQ2MDlmNTU0YjJjZGU3NDg1MDhiMDc5YTk4YTM3
|
10
|
+
OWU0ODZlM2YwYTJhMjdiZjhmYjMwZmJiZmMzOTkwZjBkMTA0ZTQ4MzRmNWQx
|
11
|
+
ZTE2NDk3ODY4ZmEzNGIwZjEyODEyYzJhYmE2ZDYwMjJhMzI4YmY=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
OTJlZTQ1MGNiNDQ5ZWZiOTQ0ODJkMjA5MDAzMDI5ZmU3ZjkwMmE1NDk3YWFk
|
14
|
+
YmQ5MTc0MWRlM2NkNjZmZjZlZTc0M2I1N2VkYzc3NmZjZjEyZjFhZDZiYWE3
|
15
|
+
NmNjMzVhNDllZmUxNjNiMWJmMzkxZjQ3MjM0YmZiNmI2ZmFmMmI=
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,12 @@
|
|
1
1
|
# Release History
|
2
2
|
|
3
|
+
### 0.7.1 / 2016-04-01
|
4
|
+
|
5
|
+
#### Changes
|
6
|
+
|
7
|
+
* Pub/Sub
|
8
|
+
* Fixed issue with unnecessary base-64 encoding of message data (ptinsley)
|
9
|
+
|
3
10
|
### 0.7.0 / 2016-03-31
|
4
11
|
|
5
12
|
#### Changes
|
@@ -11,7 +18,6 @@
|
|
11
18
|
* New Logging transport layer uses gRPC
|
12
19
|
* Future releases will migrate more services to gRPC
|
13
20
|
|
14
|
-
|
15
21
|
### 0.6.2 / 2016-03-02
|
16
22
|
|
17
23
|
#### Changes
|
@@ -117,7 +117,7 @@ module Gcloud
|
|
117
117
|
topic: topic_path(topic),
|
118
118
|
messages: messages.map do |data, attributes|
|
119
119
|
Google::Pubsub::V1::PubsubMessage.new(
|
120
|
-
data:
|
120
|
+
data: String(data).encode("ASCII-8BIT"),
|
121
121
|
attributes: attributes
|
122
122
|
)
|
123
123
|
end
|
@@ -48,7 +48,7 @@ module Gcloud
|
|
48
48
|
def to_gcloud_messages message_ids
|
49
49
|
msgs = @messages.zip(Array(message_ids)).map do |arr, id|
|
50
50
|
Message.from_grpc(Google::Pubsub::V1::PubsubMessage.new(
|
51
|
-
data:
|
51
|
+
data: String(arr[0]).encode("ASCII-8BIT"),
|
52
52
|
attributes: arr[1],
|
53
53
|
message_id: id))
|
54
54
|
end
|
data/lib/gcloud/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gcloud
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Silvano Luciani
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2016-
|
13
|
+
date: 2016-04-01 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: grpc
|