bindata 2.3.4 → 2.3.5
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of bindata might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/ChangeLog.rdoc +5 -0
- data/lib/bindata/delayed_io.rb +2 -0
- data/lib/bindata/int.rb +1 -1
- data/lib/bindata/version.rb +1 -1
- 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: fa6f6792c33e83b12b474d4e1b6a6b057fdd4425
|
4
|
+
data.tar.gz: 347099da9214708c8799fef5e2aa1d8d6dc6a0bf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d9da79f0e12fdf4854db54801f3233b79ab5c3f30850e9d64bdcb27bcb7d937527a7e700d16fdf7abd2ebf9cd1caf1a72ef37488d989e1ead8406ba540327981
|
7
|
+
data.tar.gz: a6f7fb484a15d030d277c723ba023f76308e4b87d36b73a28385de25705dc9776408323380eabbc087cd339b2738d2f0a5a3132ee0827c639c6cf150a7e9fe53
|
data/ChangeLog.rdoc
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
= BinData Changelog
|
2
2
|
|
3
|
+
== Version 2.3.5 (2017-01-19)
|
4
|
+
|
5
|
+
* Enforce Integer#nbits > 0. Reported by Keenan Tims.
|
6
|
+
* Fix auto_call_delayed_io crash. Reported by Michael Petter.
|
7
|
+
|
3
8
|
== Version 2.3.4 (2016-10-17)
|
4
9
|
|
5
10
|
* Memoize dynamic methods for primitives. Thanks to hiroeorz.
|
data/lib/bindata/delayed_io.rb
CHANGED
@@ -159,6 +159,8 @@ module BinData
|
|
159
159
|
def auto_call_delayed_io
|
160
160
|
include AutoCallDelayedIO
|
161
161
|
|
162
|
+
return if DelayedIO.method_defined? :initialize_instance_without_record_io
|
163
|
+
|
162
164
|
DelayedIO.send(:alias_method, :initialize_instance_without_record_io, :initialize_instance)
|
163
165
|
DelayedIO.send(:define_method, :initialize_instance) do
|
164
166
|
if @parent && !defined? @delayed_io_recorded
|
data/lib/bindata/int.rb
CHANGED
data/lib/bindata/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bindata
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.3.
|
4
|
+
version: 2.3.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dion Mendel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-01-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|