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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NTQ3OWYzM2ZkNDc1ZTFlZGU1YzU2OWY1YTVhNDRjNDE2M2ZkZDQyZg==
4
+ ZTE2NDY2N2UwNWMxODdlMGQ4NTlmZmNjOWRkZWFmMmYyNjFjOWI3Nw==
5
5
  data.tar.gz: !binary |-
6
- MTg1YjE2ODY0ZjEwMjc1MGQ3NzBkOTc4MTZiNTU5ZDllN2U0MWM0Mw==
6
+ YmY2ZTlkMjY3NGE5OGNlY2IwZmY4Nzk0NDExNTRmMjI4YjNkMmFhZQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MDhkMTc0NmMxYjJiMTUwN2I2NjMwMTEyNTE4ODkxODViNDNiN2I1YWJhZWRk
10
- YzdlMWIxN2E5YzU1OWMzYmRmYjQ1MDNjNzhkN2Y2MTM2ODRkMGNmY2ZlYmE0
11
- NWRhY2JhZjM0YzQ2YmNkMzAwMDFiODI1N2JhNGNjYzBmZjQ2YTk=
9
+ M2M2NWJiNzIwMjk5YTU0NTQ2MDlmNTU0YjJjZGU3NDg1MDhiMDc5YTk4YTM3
10
+ OWU0ODZlM2YwYTJhMjdiZjhmYjMwZmJiZmMzOTkwZjBkMTA0ZTQ4MzRmNWQx
11
+ ZTE2NDk3ODY4ZmEzNGIwZjEyODEyYzJhYmE2ZDYwMjJhMzI4YmY=
12
12
  data.tar.gz: !binary |-
13
- MmJjMzRiMWRkN2E3ZTk3NzIwMTkyY2YwYjc3YTdlNTQzZWRkMGE3NjAwZTVm
14
- YmY4N2E5MmIxNmZmNGQ3YjM0ZTlhYTYyZmY5OGMyZGFjNDNhM2U3MDRkYmEx
15
- ZTE0MzlkYWQ2NTU1ZGM0N2VlODM1NTFhMDMwNGY3M2VjMjY0M2E=
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: [data].pack("m").encode("ASCII-8BIT"),
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: [arr[0]].pack("m").encode("ASCII-8BIT"),
51
+ data: String(arr[0]).encode("ASCII-8BIT"),
52
52
  attributes: arr[1],
53
53
  message_id: id))
54
54
  end
@@ -14,5 +14,5 @@
14
14
 
15
15
 
16
16
  module Gcloud
17
- VERSION = "0.7.0"
17
+ VERSION = "0.7.1"
18
18
  end
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.0
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-03-31 00:00:00.000000000 Z
13
+ date: 2016-04-01 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: grpc