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.

@@ -93,7 +93,7 @@ describe BinData::Record, "with choice field" do
93
93
 
94
94
  it "has correct offset" do
95
95
  obj = RecordWithNestedChoiceField.new
96
- obj.x.b.offset.must_equal 2
96
+ obj.x.b.abs_offset.must_equal 2
97
97
  end
98
98
  end
99
99
 
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.0.0
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-02-02 00:00:00.000000000 Z
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