RubyGems
npm
Organizations
Log in
Sign up
RubyGems
packed_struct
Versions diffs
0.2.0 → 0.2.1
packed_struct 0.2.0 → 0.2.1
Sign up to get
free
protection for your applications and to get access to all the features.
Files changed (4)
hide
show
data/lib/packed_struct/directive.rb
+1
-1
data/lib/packed_struct/package.rb
+0
-2
data/lib/packed_struct/version.rb
+1
-1
metadata
+1
-1
data/lib/packed_struct/directive.rb
CHANGED
Viewed
@@ -153,7 +153,7 @@ module PackedStruct
153
153
4
154
154
end
155
155
when :null
156
-
size
156
+
size
|| 1
157
157
when :string
158
158
size
159
159
else
data/lib/packed_struct/package.rb
CHANGED
Viewed
@@ -102,8 +102,6 @@ module PackedStruct
102
102
parts[directive.name] = value
103
103
end
104
104
105
-
p read
106
-
107
105
directives.each { |x| x.value = nil }
108
106
109
107
parts.delete(:null) {}
data/lib/packed_struct/version.rb
CHANGED
Viewed
@@ -1,5 +1,5 @@
1
1
module PackedStruct
2
2
3
3
# The current version of PackedStruct.
4
-
VERSION = "0.2.
0
".freeze
4
+
VERSION = "0.2.
1
".freeze
5
5
end
metadata
CHANGED
Viewed
@@ -1,7 +1,7 @@
1
1
--- !ruby/object:Gem::Specification
2
2
name: packed_struct
3
3
version: !ruby/object:Gem::Version
4
-
version: 0.2.
0
4
+
version: 0.2.
1
5
5
prerelease:
6
6
platform: ruby
7
7
authors: