upfluence-thrift 1.0.11 → 1.0.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/thrift/protocol/json_protocol.rb +6 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c353ea4ae1a794c173cf39fcdd3186942dace6c1
|
4
|
+
data.tar.gz: 1fdb70681939b79e750691d6d630e71accfa19cc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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:
|
11
|
+
date: 2018-02-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|