bindata 2.0.0 → 2.1.0
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/.travis.yml +2 -0
- data/ChangeLog.rdoc +13 -0
- data/NEWS.rdoc +16 -0
- data/README.md +5 -0
- data/bindata.gemspec +1 -0
- data/examples/gzip.rb +1 -1
- data/lib/bindata.rb +1 -1
- data/lib/bindata/array.rb +23 -22
- data/lib/bindata/base.rb +75 -49
- data/lib/bindata/base_primitive.rb +3 -32
- data/lib/bindata/bits.rb +84 -15
- data/lib/bindata/buffer.rb +19 -18
- data/lib/bindata/choice.rb +51 -67
- data/lib/bindata/dsl.rb +268 -161
- data/lib/bindata/framework.rb +0 -11
- data/lib/bindata/int.rb +67 -42
- data/lib/bindata/io.rb +13 -4
- data/lib/bindata/lazy.rb +1 -1
- data/lib/bindata/primitive.rb +9 -8
- data/lib/bindata/record.rb +9 -60
- data/lib/bindata/sanitize.rb +35 -5
- data/lib/bindata/string.rb +33 -34
- data/lib/bindata/struct.rb +166 -109
- data/lib/bindata/version.rb +1 -1
- data/lib/bindata/{deprecated.rb → warnings.rb} +9 -3
- data/test/array_test.rb +3 -3
- data/test/base_primitive_test.rb +0 -34
- data/test/bits_test.rb +38 -34
- data/test/common.rb +4 -0
- data/test/io_test.rb +15 -0
- data/test/lazy_test.rb +11 -3
- data/test/record_test.rb +83 -6
- data/test/struct_test.rb +40 -9
- data/test/system_test.rb +1 -1
- data/test/{deprecated_test.rb → warnings_test.rb} +0 -0
- metadata +18 -4
data/test/system_test.rb
CHANGED
File without changes
|
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.
|
4
|
+
version: 2.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dion Mendel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-04-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -38,6 +38,20 @@ dependencies:
|
|
38
38
|
- - '>'
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: 5.0.0
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: coveralls
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
41
55
|
description: |
|
42
56
|
BinData is a declarative way to read and write binary file formats.
|
43
57
|
|
@@ -77,7 +91,6 @@ files:
|
|
77
91
|
- lib/bindata/buffer.rb
|
78
92
|
- lib/bindata/choice.rb
|
79
93
|
- lib/bindata/count_bytes_remaining.rb
|
80
|
-
- lib/bindata/deprecated.rb
|
81
94
|
- lib/bindata/dsl.rb
|
82
95
|
- lib/bindata/float.rb
|
83
96
|
- lib/bindata/framework.rb
|
@@ -99,6 +112,7 @@ files:
|
|
99
112
|
- lib/bindata/trace.rb
|
100
113
|
- lib/bindata/version.rb
|
101
114
|
- lib/bindata/virtual.rb
|
115
|
+
- lib/bindata/warnings.rb
|
102
116
|
- test/alignment_test.rb
|
103
117
|
- test/array_test.rb
|
104
118
|
- test/base_primitive_test.rb
|
@@ -108,7 +122,6 @@ files:
|
|
108
122
|
- test/choice_test.rb
|
109
123
|
- test/common.rb
|
110
124
|
- test/count_bytes_remaining_test.rb
|
111
|
-
- test/deprecated_test.rb
|
112
125
|
- test/float_test.rb
|
113
126
|
- test/int_test.rb
|
114
127
|
- test/io_test.rb
|
@@ -125,6 +138,7 @@ files:
|
|
125
138
|
- test/struct_test.rb
|
126
139
|
- test/system_test.rb
|
127
140
|
- test/virtual_test.rb
|
141
|
+
- test/warnings_test.rb
|
128
142
|
homepage: http://github.com/dmendel/bindata
|
129
143
|
licenses:
|
130
144
|
- Ruby
|