ruby-protocol-buffers 1.4.0 → 1.4.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/protocol_buffers.rb +3 -1
- data/lib/protocol_buffers/version.rb +1 -1
- metadata +4 -4
data/lib/protocol_buffers.rb
CHANGED
@@ -4,7 +4,9 @@ module ProtocolBuffers
|
|
4
4
|
# for 1.9.2 compatibility
|
5
5
|
def self.bin_sio(*args)
|
6
6
|
sio = StringIO.new(*args)
|
7
|
-
sio.set_encoding('binary') if
|
7
|
+
sio.set_encoding('binary') if
|
8
|
+
sio.respond_to?(:set_encoding) and
|
9
|
+
sio.external_encoding != Encoding::ASCII_8BIT
|
8
10
|
sio
|
9
11
|
end
|
10
12
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-protocol-buffers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date: 2013-
|
15
|
+
date: 2013-07-19 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: autotest-standalone
|
@@ -210,7 +210,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
210
210
|
version: '0'
|
211
211
|
segments:
|
212
212
|
- 0
|
213
|
-
hash:
|
213
|
+
hash: -833684518850791827
|
214
214
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
215
215
|
none: false
|
216
216
|
requirements:
|
@@ -219,7 +219,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
219
219
|
version: '0'
|
220
220
|
segments:
|
221
221
|
- 0
|
222
|
-
hash:
|
222
|
+
hash: -833684518850791827
|
223
223
|
requirements: []
|
224
224
|
rubyforge_project:
|
225
225
|
rubygems_version: 1.8.23
|