upfluence-thrift 1.0.11 → 1.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 41dea1fac87e62e08f31f9fca894dde1a3b33247
4
- data.tar.gz: 03136b94c08b9a1eaeb03f51ee5f5b9797da7eac
3
+ metadata.gz: c353ea4ae1a794c173cf39fcdd3186942dace6c1
4
+ data.tar.gz: 1fdb70681939b79e750691d6d630e71accfa19cc
5
5
  SHA512:
6
- metadata.gz: 3a33f22c457a6c8606d33d6e3e27da1099cf3463502433132016219e8266576daaca0b21155e866871a5399c4269f2b84c201e31dfcf31a95519107386fc8ffb
7
- data.tar.gz: 82d36e40a917bfe445beac495dcb944ccded0cdb7ced3f414ce90993888e14deaff0c7d50693e41b338ce9e911a841e7ce81879a305e419952b72f179b2db3b8
6
+ metadata.gz: 56c22d1ac24805f545a7851aa93b3003cdcc70eb3f00e423ca8301a64d11fb2399eb895f47711ccb4df2eee581faeaff34dcf897c03dcea2e881d7c032e60aee
7
+ data.tar.gz: e6839dcb0d4a211b5d9e99ea718d1094201f68aeeb60f14cf8658a151b9c1e42477c62e9335403334ff6aebd8866c9b48889bd564d9eb5f82c4fabb7fe848c68
@@ -1,5 +1,5 @@
1
1
  # encoding: UTF-8
2
- #
2
+ #
3
3
  # Licensed to the Apache Software Foundation (ASF) under one
4
4
  # or more contributor license agreements. See the NOTICE file
5
5
  # distributed with this work for additional information
@@ -7,16 +7,16 @@
7
7
  # to you under the Apache License, Version 2.0 (the
8
8
  # "License"); you may not use this file except in compliance
9
9
  # with the License. You may obtain a copy of the License at
10
- #
10
+ #
11
11
  # http://www.apache.org/licenses/LICENSE-2.0
12
- #
12
+ #
13
13
  # Unless required by applicable law or agreed to in writing,
14
14
  # software distributed under the License is distributed on an
15
15
  # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16
16
  # KIND, either express or implied. See the License for the
17
17
  # specific language governing permissions and limitations
18
18
  # under the License.
19
- #
19
+ #
20
20
 
21
21
 
22
22
  module Thrift
@@ -469,7 +469,7 @@ module Thrift
469
469
  end
470
470
 
471
471
  def write_string(str)
472
- write_json_string(str)
472
+ write_json_string(Bytes.convert_to_utf8_byte_buffer(str))
473
473
  end
474
474
 
475
475
  def write_binary(str)
@@ -753,7 +753,7 @@ module Thrift
753
753
  end
754
754
 
755
755
  def read_string
756
- read_json_string
756
+ Bytes.convert_to_string(read_json_string)
757
757
  end
758
758
 
759
759
  def read_binary
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: upfluence-thrift
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.11
4
+ version: 1.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thrift Developers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-12-27 00:00:00.000000000 Z
11
+ date: 2018-02-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec