ruby-protocol-buffers 1.4.0 → 1.4.1

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.
@@ -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 sio.respond_to?(:set_encoding)
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
@@ -1,3 +1,3 @@
1
1
  module ProtocolBuffers
2
- VERSION = "1.4.0"
2
+ VERSION = "1.4.1"
3
3
  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.0
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-06-18 00:00:00.000000000 Z
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: 2363751627391486036
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: 2363751627391486036
222
+ hash: -833684518850791827
223
223
  requirements: []
224
224
  rubyforge_project:
225
225
  rubygems_version: 1.8.23